cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
387
Views
0
Helpful
1
Replies

tracking object

Hi all

I use the tracking object feature with my ip route definition.

ex.: track 1 ip route 192.168.0.0 255.255.255.0 reachability

and: ip route 0.0.0.0 0.0.0.0 Ethernet 1 track 1

But before I use the tracking object I had the following default route

:ip route 0.0.0.0 0.0.0.0 Ethernet 1 DHCP

The problem is that I can't put both keyword. Only "Ethernet 1 DHCP" OR "Ethernet 1 track 1" but I need them both.

Is someone know why ?

Thank you very much

1 Reply 1

jackyoung
Level 6
Level 6

Can you try to enter two commands w/ different keyword at the router ? I did not test it but it may work.

e.g.

ip route 0.0.0.0 0.0.0.0 Ethernet 1 DHCP

ip route 0.0.0.0 0.0.0.0 Ethernet 1 track 1

Check below link for more object tracking sampels.

http://www.cisco.com/en/US/products/sw/iosswrel/ps5413/products_feature_guide09186a00801d862d.html

Hope this helps.

Review Cisco Networking products for a $25 gift card