Reference Guide

Table Of Contents
Dell PowerConnect ArubaOS 6.0 Command Line Interface | Reference Guide ip route | 295
ip route
ip route <destip> <destmask> {<nexthop> [<cost>]|ipsec <name>|null 0}
Description
This command configures a static route on the controller.
Syntax
Usage Guidelines
This command configures a static route on the controller other than the default gateway. Use the ip default-
gateway command to set the default gateway to the IP address of the interface on the upstream router or switch
to which you connect the controller.
Example
The following command configures a static route:
(host) (config) #ip route 172.16.0.0 255.255.0.0 10.1.1.1
Command History
This command was available in ArubaOS 3.0.
Command Information
Parameter Description
<destip> Enter the destination prefix address in dotted decimal format (A.B.C.D).
<destmask> Enter the destination prefix mask address in dotted decimal format (A.B.C.D).
<nexthop> [<cost>] Enter the forwarding router address in dotted decimal format (A.B.C.D). Optionally, enter the
distance metric (cost) for this route. The cost prioritizes routing to the destination. The lower the
cost, the higher the priority.
ipsec <name> Enter the keyword ipsec followed by the ipsec map name to use a static ipsec route map.
null 0 Enter the key word null 0 to designate a null interface.
Platform License Command Mode
Available on all platforms Available in the base operating system Config mode on master and local
controllers