Example: Configuring the SRC Software to Support PTSP on the MX Series Router
The following example illustrates how to configure two SAEs running on hosts src1 and src2 to manage packet-triggered subscriber sessions on all routing instances of an MX Series router:
shared {
network {
device mx-name {
origin-host mx-origin-host;
device-type junos-ptsp;
peers mx-name-peer;
virtual-router * {
sae-connection [src1 src2];
}
}
}
diameter {
peer mx-name-peer {
address 10.0.0.1;
port 3868;
protocol tcp;
}
}
}
policies group MXPolicy list ptsp {
role junos-ptsp;
applicability both;
policer MXpolicer {
bandwidth 100000;
max-burst-size 10000;
}
rule ptsp-r1 {
type service-rule;
precedence 100;
accounting;
traffic-condition 1 {
destination-network {
group-network network-specifier 1.2.3.0/24;
}
match-direction both;
}
traffic-condition 2 {
destination-network {
group-network network-specifier 2.3.4.0/23;
}
match-direction input;
}
forwarding-instance 1 forwarding-unit 2;
}
rule ptsp-r2 {
type service-rule;
precedence 100;
traffic-condition 1 {
destination-network {
group-network network-specifier 3.4.5.0/24;
}
match-direction both;
}
filter;
}
}
shared {
sae {
group <name-of-config-group> {
configuration {
driver {
junos-ptsp {
cached-driver-expiration 600;
keep-alive-timeout 60;
registry-retry-interval 30;
reply-timeout 20;
sae-community-manager PTSPCommunityManager;
sequential-message-timeout 20;
session-store {
communications-timeout 60000;
disk-load-buffer-size 1000000;
idle-timeout 3600000;
load-timeout 420000;
maximum-backlog-ratio 1.5;
maximum-file-size 25000000;
maximum-queue-age 100;
maximum-queue-size 51050;
maximum-queued-operations 50;
maximum-session-size 10000;
minimum-backlog 5000000;
minimum-disk-space-usage 25;
network-buffer-size 51050;
retry-interval 300000;
rotation-batch-size 50;
}
thread-idle-timeout 60;
thread-pool-size 200;
}
}
}
}
}
The active SAE registers events from the MX Series router based on the configured origin host (mx-origin-host in the example). If the origin host is not configured, the SAE uses the device name (mx-name) instead.