10
Summary Count : 1
Destination/Mask Proto Pre Cost NextHop Interface
11.0.0.0/16 Static 60 0 0.0.0.0 NULL0
# Display brief information about the routes to destination addresses in the range of 1.1.1.0 to 5.5.5.0.
<Sysname> display ip routing-table 1.1.1.0 to 5.5.5.0
Summary Count : 6
Destination/Mask Proto Pre Cost NextHop Interface
1.1.1.1/32 Direct 0 0 127.0.0.1 InLoop0
2.2.2.0/24 Direct 0 0 2.2.2.1 Vlan2
3.3.3.0/24 Direct 0 0 3.3.3.1 Vlan2
3.3.3.1/32 Direct 0 0 127.0.0.1 InLoop0
4.4.4.0/24 Direct 0 0 4.4.4.1 Vlan1
4.4.4.1/32 Direct 0 0 127.0.0.1 InLoop0
For command output, see
display ip routing-table prefix-list
Use
display ip routing-table prefix-list
to display routes permitted by an IP prefix list.
Syntax
display ip routing-table
[
vpn-instance
vpn-instance-name
]
prefix-list
prefix-list-name
[
verbose
]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
vpn-instance
vpn-instance-name
: Specifies an MPLS L3VPN instance by its name, a case-sensitive string
of 1 to 31 characters. Without this option, the command displays routing information for the public
network.
prefix-list-name
: Specifies an IP prefix list by its name, a case-sensitive string of 1 to 63 characters.
verbose
: Displays detailed information about all routes permitted by the IP prefix list. Without this
keyword, the command displays brief information about active routes permitted by the IP prefix list.
Usage guidelines
If the specified IP prefix list does not exist, the command displays information about all routes.
Examples
# Create an IP prefix list named
test
to permit the route 1.1.1.0/24.
<Sysname> system-view
[Sysname] ip prefix-list test permit 1.1.1.0 24