Allied Telesis VERSION 5.4.3-2.6 manual How to create and configure a Prefix List for BGP or BGP4+

Models: BGP4 VERSION 5.4.3-2.6

1 350
Download 350 pages 8.81 Kb
Page 29
Image 29

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 prefix-list<list-name>

[seq <1-429496725>] {deny

specified for the <list-name>parameter. To create a prefix

permit} {any<ip-prefix>} [ge

list you must enter at least one permit or deny clause. Once an

<0-32>] [le <0-32>]

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 prefix-list<list-name>

[seq <1-429496725>] {deny

specified for the <list-name>parameter. To create a prefix

permit} {any<ipv6-prefix>} [ge

list you must enter at least one permit or deny clause. Once an

<0-128>] [le <0-128>]

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 prefix-list<list-name>This command removes an IPv4 prefix list with the name [seq <1-429496725>]specified for the required <list-name> parameter and the sequence number specified in the range <1-429496725>.

awplus(config)#

no ipv6 prefix-list<list-name>This command removes an IPv6 prefix list with the name [seq <1-429496725>]specified for the <list-name> parameter and the sequence

number specified in the range <1-429496725>.

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

 

C613-50032-01 REV D

AlliedWare PlusTM Operating System - Software Version 5.4.3-2.6

1.21

Page 29
Image 29
Allied Telesis VERSION 5.4.3-2.6 manual How to create and configure a Prefix List for BGP or BGP4+