[an error occurred while processing this directive][an error occurred while processing this directive]

Examples: Configuring Real-Time Performance Monitoring

Configure an RPM instance identified by the probe name probe1 and the test name test1:

[edit services rpm]probe probe1{test test1 {dscp-code-points 001111;probe-interval 1;probe-type icmp-ping;target address 172.17.20.182;test-interval 20;thresholds rtt 10;traps rtt-exceeded;}}probe-server {tcp {destination-interface lt-0/0/0.0port 50000;}udp {destination-interface lt-0/0/0.0port 50001;}}probe-limit 200;

Configure packet classification, using lt- interfaces to send the probe packets to a logical tunnel input interface. By sending the packet to the logical tunnel interface, you can configure regular and MF classifiers, firewall filters, and header rewriting for the probe packets. To use the existing tunnel framework, the dlci and encapsulation statements must be configured.

[edit services rpm]probe p1 {test t1 {probe-type icmp-ping;target address 10.8.4.1;probe-count 10;probe-interval 10;test-interval 10;source-address 10.8.4.2;dscp-code-points ef;data-size 100;destination-interface lt-0/0/0.0;}}[edit interfaces]lt-0/0/0 {unit 0 {encapsulation frame-relay;dlci 10;peer-unit 1;family inet;}unit 1 {encapsulation frame-relay;dlci 10;peer-unit 0;family inet;}}[edit class-of-service]interfaces {lt-0/0/0 {unit 1 {classifiers {dscp default;}}}}

Configure an input filter on the interface on which the RPM probes are received. This filter enables prioritization of the received RPM packets, separating them from the regular data packets received on the same interface.

[edit firewall]filter recos {term recos {from {source-address {10.8.4.1/32;}destination-address {10.8.4.2/32;}}then {loss-priority high;forwarding-class network-control;}}}[edit interfaces]fe-5/0/0 {unit 0 {family inet {filter {input recos;}address 10.8.4.2/24;}}}

Configure the minimum statements necessary to enable TWAMP:

[edit services]rpm {twamp {server {authentication-mode none;port 10000; # Twamp server's listening portclient-list LIST-1 { # LIST-1 is the name of the client-list. Multiple lists can be configured.address {20.0.0.2/30; # IP address of the control client.}}}}[edit interfaces sp-5/0/0]unit 0 {family inet;}unit 10 {rpm {twamp-server; # You must configure a separate logical interface on the service PIC interface for the TWAMP server.}family inet {address 50.50.50.50/32; # This address must be a host address with a 32-bit mask.}}[edit chassis]fpc 5 {pic 0 {adaptive-services {service-package layer-2;      # Configure the service PIC to run in Layer 2 mode.}}}

Configure additional TWAMP settings:

[edit services]rpm {twamp {server {inactivity-timeout 20;maximum-sessions 5;maximum-sessions-per-connection 2;maximum-connections 3;maximum-connections-per-client 1;port 10000;client-list LIST-1 {address {20.0.0.2/30;}}}}}

Published: 2010-04-28

[an error occurred while processing this directive]