Configuring a Probe for Policy Based Routing

The route-map manager supports the assigning of an ICMP probe to monitor a next hop IP address. The route-map facility uses the Tracked Object Manager to monitor the IP address, but the ICMP probe is not assigned to a specific route-map. If a next hop IP address is declared down, it is removed from the next hop selection process for all route-maps specifying this address as a next hop, until it is declared up again. The assigned ICMP probe will ping port 0 of the specified IPv4 or IPv6 address.

Use the route-map probe command in router configuration mode to assign an ICMP probe to monitor the specified next hop IP address. Create a probe, using the probe command. A default ICMP probe can not be specified by name. Use the default keyword to assign the default policy based routing ICMP probe.

This example shows how to create the ICMP probe ICMP-PBR and assign it to a route-map probe to monitor next hop IP addresses 101.10.1.252 and 2000::1301:0:21f:45ff:fe4d:8722. The fail detection count is set to 5 attempts, and the fail detection interval is set to 5 seconds. The two assigned sessions are displayed:

System(su-config)->probe ICMP-PBR icmp
System(su-config-probe)->faildetect count 5 interval 5
System(su-config-probe)->inservice
System(su-config-probe)->exit
System(su-config)->route-map probe 101.10.1.252 probe-name ICMP-PBR
System(su-config)->route-map probe 2000::1301:0:21f:45ff:fe4d:8722 probe-name ICMP-PBR
System(su-config)->show probe sessions
Client Codes: P-policy based routing, S-SLB, V-VRRP, W-TWCB
              T-tracked object probe
...
Probe: ICMP-PBR, icmp
IP Address                        Port  Status    StChngs Last Change   Clients
--------------------------------- ----- --------- ------- ------------- -------
101.10.1.252                      0     Up        1            0h0m30s  P
2000::1301:0:21f:45ff:fe4d:8722   0     Up        1            0h0m40s  P
Displayed 2 sessions
...
System(su-config)->