Ip route, Ip routing, Ip route ip routing – Avaya P460 User Manual

Page 61

Advertising
background image

Chapter 2

Avaya P460 CLI Commands

Avaya P460 Reference Guide

51

Example:

ip route

User level: read-write, admin.
L You can only access this command in configure mode.

Type configure at the command prompt to enter configure mode.

Use the ip route command to establish a static route.
Use the no ip route command to remove a static route.

The syntax for this command is:

[no] ip route

<ip-address> <mask> <next-hop> [<next-hop>]

[<next-hop>] [<cost>] [<preference>]

Example:
To define the router 192.168.33.38 as the next hop for the network 192.168.33.0 with
mask 255.255.255.0:

ip routing

User level: read-write, admin.
L You can only access this command in configure mode.

Type configure at the command prompt to enter configure mode.

Router-1(configure-if:marketing) # no ip rip split-horizon

Done!

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.

Router-1(configure)# ip route 192.168.33.0 255.255.255.0

10.10.10.10

Advertising