Command Manual - Routing Protocol
Quidway S6500 Series Ethernet Switches
0
错误!表格结果无效。
Huawei Technologies Proprietary
1-9
Destination/Mask Protocol Pre Cost Nexthop Interface
1.1.1.0/24 DIRECT
0 0 1.1.1.1 Vlan-interface1
1.1.1.1/32 DIRECT
0 0 127.0.0.1 InLoopBack0
2.2.2.0/24 DIRECT
0 0 2.2.2.1 Vlan-interface2
For detailed description of the output information, see Table 1-1.
1.1.5 display ip routing-table ip-prefix
Syntax
display ip routing-table ip-prefix
ip-prefix-name
[
verbose
]
View
Any view
Parameter
ip-prefix-name
: ip prefix list name. The length of
ip-prefix-name
ranges from 1 to 19
character string.
verbose
:
With the parameter, this command displays the verbose information of both
the active and inactive routes that passed filtering rules. Without the parameter, this
command displays the summary of the active routes that passed filtering rules.
Description
Using
display ip routing-table ip-prefix
command, you can view the route information
that passed the filtering rule according the input ip prefix list name.
Example
# Display the summary of the active route that is filtered ip prefix list abc2.
[Quidway] ip ip-prefix abc2 permit 10.1.1.0 24 less-equal 32
[Quidway] display ip routing-table ip-prefix abc2
Routes matched by ip-prefix abc2:
Summary count: 2
Destination/Mask Protocol Pre Cost Nexthop Interface
10.1.1.0/24 DIRECT 0 0 10.1.1.2 Vlan-interface1
10.1.1.2/32 DIRECT 0 0 127.0.0.1 InLoopBack0
For detailed description of the output information, see Table 1-1.
# Display the verbose information of the active and inactive routes that are filtered
prefix list abc2.
[Quidway] display ip routing-table ip-prefix abc2 verbose
Routes matched by ip-prefix abc2:
Generate Default: no