![](/images/new-backgrounds/1191620/19162057x1.webp)
BGP and BGP4+ Introduction
How to create and configure a Prefix List for BGP or BGP4+
To create a prefix list for BGP, use the following command in Global Configuration mode. Note you can add individual prefix list entries to a defined prefix list as well.
awplus(config)# | This command creates an IPv4 prefix list with the name |
ip | |
[seq | specified for the |
permit} | list you must enter at least one permit or deny clause. Once an |
| IPv4 prefix list is created, this command creates a prefix list |
| entry, and assigns a sequence number to the IPv4 prefix list |
| entry. |
|
|
awplus(config)# | This command creates an IPv6 prefix list with the name |
ipv6 | |
[seq | specified for the |
permit} | list you must enter at least one permit or deny clause. Once an |
| IPv6 prefix list is created, this command creates a prefix list |
| entry and assigns a sequence number to the IPv6 prefix list |
| entry. |
|
|
The optional ge and le keywords can be used to specify the range of the prefix length to be matched for prefixes that are more specific than the network/length parameter. An exact match is assumed when neither ge nor le is specified.
You can specify sequence values for prefix list entries in any increments you want. If you specify the sequence values in increments of 1, you cannot insert additional entries into the prefix list. If you choose very large increments, you could run out of sequence values.
How to delete Prefix List Entries
To remove a prefix list, and optionally specific entries, use the following commands as appropriate in Global Configuration mode:
awplus(config)#
no ip
awplus(config)#
no ipv6
number specified in the range
The sequence number of an entry is optional when you delete the prefix list entry.
If you omit the sequence number then all entries are deleted for the prefix list.
| Software Reference Supplement for SwitchBlade® x8112, x908, x900 and x610 Series Switches |
|
AlliedWare PlusTM Operating System - Software Version | 1.21 |