1-11
Destination: 2.2.2.1/32
Protocol: Direct Process ID: 0
Preference: 0 Cost: 0
NextHop: 127.0.0.1 Interface: InLoopBack0
RelyNextHop: 0.0.0.0 Neighbour: 0.0.0.0
Tunnel ID: 0x0 Label: NULL
State: Active NoAdv Age: 1d00h20m52s
Tag: 0
For detailed description of the above output, see
display ip routing-table protocol
Syntax
display ip routing-table
protocol
protocol
[
inactive
|
verbose
]
View
Any view
Default Level
1: Monitor level
Parameters
protocol
: Routing protocol. It can be
bgp
,
direct
,
isis
,
nat
,
ospf
,
rip
,
static
, or
guard
.
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 the 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 : 6
Direct Routing table Status : < Active>
Summary Count : 6
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.0/24 Direct 0 0 192.168.80.10 Vlan1
192.168.80.10/32 Direct 0 0 127.0.0.1 InLoop0
Direct Routing table Status : < Inactive>