The route-map manager supports the assigning of an ICMP probe to monitor a next hop IP address. Tracked object manager uses the route-map facility to monitor the IP address, but you do not assign the ICMP probe 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.
A route-map probe entry is configurable for each configured next hop address. Currently a combination of up to 128 standard or default next hop addresses are configurable on a system. If the same next hop is referenced in multiple route-maps, only a single route-map probe instance is created.
See Tracked Object Manager Configuration for tracked object manager details.
Use the route-map probe command in router configuration mode to assign an ICMP probe to monitor the specified next hop IP address. A predefined policy based routing ICMP probe named $pbr_default can be used, or you can create a probe, using the probe command. Predefined ICMP probes can not be specified by name. Use the default keyword when configuring the default route-map probe.
This S- and K-Series 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 show display is an S-Series output; SLB and TWCB are not supported on the K-Series. 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)->
This example shows how to create the ICMP probe ICMP-PBR and assign it to a route-map probe to monitor next hop IP address 101.10.1.252. The fail detection count is set to 5 attempts, and the fail detection interval is set to 5 seconds. The assigned session is 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)->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 Displayed 1 sessions ... System(su-config)->