Displaying the routing table – ADC CUDA 3 User Manual

Page 279

Advertising
background image

Cuda 12000 IP Access Switch CLI-based Administration Guide

Displaying the Routing Table

277

Displaying the Routing Table

You can display the contents of the routing table using the show ip
command within any mode, as shown in the following example:

cli:192.168.208.3:root# show ip

row count: 8

Protocol Route Destination Net Mask Next Hop Metric C/S/I

Type

-------- ------ --------------- --------------- --------------- ------ ------

Net Mgmt Remote 133.1.1.0 255.255.255.0 201.1.1.10 1 1/1/1

Local Local 155.144.1.0 255.255.255.0 155.144.1.1 0 1/8/1

Local Local 199.3.1.0 255.255.255.0 199.3.1.1 0 131/1/1

Net Mgmt Remote 199.3.2.0 255.255.255.0 199.3.1.2 1 131/1/1

Local Local 201.1.1.0 255.255.255.0 201.1.1.1 0 1/1/1

Local Local 201.1.2.0 255.255.255.0 201.1.2.1 0 1/1/1

Local Local 222.2.2.0 255.255.255.0 222.2.2.2 0 1/11/1

Net Mgmt Remote 222.2.3.0 255.255.255.0 222.2.2.1 1 1/11/1

Note that:

The loopback interface is identified with the c/s/i of 131/1/1.

Static routes have a protocol type of “Net Mgmt.”

Routes to directly connected networks via local interfaces have a protocol
type of “Local.”

You can narrow the output to include only what you need by entering the

include command such as in the following:

show ip | include “Net Mgmt”

will narrow the output to only static routes. Note that the string you specify
is case-sensitive. Strings containing spaces must be enclosed in quotes.

The following example shows the output of the

show ip

command to

include only static routes contained in the table:

cli:192.168.208.3:root# show ip | include "Net Mgmt"

Net Mgmt Remote 133.1.1.0 255.255.255.0 201.1.1.10 1 1/1/1

Net Mgmt Remote 199.3.2.0 255.255.255.0 199.3.1.2 1 131/1/1

Net Mgmt Remote 222.2.3.0 255.255.255.0 222.2.2.1 1 1/11/1

Advertising