BGP and BGP4+ Commands

neighbor prefix-list (BGP and BGP4+)

Use this command to distribute BGP and BGP4+ neighbor information as specified in a prefix list.

Use the no variant of this command to remove an entry.

Syntax [BGP/BGP4+] neighbor <neighborid> prefix-list <listname> {inout}

no neighbor <neighborid> prefix-list <listname> {inout}

Parameter

Description

 

 

<neighborid> {<ip-address><ipv6-addr><peer-group>}

 

 

 

 

<ip-address>

Specify the address of an IPv4 BGP neighbor, in

 

 

dotted decimal notation A.B.C.D.

 

 

 

 

<ipv6-addr>

Specify the address of an IPv6 BGP4+ neighbor,

 

 

entered in hexadecimal in the format X:X::X:X.

 

 

 

 

<peer-group>

Enter the name of an existing peer-group. For

 

 

information on how to create peer groups, refer

 

 

to the neighbor peer-group (add a neighbor)

 

 

(BGP and BGP+) command on page 3.144, and

 

 

neighbor route-map (BGP and BGP4+)

 

 

command on page 3.159. When this parameter

 

 

is used with this command, the command

 

 

applies on all peers in the specified group.

 

 

<listname>

The name of an IP prefix list.

 

 

in

Specifies that the IP prefix list applies to incoming advertisements.

 

 

out

Specifies that the IP prefix list applies to outgoing advertisements.

 

 

 

Mode [BGP] Router Configuration or IPv4 Address Family Configuration for a VRF instance

Mode [BGP4+] IPv6 Address Family Configuration

Usage [BGP/BGP4+] Use this command to specify a prefix list for filtering BGP or BGP4+ advertisements. Filtering by prefix list matches the prefixes of routes with those listed in the prefix list. If there is a match, the route is used. An empty prefix list permits all prefixes. If a given prefix does not match any entries of a prefix list, the route is denied access.

The router begins the search at the top of the prefix list, with the sequence number 1. Once a match or deny occurs, the router does not need to go through the rest of the prefix list. For efficiency the most common matches or denies are listed at the top.

The neighbor distribute-listcommand is an alternative to the neighbor prefix-listcommand and only one of them can be used for filtering to the same neighbor in any direction.

 

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

3.149

Page 247
Image 247
Allied Telesis VERSION 5.4.3-2.6 manual Neighbor prefix-list BGP and BGP4+, Out