Tracking a Static Route against a Watcher Profile
The following task creates an IPPM profile called "p1". It also configures a watcher profile called "w1" and configures the watcher to watch the IPPM profile "p1". It selects static routes to track against a watcher profile so that the device modifies the static route mapped to the watcher profile based on the reachability of the profile "p1".
- Enter global configuration mode.
- Configure an IPPM test profile. This example creates an IPPM test profile named "p1" and places the device in IPPM profile configuration mode.
- Configure the target host for
the IPPM profile.This example configures the target host for the IPPM profile as IP address 10.8.8.8.
- (Optional) Configure the minimum
and maximum time to live (TTL) values. This example configures a TTL range of 30 to 40 milliseconds for the IPPM profile.
- (Optional) Configure the maximum
allowable jitter for the IPPM profile and configure the probe count.This example configures the maximum allowable jitter for the IPPM profile to 12 milliseconds. A probe count 5 is configured.
- (Optional) Configure the minimum
and maximum RTT.This example configures an RTT range of 20 to 30 milliseconds.
- Start an IPPM test, specifying
the start time, the test duration, and the interval period between tests. This example starts an IPPM test immediately for the IPPM profile with a test duration of 3000 seconds and a test interval of 60 seconds.
- Return to global configuration mode.
- Configure a watcher. his example creates a watcher called "w1" and places the device in watcher configuration mode.
- Specify the IPPM profile to monitor, and the frequency at which the watcher
checks for the IPPM test validation results.This example specifies that the IPPM profile called "p1" is monitored, and that the watcher checks for the IPPM test validation results every 60 seconds.
- Configure an action for a watcher configuration upon successful validation. This command enables logging syslog messages upon successful IPPM validation tests.
- Configure an action for a watch
configuration upon failed validation. This command enables logging syslog messages upon failed IPPM validation tests.
- Return to global configuration mode.
- Select a static route to track against a watcher profile.This command configures a static route (10.5.5.0/24) with a next-hop address of 10.4.4.2. It associates this static route with the watcher profile "w1".
The following example creates an IPPM profile called "p1". It also configures a watcher profile called "w1" and configures the watcher to watch the IPPM profile "p1". It selects static routes to track against a watcher profile so that the device modifies the static route mapped to the watcher profile based on the reachability of the profile "p1".
device# configure terminal device(config)# ippm profile p1 type icmp-echo device(config-icmp-echo-p1)# inspect 10.8.8.8 device(config-icmp-echo-p1)# ttl_threshold range 30 to 40 device(config-icmp-echo-p1)# jitter threshold 12 probe-count 5 evice(config-icmp-echo-p1)# rtt range 20 to 30 device(config-icmp-echo-p1)# schedule start now duration 3000 frequency 60 device(config-icmp-echo-p1)# exit device(config)# watcher name w1 device(config-watcher-w1)# watch ippm p1 frequency 60 device(config-watcher-w1)# action success logging enable device(config-watcher-w1)# action failure logging enable device(config-watcher-w1)# exit device(config)# ip route 10.5.5.0/24 10.4.4.2 watcher w1