beautypg.com

52 neighbor distribute-list – CANOGA PERKINS CanogaOS Command Reference User Manual

Page 312

background image

CanogaOS Command Line Reference

Revision 1.02

Proprietary & Confidential Canoga Pertkins Metro Ethernet Switches

Page 312 of 855

Command Syntax

(no) neighbor NEIGHBORID description .LINE
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.

LINE = Up to 80 characters of text describing the neighbor.

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