Command Manual – IP Routing Overview
H3C S7500E Series Ethernet Switches
Chapter 1 Routing Overview Commands
1-14
View
Any view
Parameters
protocol
: Routing protocol. It can be
BGP
,
DIRECT
,
ISIS
,
OSPF
,
RIP
, or
STATIC
.
inactive
: Displays information about only inactive routes. With this argument absent,
the command displays information about both active and inactive routes.
verbose
: Displays detailed routing table information. With this argument absent, the
command displays brief routing table information.
Description
Use the
display ip routing-table
protocol
command to
display routing information of
a specified routing protocol.
Examples
# Display brief information about direct routes.
<Sysname> display ip routing-table protocol direct
Public Routing Table : Direct
Summary Count : 5
Direct Routing table Status : < Active>
Summary Count : 5
Destination/Mask Proto Pre Cost NextHop Interface
2.2.2.0/24 Direct 0 0 2.2.2.1 Vlan2
2.2.2.2/32 Direct 0 0 127.0.0.1 InLoop0
127.0.0.0/8 Direct 0 0 127.0.0.1 InLoop0
127.0.0.1/32
Direct 0 0 127.0.0.1 InLoop0
192.168.80.10/32 Direct 0 0 127.0.0.1 InLoop0
Direct Routing table Status : < Inactive>
Summary Count : 0
# Display summary information about static routes.
<Sysname> display ip routing-table protocol static
Public Routing Table : Static
Summary Count : 1
Static Routing table Status : < Active>
Summary Count : 0