Command Manual – Routing Protocol
Quidway S3900 Series Ethernet Switches-Release 1510
Chapter 1 Static Route Configuration
Commands
Huawei Technologies Proprietary
1-10
1.1.6 display ip routing-table protocol
Syntax
display ip routing-table
protocol protocol
[
inactive
|
verbose
]
View
Any view
Parameter
protocol
: You can provide one of the following values for this argument.
z
direct
:
Displays direct-connect route information
z
static
: Displays static route information.
z
ospf
: Displays OSPF route information.
z
ospf-ase
: Displays OSPF ASE route information.
z
ospf-nssa
: Displays OSPF NSSA route information.
z
rip
: Displays RIP route information.
inactive
: With this argument provided, this command displays the inactive route
information. Without this argument provided, this command displays both active and
inactive route information.
verbose
: With this argument provided, this command displays the verbose route
information. Without this argument provided, this command displays route summary
only.
Description
Use the
display ip routing-table protocol
command to display the route information
of a specific protocol.
Example
# Display the summary of all direct-connect routes.
<Quidway> display ip routing-table protocol direct
DIRECT Routing tables:
Summary count: 4
DIRECT Routing tables status:<active>:
Summary count: 3
Destination/Mask
Protocol
Pre Cost
Nexthop
Interface
20.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 tables status:<inactive>:
Summary count: 1
Destination/Mask
Protocol Pre
Cost
Nexthop
Interface