Route Description in Static Routes

Rashmi Bhardwaj | Blog,Routing & Switching
Advertisements

Starting Cisco IOS release 12.2 onwards, Cisco has devised very good mechanism for including description with static routes. The “name” keyword in static routes helps in making troubleshooting and day to day operations easier.

Example below will illustrate how to use “name” along with static Route in Cisco IOS –

R1(config)# ip route 10.10.10.0 255.255.255.0 192.168.1.2 ?<1-255>
Distance metric for this route
name                  Specify name of the next hop
permanent        permanent route
tag                       Set tag for this route
track                   Install route depending on tracked item

Advertisements

R1(config)#ip route 10.10.10.0 255.255.255.0 192.168.1.2 name To-TnD-Department

As shown in the above description (name), the static route points towards TnD Department which is be behind next hop of 192.168.1.2.

Hope this short article helps the viewers.

ABOUT THE AUTHOR


Leave a Comment

Your email address will not be published. Required fields are marked *

Shopping Cart