June 30, 2006 Chapter 7: Second Level Commands
SG1-UM-8500-03 7-53
Example(s)
Add an IP route:
Modify an Existing IP route:
Route network 192.168.4.0 to Ethernet interface 2:
Route network 192.168.4.0 to ATM interface 2\1\3:
<loopback interface> Loopback interface number 1 - 200
<tunnel interface ip> Tunnel interface identifier 1 - 500
Host(config)#ip route 192.168.3.0 255.255.255.0 194.90.1.12 <cr>
Host(config)# end
Host> write terminal
. . .
ip route 192.168.3.0 255.255.255.0 194.90.1.12
. . .
Host(config)# ip route 192.168.3.0 255.255.255.0 194.90.1.22 <cr>
Host(config)# end
Host> write terminal
...
ip route 192.168.3.0 255.255.255.0 194.90.1.22 Ethernet 0\1
...
Host(config)# ip route 192.168.4.0 255.255.255.0 194.90.1.22 ethernet 2 <cr>
Host(config)# end
Host> write terminal
...
ip route 192.168.4.0 255.255.255.0 194.90.1.22 ethernet 0\2
...
Host(config)# ip route 192.168.4.0 255.255.255.0 194.90.1.22 ATM 2\1\3 <cr>
Host(config)# end
Host> write terminal
...
ip route 192.168.4.0 255.255.255.0 194.90.1.22 ATM 2\1\3
...
Parameter Description Values