BGP Commands
©2008 Allied Telesis Inc. All rights reserved.
Software Version 5.2.1
AlliedWare Plus
TM
Operating System Software Reference C613-50003-00 REV E
31.61
neighbor distribute-list
This command filters route update from a particular BGP neighbor using an access control list.
You can add one distribute-list for each BGP neighbor.
The
no
form removes a distribute-list.
Syntax
neighbor
<
neighborid
>
distribute-list
<access-list>
{
in
|
out
}
no neighbor
<
neighborid
>
distribute-list
<access-list>
{
in
|
out
}
Mode
Router mode and Address Family [ipv4 unicast | ipv4 multicast | vpnv4 unicast] mode
Examples
Parameter
Description
<
neighborid
>
Identification method for the BGP peer. Use one of the following
formats:
A.B.C.D
The address of an IPv4 BGP neighbor, in dotted
decimal notation.
TAG
Name of an existing peer-group. For information on
how to create peer groups, refer to the
neighbor
peer-group (adding a neighbor)
and
neighbor
remote-as
commands. When this parameter is used
with a 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.
awplus#
configure terminal
awplus(config)#
router bgp 10
awplus(config-router)#
neighbor 1.2.3.4 distribute-list mylist out