cisco router add / delete route

From thelinuxwiki
Revision as of 18:43, 12 June 2013 by Nighthawk (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

view routes

cisco>show ip route

adding a static route

cisco>enable
cisco#config terminal
ciscodsl(config)#ip route 10.9.1.0 255.255.255.0 192.168.174.5
ciscodsl(config)#exit
ciscodsl#write mem
Building configuration...
[OK]

delete / remove a route

same procedure but use "no ip route" command

cisco#no ip route 10.115.24.0 255.255.255.0 10.115.9.2