Concept Guide

Table Of Contents
ip route
ip route <destip> <destmask> {<nexthop> [<cost>]|ipsec <name>|null 0}
Description
This command configures a static route on the controller.
Syntax
Parameter Description
<destip>
Enter the destination IP address in dotted decimal format (A.B.C.D).
<destmask>
Enter the destination netmask 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.
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
Related Commands
Command Description
ip nexthop-list
Configure nexthop list settings for policy-based routing.
Command History
Release Modification
ArubaOS 3.0 Command introduced.
ArubaOS 6.4.3.0 The <nexthop> [<cost>] parameters was introduced, which supports
routing using a next-hop list.
Dell Networking W-Series ArubaOS 6.5.x | Reference Guide ip route | 540