23
Display Commands of
the Routing Table
display ip routing-table
S
TATIC
C
OMMANDS
n
When a switch runs a routing protocol, it can perform the router functions. A
router that is referred to in the following or its icon represents a generalized router
or an Switch 8800 Family series routing switch running routing protocols. To
improve readability, this will not be described in the other parts of the manual.
For the configuration of VPN instance, refer to the MPLS module in 3Com Switch
8800 Family Series Routing Switches Operation Manual.
Syntax
display ip routing-table
View
Any view
Parameter
None
Description
Use display ip routing-table command to view the routing table summary.
This command displays routing table information in summary form. Each line
represents one route. The contents include destination address/mask length,
protocol, preference, metric, next hop and output interface.
Only current used route, namely, best route, is displayed using display ip
routing-table command.
Example
# View the summary of the routing table.
<SW8800> display ip routing-table
Routing Table: public net
Destination/Mask
1.1.1.0/24
1.1.1.1/32
2.2.2.0/24
2.2.2.1/32
3.3.3.0/24
3.3.3.1/32
4.4.4.0/24
R
C
OUTE
ONFIGURATION
Protocol
Pre Cost
DIRECT
DIRECT
DIRECT
DIRECT
DIRECT
DIRECT
DIRECT
Nexthop
0
0
1.1.1.1
0
0
127.0.0.1
0
0
2.2.2.1
0
0
127.0.0.1
0
0
3.3.3.1
0
0
127.0.0.1
0
0
4.4.4.1
Interface
Vlan-interface1
InLoopBack0
Vlan-interface2
InLoopBack0
Vlan-interface3
InLoopBack0
Vlan-interface4
Need help?
Do you have a question about the 8807 and is the answer not in the manual?
Questions and answers