adding a static route

rasczak

Lifer
Jan 29, 2005
10,437
22
81
I'm working on a cisco router (2800 series)

I've been pulling my hair trying to add a static route to this appliance.

I've tried:

ciscorouter(config)# ip route 192.168.241.0 255.255.255.0 10.10.10.1

and

ciscorouter(config)# ip route 192.168.241.0 255.255.255.0 Serial0/1/0

after I enter the command, I exit, and do a show config, but the static route is not there. Am I missing a step?

Thanks!
 

drebo

Diamond Member
Feb 24, 2006
7,034
1
81
The "show config" command shows the startup configuration, not the currently running configuration. Try "show run" instead (short for "show running-config".

Also, you can view your current routing table using the command "show ip route".
 

spidey07

No Lifer
Aug 4, 2000
65,469
5
76
Also remember the route won't be in the table if the interface to it's next hop is down.
 

rasczak

Lifer
Jan 29, 2005
10,437
22
81
I was able to add it. I had forgotten about the "write" command. :eek: lol

thanks for you help guys.
 

RadiclDreamer

Diamond Member
Aug 8, 2004
8,622
40
91
I was able to add it. I had forgotten about the "write" command. :eek: lol

thanks for you help guys.

Dont get used to the wr/write command, cisco is removing it from what i hear. They already have on the nexus line. Have to do the whole "copy run start" now.