Syntax
ip route <destprefix> <ipaddressmask> <gatewayip|interface>
<distvalue>
Table 178: Variable definitions
<address>
<mask>
<gatewayip>
<interface>
<distvalue>
Example
AG/configure# ip route 10.1.200.0 255.255.0.0 10.2.71.5 2
show ip interfaces
Use this command to display interface information
Syntax
show ip interfaces [interface <ifname>]
Table 179: Variable definitions
[interface <ifname>]
Example
AG# show ip interfaces interface ethernet0/3
show ip prefix-list
Use this command to display a prefix list.
Command Line Reference
Variable
Variable
Value
The IP destination prefix for the route to be
added.
The IP destination prefix mask for the route
to be added.
The IP gateway address of the route to be
added.
The name of the interface.
The distance value for the route, in the range
1 to 255.
Value
The interface name for which you want to
display information.
show ip interfaces
August 2013
187