neighbor filter-list
Applies an AS path access list to advertisements inbound from or outbound to the specified neighbor, or assigns a weight to incoming routes that match the AS path access list. The no version stops the application of the list or assignment of the weight.
To apply an access list:
neighbor { ipAddress | peerGroupName } filter-list accessListName { in | out }
no neighbor { ipAddress | peerGroupName } filter-list [ accessListName ] { in | out }
neighbor { ipAddress | peerGroupName } filter-list accessListName weight value
no neighbor { ipAddress | peerGroupName } filter-list [ accessListName ] weight [ value ]
- ipAddress—Neighbor's IP address
- peerGroupName—Name of a BGP peer group. If you specify a BGP peer group by using the peerGroupName argument, all the members of the peer group inherit the characteristic configured with this command, unless it is overridden for a specific peer.
- accessListName—Name of a single AS path access list; string of up to 32 characters
- in—Applies access list to incoming routes (inbound policy)
- out—Applies access list to outgoing routes (outbound policy); you cannot configure a member of a peer group to override the inherited peer group characteristic for outbound policy
- value—Number in the range 0-65535; assigns relative importance to incoming routes matching AS paths
Address Family Configuration, Router Configuration