Chapter 6 X330WAN CLI Commands

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

 

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.

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

186

Avaya X330WAN User’s Guide

Page 208
Image 208
Avaya X330WAN manual Ip route, Ip routing, No ip routing