Avaya X330W2-DS1 Network Router User Manual


 
Layer 3 CLI Commands
Avaya X330W-2DS1 User’s Guide 81
ip route
Use the ip route command to establish a static route. The no form of this
command removes a static route.
The syntax for this command is:
[no] ip route <ip addr> <mask> {{<next-hop> [<next-hop>
[<next-hop>]] | <interface-type> <interface-number>} [<cost>]
[<preference>] [permanent] | Null0}
Examples:
X330WAN-2DS1-1(configure)# ip route 132.55.0.0 255.255.0.0
132.55.4.45 3 high
X330WAN-2DS1-1(configure)# no ip route 134.66.0.0 255.255.0.0
X330WAN-2DS1-1(configure)# ip route 135.0.0.0 255.0.0.0 Serial
1:1 permanent
X330WAN-2DS1-1(configure)# ip route 134.66.0.0 255.255.0.0
Null0
ip-address The IP address of the network.
mask Mask of the static route.
next-hop The next hop address in the network.
cost The path cost. The default is 1.
preference Preference, either High or Low. Default is Low.
Null0 Creates a static discard route.
interface-type The interface type.
interface-number The interface number.
permanent The route will not be disabled if the interface is down.