3com 8807 참조 가이드
23
S
TATIC
R
OUTE
C
ONFIGURATION
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.
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.
8800 Family Series Routing Switches Operation Manual.
Display Commands of
the Routing Table
the Routing Table
display ip routing-table
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.
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.
routing-table command.
Example
# View the summary of the routing table.
<SW8800> display ip routing-table
Routing Table: public net
Destination/Mask Protocol Pre Cost Nexthop Interface
1.1.1.0/24 DIRECT 0 0 1.1.1.1 Vlan-interface1
1.1.1.1/32 DIRECT 0 0 127.0.0.1 InLoopBack0
2.2.2.0/24 DIRECT 0 0 2.2.2.1 Vlan-interface2
2.2.2.1/32 DIRECT 0 0 127.0.0.1 InLoopBack0
3.3.3.0/24 DIRECT 0 0 3.3.3.1 Vlan-interface3
3.3.3.1/32 DIRECT 0 0 127.0.0.1 InLoopBack0
4.4.4.0/24 DIRECT 0 0 4.4.4.1 Vlan-interface4