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-10
Parameters
protocol: You can provide one of the following values for this argument.
z direct: Specifies to display direct-connect route information
z static: Specifies to display static route information.
z bgp: Specifies to display BGP route information
z isis: Specifies to display IS-IS route information.
z ospf: Specifies to display OSPF route information.
z ospf-ase: Specifies to display OSPF ASE route information.
z ospf-nssa: Specifies to display OSPF NSSA route information.
z rip: Specifies to display RIP route information.
inactive: With this argument provided, this command is used to display the inactive
route information. Without this argument provided, this command is used to display the
information of both active and inactive routes.
verbose: With this argument provided, this command is used to display the verbose
route information. Without this argument provided, this command is used to display
route summary only.
Description
Use the display ip routing-table protocol command to display the route information
of a specific protocol.
Examples
# Display the summary of all direct-connect routes.
<H3C> display ip routing-table protocol direct
DIRECT Routing tables:
Summary count: 8
DIRECT Routing table status:<active>:
Summary count: 7
Destination/Mask Protocol Pre Cost Nexthop Interface
10.5.1.0/24 DIRECT 0 0 10.5.1.5 Vlan-interface105
10.5.1.5/32 DIRECT 0 0 127.0.0.1 InLoopBack0
100.100.1.1/32 DIRECT 0 0 127.0.0.1 InLoopBack0
102.1.1.0/24 DIRECT 0 0 102.1.1.1 LoopBack1
102.1.1.1/32 DIRECT 0 0 127.0.0.1 InLoopBack0
127.0.0.0/8 DIRECT 0 0 127.0.0.1 InLoopBack0
127.0.0.1/32 DIRECT 0 0 127.0.0.1 InLoopBack0
DIRECT Routing table status:<inactive>:
Summary count: 1
Destination/Mask Protocol Pre Cost Nexthop Interface
100.100.1.1/32 DIRECT 0 0 100.100.1.1 LoopBack0
# Display the static routing table.