BGP and BGP4+ Commands

neighbor distribute-list (BGP and BGP4+)

This command filters route updates from a particular BGP or BGP4+ neighbor using an access control list.

You can add one incoming and one outgoing distribute-list for each BGP or BGP4+ neighbor.

The no variant of this command removes a previously configured BGP or BGP4+ distribute-list.

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

no neighbor <neighborid> distribute-list <access-list> {inout}

Parameter

Description

 

<neighborid>

Specify an identification method for the BGP or BGP4+ peer. Use

 

one of the following formats:

 

 

 

 

<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+) and neighbor

 

 

route-map (BGP and BGP4+) commands.

 

 

When this parameter is used with this

 

 

command, the command applies on all peers in

 

 

the specified group.

 

 

<access-list>

The specific access-list used to filter routes. Specify one of the

 

following types of access-lists:

 

 

 

 

<WORD>

The name of IP access-list.

 

 

 

 

<1-199>

The ID number of a standard IP access-list.

 

 

 

 

<1300-2699>

The ID number of an extended IP access-list.

 

 

in

Indicates that incoming advertised routes will be filtered.

 

 

out

Indicates that outgoing advertised routes will be filtered.

 

 

 

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

Mode [BGP4+] IPv6 Address Family Configuration

Examples [BGP]

awplus# configure terminal

awplus(config)# router bgp 10

awplus(config-router)#neighbor 10.10.10.1 distribute-list mylist out

 

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

 

3.114

AlliedWare PlusTM Operating System - Software Version 5.4.3-2.6

C613-50032-01 REV D

Page 212
Image 212
Allied Telesis VERSION 5.4.3-2.6 manual Neighbor distribute-list BGP and BGP4+, Neighbor BGP and BGP+ and neighbor