
[no] ip route <dest-ip> <mask> <next-hop> [<cost>] [disable]
[enable] [weight<cost>]
Variable Definitions
Variable
Value
[no]
Removes the specified static route.
<dest-ip>
Specifies the destination IP address for the route being
added. 0.0.0.0 is considered the default route.
<mask>
Specifies the destination subnet mask for the route being
added.
<next-hop>
Specifies the next hop IP address for the route being
added.
[<cost>]
Specifies the weight, or cost, of the route being added. Range
is 1-65535.
[disable]
Disables the specified static route.
[enable]
Enables the specified static route.
[weight<cost>]
Changes the weight, or cost, of an existing static route. Range
is 1-65535.
Displaying static routes
About this task
Use this procedure to display all static routes, whether these routes are active or inactive.
Procedure
1. To display a static route, enter the following command from the User EXEC mode:
show ip route static
2. To display an IP route, enter the following commands from the User EXEC
command mode:
show ip route [-s <subnet IP Address> <mask>]
show ip route <Subnet IP Address> —s [<subnet IP Address>
<mask>]
Example
WCP8180#
show ip route static
===============================================================================
Ip Static Route
===============================================================================
DEST MASK NEXT COST PREF LCLNHOP STATUS ENABLE
-------------------------------------------------------------------------------
ACLI reference for wired networks
Avaya WLAN 8100 CLI Reference
August 2013 277