R3303-HP 6600/HSR6600 Routers Layer 3 - IP Routing Command Reference
512
Syntax
display ip ip-prefix [ ip-prefix-name ] [ | { begin | exclude | include } regular-expression ]
Views
Any view
Default command level
1: Monitor level
Parameters
ip-prefix-name: Specifies an IP prefix list by its 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.
Usage guidelines
If no ip prefix list is specified, this command displays statistics for all IPv4 prefix lists.
Examples
# Display the statistics for IPv4 prefix list abc.
<Sysname> 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 109 Command output.
Field Description
Prefix-list Name of the IPv4 prefix list.
Permitted Number of routes matching the criterion.
Denied Number of routes not matching the criterion.
index Index of an item.
permit Match mode of the item: permit or deny.
1.0.0.0/11 IP address and mask.
ge Greater-equal, the lower limit.
le Less-equal, the higher limit.
Related commands
ip ip-prefix










