BGP and BGP4+ Commands

ip prefix-list (IPv4 Prefix List)

Use this command to create an entry for an IPv4 prefix list.

Use the no variant of this command to delete the IPv4 prefix-list entry.

Syntax ip prefix-list <list-name> [seq <1-429496725>] {denypermit}

{any<ip-prefix>}

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

ip prefix-list <list-name>description <text> ip prefix-list sequence-number

no ip prefix-list <list-name> [seq <1-429496725>] no ip prefix-list <list-name>[description <text>] no ip prefix-list sequence-number

Parameter

Description

<list-name>

Specifies the name of a prefix list.

 

 

seq <1-429496725>

Sequence number of the prefix list entry.

 

 

deny

Specifies that the prefixes are excluded from the list.

 

 

permit

Specifies that the prefixes are included in the list.

 

 

<ip-prefix>

Specifies the IPv4 address and length of the network

 

mask in dotted decimal in the format A.B.C.D/M.

 

 

any

Any prefix match. Same as 0.0.0.0/0 le 32.

 

 

ge <0-32>

Specifies the minimum prefix length to be matched.

 

 

le <0-32>

Specifies the maximum prefix length to be matched.

 

 

description <text>

Text description of the prefix list.

 

 

sequence-number

Specify sequence numbers included or excluded in prefix

 

list.

 

 

Mode Global Configuration

Usage When the device processes a prefix list, it starts to match prefixes from the top of the prefix list, and stops whenever a permit or deny occurs. To promote efficiency, use the seq parameter and place common permits or denials towards the top of the list. If you do not use the seq parameter, the sequence values are generated in a sequence of 5.

The parameters ge and le specify the range of the prefix lengths to be matched. When setting these parameters, set the le value to be less than 32, and the ge value to be less than or equal to the le value and greater than the ip-prefix mask length.

Prefix lists implicitly exclude prefixes that are not explicitly permitted in the prefix list. This means if a prefix that is being checked against the prefix list reaches the end of the prefix list without matching a permit or deny, this prefix will be denied.

 

Software Reference Supplement for SwitchBlade® x8112, x908, x900 and x610 Series Switches

 

3.76

AlliedWare PlusTM Operating System - Software Version 5.4.3-2.6

C613-50032-01 REV D

Page 174
Image 174
Allied Telesis BGP4, VERSION 5.4.3-2.6 manual Ip prefix-list IPv4 Prefix List, Seq