R0106-HP MSR Router Series Layer 3 - IP Routing Command Reference(V7)
6
Predefined user roles
network-admin
network-operator
Parameters
topology topo-name: Specifies a topology by its name, a case-sensitive string of 1 to 31 characters.
Without this option, the command displays routing information for the public network.
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.
acl-number: Specifies a basic ACL by its number in the range of 2000 to 2999.
verbose: Displays detailed information about all routes permitted by the basic ACL. Without this keyword,
the command displays only brief information about active routes permitted by the basic ACL.
standby slot slot-number: Displays backup information about routes permitted by the basic ACL for a
card. Without this option, the command displays information about routes permitted by the basic ACL.
Usage guidelines
If the specified ACL does not exist or has no rules configured, the command displays information about
all routes.
Examples
# Define basic ACL 2000 and set the route filtering rules.
<Sysname> system-view
[Sysname] acl number 2000
[Sysname-acl-basic-2000] rule permit source 192.168.1.0 0.0.0.255
[Sysname-acl-basic-2000] rule deny source any
# Display brief information about active routes permitted by basic ACL 2000.
[Sysname-acl-basic-2000] display ip routing-table acl 2000
Routes Matched by Access control list : 2000
Summary Count : 4
Destination/Mask Proto Pre Cost NextHop Interface
192.168.1.0/24 Direct 0 0 192.168.1.111 GE2/1/1
192.168.1.0/32 Direct 0 0 192.168.1.111 GE2/1/1
192.168.1.111/32 Direct 0 0 127.0.0.1 InLoop0
192.168.1.255/32 Direct 0 0 192.168.1.111 GE2/1/1
For command output, see Table 1.
# Display detailed information about all routes permitted by basic ACL 2000.
<Sysname> display ip routing-table acl 2000 verbose
Routes Matched by Access control list : 2000
Summary Count : 4
Destination: 192.168.1.0/24
Protocol: Direct Process ID: 0
SubProtID: 0x1 Age: 04h20m37s