10-04-2016 07:41 AM - edited 03-08-2019 07:40 AM
I am adding some static routes to our core switch. what I would like to know is if there is a way to label the routes when I put them in.
I am newer to Cisco so I am still learning. Here is an example of what we are doing.
typing conf t
#ip route x.x.x.x 255.255.255.0 x.x.x.x (a label or name here would be nice)
This would be nice so when I run show ip route static I can see what these are for.
Thanks for the help in advance.
Solved! Go to Solution.
10-04-2016 08:00 AM
Hi
you can add a name to the static at the end
ip route 1.1.1.1 255.255.255.255 ten 1/1/1 name Marks static
but you wont see it with show ip route but if you run show run | i ip route
You will be able to see them in running config
10-04-2016 08:00 AM
Hi
you can add a name to the static at the end
ip route 1.1.1.1 255.255.255.255 ten 1/1/1 name Marks static
but you wont see it with show ip route but if you run show run | i ip route
You will be able to see them in running config
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide