ip route

ip route {ipsec []|null <0-0>| []}

Description

This command configures a static route onMobility Conductoror themanaged device. Use theip default-gatewaycommand to set the default gateway to the IP address of the interface on the upstream router or switch to which you connectMobility Conductoror themanaged device.

Parameter

Description

Enter the destination IP address prefix in dotted decimal format (A.B.C.D).

Enter the destination netmask in dotted decimal format (A.B.C.D).

ipsec

Enter the IPsec map name to use a static IPsec route map.

null <0-0>

Enter the key wordnull 0to designate a null interface.

[]

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.

Example

The following command configures a static route:

(主机)[mynode](配置)#我p route 172.16.0.0 255.255.0.0 10.1.1.1

Related Commands

Command

Description

ip nexthop-list

Configure next hop list settings for policy-based routing.

Command History

Release

Modification

ArubaOS8.0.0.0

Command introduced.

Command Information

Platform

License

Command Mode

All platforms

Base Operating System.

配置模式Mobility Conductor.