ADC 3 Switch User Manual


 
Cuda 12000 IP Access Switch CLI-based Administration Guide
Configuring Static Routes 279
Perform the following tasks to add a static route to the routing table:
Example
cli:192.168.208.3:root# interface 1/11/1
mode: interface:ethernet:csi(1/11/1)
cli:192.168.208.3:interface:ethernet:csi(1/11/1)# ip route 222.2.1.0
255.255.255.0 222.2.2.1
cli:192.168.208.3:interface:ethernet:csi(1/11/1)# show ip
row count: 8
Protocol Route Destination Net Mask Next Hop Metric C/S/I
Type
-------- ------ --------------- --------------- --------------- ------ ------
Local Local 155.144.1.0 255.255.255.0 155.144.1.1 0 1/8/1
Local Local 199.3.1.0 255.255.255.0 199.3.1.1 0 131/1/1
Net Mgmt Remote 199.3.2.0 255.255.255.0 199.3.1.3 1 131/1/1
Local Local 201.1.1.0 255.255.255.0 201.1.1.1 0 1/1/1
Local Local 201.1.2.0 255.255.255.0 201.1.2.1 0 1/1/1
Net Mgmt Remote 222.2.1.0 255.255.255.0 222.2.2.1 1 1/11/1
Local Local 222.2.2.0 255.255.255.0 222.2.2.2 0 1/11/1
Net Mgmt Remote 222.2.3.0 255.255.255.0 222.2.2.1 1 1/11/1
Task Command
1. Enter configuration mode for the
interface on which you want to
add the route.
interface {<c/s/i> | loopback}
2. Add the static route. ip route <dest-network> <mask>
<gateway-ip-address> [<metric>]