H3C S7500 Series Ethernet Switches Command Manual

Table Of Contents
Command Manual – Routing Protocol
H3C S7500 Series Ethernet Switches Chapter 1 Static Route Configuration Commands
1-1
Chapter 1 Static Route Configuration Commands
Note:
The term “router” in this document refers to a router in a generic sense or an Ethernet
switch running routing protocols.
1.1 Routing Table Monitoring Commands
1.1.1 display ip routing-table
Syntax
display ip routing-table
View
Any view
Parameters
None
Description
Use the display ip routing-table command to display the summary of a routing table.
This command is used to display the summary of a routing table. Each line represents
one route, containing the destination address/mask length, protocol, preference, cost,
next hop, and output interface.
This command is only used to display the currently used routes, that is, the optimal
routes.
Examples
# Display the summary of the current routing table.
<H3C> 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