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 Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Change route-map 1

Status
Not open for further replies.
Jan 29, 2004
146
US
I know next to nothing about routers and the commands used to make configuration changes.

Having said that, there is a Cisco 2600 router on one end of my frame relay that I need to change a route-map on. I thought I knew what to type to change it, but nothing happened. Can anyone please advise?

The relevant section of the config is below:

access-list 100 permit ip 10.0.1.0 0.0.0.255 any
access-list 101 permit ip any host 209.131.213.101
access-list 101 permit ip host 209.131.213.101 any
access-list 102 permit ip host 10.0.0.2 any
access-list 102 permit ip any host 10.0.0.2
route-map 2Internet permit 10
match ip address 100
set ip next-hop 10.0.0.2

I need the next-hop to be 10.0.0.3.

Thanks!

Christine
 
You will need to remove the "set ip next-hop 10.0.0.2" first then add the "set ip next-hop 10.0.0.3"

to make the change type the following:

config t
route-map 2Internet permit 10
no set ip next hop 10.0.0.2
set ip next hop 10.0.0.3


exit and save the config.
 
Well, I am better than I thought because I tried that. [lol]

However, when I do a show config again, it still shows the old route.

CTRL + Z to save and exit, right? [reading]

Christine
 
CTRL+Z only saves your changes to the "running-config", not to the "startup-config".
Use the command "copy run start" to save your work, then you can do a "show start" to see if the change has been saved.
"show start" shows the config applied when the router is started, and
"show run" shows the config currently in use.
Any changes you do to the router will only be saved to the "running-config" when you do a CTRL+Z, the "startup-config" will not be updatet. To update the "startup-config" use the "copy run start" command. :)

 
Yeah! [2thumbsup]

You rock!

Worked perfectly
Wish I could give you 2 stars
Thanks a million!


Christine
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top