xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
317
show iproute
Parameters
<network_address>
−
IP address and netmask of the IP interface that
is the destination of the route. The address and mask information can
be specified using the traditional format (for example,
10.1.2.3/255.0.0.0 or in CIDR format, 10.1.2.3/8).
<ipaddr>
−
The host IP address used to search related routes.
static | rip | ospf
– Enter one of these parameters to show that
corresponding IP route.
•
static
– Displays the current static IP routing table. The entry
in the table may or may not be active.
•
rip
– Displays the current rip IP routing table. The entry in the
table may or may not be active.
•
ospf
– Displyas the current ospf IP routing table. The entry in
the table may or may not be active.
Restrictions None.
Example usage:
To display the contents of the IP routing table:
DGS-3627:5#show iproute
Command: show iproute
Routing Table
IP Address/Netmask Gateway Interface Cost Protocol
------------------ --------------- ------------ -------- --------
10.0.0.0/8 Null0 Null0 - -
10.0.0.0/8 0.0.0.0 System 1 Local
Total Entries : 2
DGS-3627:5#
To display the contents of the static IP routing table :
DGS-3627:5#show iproute static
Command: show iproute static
Routing Table
IP Address/Netmask Gateway Cost Protocol Backup Weight Status
------------------ --------------- ----- -------- -------- ------ --------
10.0.0.0/8 Null0 - - - - -
10.0.0.0/8 10.1.1.254 1 Static Primary None Active
Total Entries : 2
DGS-3627:5#