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

Static Route question

ahamm0331
Level 1
Level 1

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.

1 Accepted Solution

Accepted Solutions

Mark Malone
VIP Alumni
VIP Alumni

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

View solution in original post

1 Reply 1

Mark Malone
VIP Alumni
VIP Alumni

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

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card