52 neighbor distribute-list – CANOGA PERKINS 9175 Command Reference User Manual
Page 279
![background image](/manuals/651401/279/background.png)
CanogaOS Command Reference
16-34
Command Mode
Router mode and Address Family ipv4 vrf mode (if BGP/VPN is supported)
Examples
Switch# configure terminal
Switch(config)# router bgp 10
Switch(config-router)# neighbor 1.2.3.4 description Backup router for sales.
16.52 neighbor distribute-list
Use this command to filter route update from a particular BGP neighbor.
Use the no parameter with this command to remove an entry.
Command Syntax
(no) neighbor NEIGHBORID distribute-list ACCESSLISTID in|out
NEIGHBORID = A.B.C.D|X:X::X:X|TAG
A.B.C.D Specifies the address of the BGP neighbor in IPv4 format.
X:X::X:X Specifies the address of the BGP neighbor in IPv6 format.
TAG Name of an existing peer-group. For information on how to create peer groups, refer to the
neighbor peer-group and neighbor remote-as commands. When this parameter is used
with a command, the command applies on all peers in the specified group.
ACCESSLISTID = WORD|<1-199>|<1300-2699>
WORD The name of IP access-list
<1-199> The IP access-list number
<1300-2699> The IP access-list number (expanded range)
in Indicates that incoming advertised routes will be filtered.
out Indicates that outgoing advertised routes will be filtered.
Command Mode
Router mode and Address Family mode
Usage
Use only one distribute-list per BGP neighbor.
Examples
Switch# configure terminal
Switch(config)# router bgp 10
Switch(config-router)# neighbor 1.2.3.4 distribute-list mylist out