Command Manual – IP Routing Overview
H3C S7500E Series Ethernet Switches
Chapter 1 Routing Overview Commands
1-13
# Display brief information about active routes permitted by the prefix list
test
.
[Sysname] display ip routing-table ip-prefix test
Routes Matched by Prefix list : test
Summary Count : 2
Destination/Mask Proto Pre Cost NextHop Interface
2.2.2.0/24 Direct 0 0 2.2.2.1 Vlan2
2.2.2.1/32 Direct 0 0 127.0.0.1 InLoop0
For detailed description of the above output, see
Table 1-4
.
# Display detailed information about both active and inactive routes permitted by IP
prefix list
test
.
[Sysname] display ip routing-table ip-prefix test verbose
Routes Matched by Prefix list test :
Summary Count : 2
Destination: 2.2.2.0/24
Protocol: Direct Process ID: 0
Preference: 0 Cost: 0
NextHop: 2.2.2.1 Interface: Vlan2
RelyNextHop: 0.0.0.0 Neighbour: 0.0.0.0
Tunnel ID: 0x0 Label: NULL
State: Active Adv Age: Od00h20m52s
Tag: 0
Destination: 2.2.2.1/32
Protocol: Direct Process ID: 0
Preference: 0 Cost: 0
NextHop: 127.0.0.1 Interface: InLoop0
RelyNextHop: 0.0.0.0 Neighbour: 0.0.0.0
Tunnel ID: 0x0 Label: NULL
State: Active NoAdv Age: Od00h20m52s
Tag: 0
For detailed description of the above output, see
Table 1-5
.
1.1.7 display ip routing-table protocol
Syntax
display ip routing-table
protocol
protocol
[
inactive
|
verbose
]