Specifications
9-20
Cisco MGX 8260 Command Line Interface Guide
Release 1.2, Part Number 78-10987-01 Rev. B0, January, 2002
Chapter 9 Command Reference
addiproute
addiproute
Add an IP route.
addiproute IPRouteDestination nexthop IPRouteMask
Syntax Description
Defaults No default behavior or values.
Command Modes Security level 3
Command History
Usage Guidelines Use this command to add a static route to a remote destination. For systems that do not support arbitrary
subnet masks, the system constructs the value mask by determining the network class:
Examples The following example adds a static route to 172.16.1.1 through 10.1.1.1:
addiproute 172.16.1.1 10.1.1.1 255.0.255.0.
Related Commands
IPRouteDestination The destination IP address of this route. An entry of 0.0.0.0 is considered a
default route.
nexthop The IP address of the next hop of this route. If a route is bound to an
interface (through a broadcast media), the value of this field is the agent's
IP address on the interface.
mask The mask to be logically ANDed with the destination address before being
compared to the value in the IPRouteDest field.
Release Modification
1.2 This command was first introduced.
mask network
255.0.0.0 class-A
255.255.0.0 class-B
255.255.255.0 class-C
Command Description
deliproute Delete an IP route
lsiproute List an IP route
lsiproutes List IP routes