HP 6125XLG R2306-HP 6125XLG Blade Switch Layer 3 - IP Routing Command Referenc - Page 15
display ip routing-table acl, Syntax, Views, Predefined user roles, Parameters, Usage guidelines
View all HP 6125XLG manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 15 highlights
display ip routing-table acl Use display ip routing-table acl to display information about routes permitted by a specific basic ACL. Syntax display ip routing-table [ vpn-instance vpn-instance-name ] acl acl-number [ 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. 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. 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. 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 192.168.1.0/24 192.168.1.0/32 192.168.1.111/32 192.168.1.255/32 Proto Pre Direct 0 Direct 0 Direct 0 Direct 0 Cost 0 0 0 0 NextHop 192.168.1.111 192.168.1.111 127.0.0.1 192.168.1.111 Interface Vlan21 Vlan21 InLoop0 Vlan21 For command output, see Table 1. # Display detailed information about all routes permitted by basic ACL 2000. display ip routing-table acl 2000 verbose Routes Matched by Access control list : 2000 4