Avaya X330WAN Network Router User Manual


 
Chapter 6 X330WAN CLI Commands
186 Avaya X330WAN User’s Guide
ip route
Use the ip route command to establish a static route. The no form of this
command removes a static route.
Syntax
[no] ip route <ip addr> <mask> {{<next-hop> [<next-hop> [<next-hop>]]
| <interface-type> <interface-number>} [<cost>] [<preference>]
[permanent] | Null0}
Parameters
Example
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 134.66.0.0 255.255.0.0 Null0
For a X330WAN-2DS1:
X330WAN-2DS1-1(configure)# ip route 135.0.0.0 255.0.0.0 Serial 1:1
permanent
For a X330WAN-2DS1:
X330WAN-2USP-1(configure)# ip route 192.168.12.0 255.255.0.0 Serial 1
ip routing
Use the ip routing command to enable IP routing. The no form of this command
disables the IP routing process in the device. By default, IP routing is enabled.
Syntax
[no] ip routing
ip addr
The IP address of the network.
mask
The mask of the static route.
next-hop
The next hop address in the network.
interface-type
The interface type.
interface-number
The interface number.
cost
The path cost. The default is 1.
preference
Preference, either High or Low. Default is Low.
permanent
The route is not disabled if the interface is down.
Null0
Creates a static discard route.