The xpl ip-prefix-list command creates an IPv4 prefix set and displays the IPv4 prefix set view.
The undo xpl ip-prefix-list command deletes a specified IPv4 prefix set.
By default, no IPv4 prefix sets are configured.
Parameter | Description | Value |
---|---|---|
ip-prefix-list-name |
Specifies the name of an IPv4 prefix set. |
The value is a string of 1 to 200 case-sensitive characters, spaces not supported. The string can contain letters, digits, underscores (_), hyphens (-), and dots (.). It must start with a letter or digit. |
Usage Scenario
An IPv4 prefix set is a group of IPv4 prefix data used by a route-filter to filter BGP routes based on route attributes, such as the source, destination, or next hop IP address. To create an IPv4 prefix set and enter the IPv4 prefix set view, run the xpl ip-prefix-list command.
Follow-up Procedure
Precautions
An IPv4 prefix set is only a group of data used as matching rules and does not have the permit or deny function. Therefore, an IPv4 prefix set can be used to filter routes only after it is referenced by a route-filter.
To exit from the IPv4 prefix set view, run the abort command in the IPv4 prefix set view.