Parameter | Description | Value |
---|---|---|
ip-prefix-name | Displays the configuration of an IP prefix list with a specified name. | The name is a string of 1 to 169 case-sensitive characters, with spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string. |
Usage Scenario
Precautions
Before collecting the number of routes that do or do not match the route-policy in an IPv4 prefix list within a certain period, run the reset ip ip-prefix command to clear existing statistics.
If The specified filter list does not exist is displayed in the command output, the specified IPv4 prefix list failed to be configured. To re-configure it, run the ip ip-prefix command in the system view.
# Display the configuration of the IP prefix list named p1.
<HUAWEI> display ip ip-prefix p1
Prefix-list pl Permitted 0 Description prefixok Denied 0 index: 10 permit 192.168.0.0/16 ge 17 le 18
Item |
Description |
---|---|
Prefix-list |
Name of an IPv4 prefix list. |
Permitted |
Number of routes that match a route-policy. |
Description |
Description of an IPv4 prefix list. This field is displayed only after a description is configured using the ip ip-prefix ip-prefix-name description text command. |
Denied |
Number of routes that do not match the route-policy. |
index |
Index of the entry in the IPv4 prefix list. |
permit |
Contents of the entry in the IPv4 prefix list. |
ge 17 |
The mask is greater than or equal to 17. |
le 18 |
The mask is less than or equal to 18. |