Chapter 11
11-40 Command Reference Guide for the Avaya P580 and P882 Multiservice Switches, v6.1
ip route
Command Mode Global Configuration.
Description Creates a static route. The no form of this command removes a static route .
The default static routing preference is Low.
Syntax
To Cr eat e: route <route-addr> <mask> {<next-hop> | null 0}
<cost> [{high | low}]
To Delete: no ip route <route-addr> <mask>
Table 11-20. Parameters, Keywords, Arguments
Name Definition
<route-addr> IP address of the static route.
<mask> Mask of the IP address.
<next-hop> The IP address for the gateway associated with the static
route.
null 0 Creates a static route to a null interface.
A null interface is a virtual interface that discards IP packets
and is used to prevent routing loops from occurring in the
network. For more information on null interfaces, see
Chapter 12, “Configuring IP Routing,” in User Guide for the
Avaya P580 and P882 Multiservice Switches, Software
Version 6.1.
<cost> The metric between this router and the destination. The cost
can range from 1 to 65,535.
[{high | low}] The preference of the route. The default setting is low.
Preference overrides cost. If two routes of the same
preference are present, the switch uses the route that has the
lower cost.