Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

static route command

Status
Not open for further replies.

MAJBlaine

IS-IT--Management
May 20, 2002
34
US
This makes little sense to me, but when I want to add a static route like this:
ip# static-route 192.168.0.0/24/200.44.32.4
I get the response:
static-route/192.168.0.0/255.255.0.0/200.44.32.4#

when I do a sh ip route command, the route I just added is not there. Is this some sort of pre-save command function?

Suggestions?

Blaine
 
How to describe this?

This creates a new level in ip box with the following options:
on ip
state enabled
address 192.168.0.0
mask 255.255.0.0
next-hop-address 200.44.32.4
next-hop-mask 255.255.255.252
cost 1
preference 16
From this prompt you can:
Type info and see what options are configured.
Type back to go to the previous level.
show config -> will show what is configured.
save config newfilename -> will save configuration.
show ip static -> will show static routes only.

I configure static routes from SiteManager.
 
OK, I just got off the phone from Nortel.
This is a glitch with the code, but only in respect to the output.
Once I got out of BCC, I was confused by the fact that there is a difference in output between:
"sho ip routes" and "sho ip static"

Since I was adding a static route, sho ip routes was not showing my change.

- Blaine
 
Try and use the command
"ip show routes" instead of "show ip routes"

:)

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top