June 30, 2006 | Chapter 7: Second Level Commands |
Parameter | Description | Values |
<loopback interface> | Loopback interface number | 1 - 200 |
<tunnel interface ip> | Tunnel interface identifier | 1 - 500 |
Example(s)
Add an IP route:
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
. . .
Modify an Existing IP route:
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
...
Route network 192.168.4.0 to Ethernet interface 2:
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
...
Route network 192.168.4.0 to ATM interface 2\1\3:
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
...
|