Adding ip routing table entries, Displaying the ip routing table – ADC AVIDIA SWD4573I1 User Manual

Page 262

Advertising
background image

Configuring IP Routing

236

Avidia System Configuration and Management User Manual

Adding IP Routing Table Entries

From the

::routingtb=>

prompt type the new command in the following format, then press

.

new <destip> <nexthop> [-hopcount <hopcount>]

Parameters

<destip>

The IP address to which packets must be sent to qualify for routing based on this IP Routing
Table entry.

<nexthop>

The IP address of the next router in the network to which the packet is to be forwarded.

[-hopcount <hopcount>]

The number of hops the packet is allowed to make to get to its destination. If the packet
makes the maximum number of hops allowed by the RIP configuration (see

“Modifying

RIP Configuration” on page 242

), and is not yet at its destination, it is deleted.

Example

::routingtb=> new 100.90.57.3 100.90.57.4 -hopcount 10

Displaying the IP Routing Table

To verify your IP routing configuration, from the

::routingtb=>

prompt, type the

show

command as follows then press

.

show [<ipaddr>]

Parameter

[<ipaddr>]

The IP address of the IP Routing Table entry you want to display (format xxx.xxx.xxx.xxx).
Omitting this parameter displays all IP Routing Table entries.

ENTER

ENTER

Advertising