HP 6125G HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Routing Comma - Page 365
display ip ip-prefix, ip-prefix-name, regular-expression, Fundamentals Configuration Guide
View all HP 6125G manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 365 highlights
No next hop is set for IPv4 routing information by default. This command cannot set a next hop for redistributed routes. Examples # Configure node 10 in permit mode of routing policy policy1 to set next hop 193.1.1.8 for routes matching AS path list 1. system-view [Sysname] route-policy policy1 permit node 10 [Sysname-route-policy] if-match as-path 1 [Sysname-route-policy] apply ip-address next-hop 193.1.1.8 display ip ip-prefix Syntax display ip ip-prefix [ ip-prefix-name ] [ | { begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor level Parameters ip-prefix-name: IP prefix list name, a string of 1 to 19 characters. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays all lines that do not match the specified regular expression. include: Displays all lines that match the specified regular expression. regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters. Description Use display ip ip-prefix to display the statistics of an IPv4 prefix list. If no ip-prefix-name is specified, statistics for all IPv4 prefix lists will be displayed. Related commands: ip ip-prefix. Examples # Display the statistics of IPv4 prefix list abc. display ip ip-prefix abc Prefix-list abc Permitted 0 Denied 0 index: 10 permit 1.0.0.0/11 ge 22 le 32 Table 80 Command output. Field Prefix-list Description Name of the IPv4 prefix list 354