Command Manual - Routing Protocol
Quidway S6500 Series Ethernet Switches
0
错误!表格结果无效。
Huawei Technologies Proprietary
1-1
Chapter 1 Static Route Configuration Commands
Note:
When an Ethernet switch runs a routing protocol, it can perform the router functions.
Router that is referred to in the following and its icon represent a generalized router or
an Ethernet switch running routing protocols.
To improve readability, this will not be
described in the other parts of the manual.
1.1 Display Commands of the Routing Table
1.1.1 display ip routing-table
Syntax
display ip routing-table
View
Any view
Parameter
None
Description
Using
display ip routing-table
command, you can 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, i.e., best route, is displayed using
display ip routing-table
command.
Example
# View the summary of routing table.
<Quidway> 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