To apply an access list:
neighbor { ipAddress | ipv6Address | peerGroupName } filter-list
accessListName { in | out }
no neighbor { ipAddress | ipv6Address | peerGroupName } filter-list
[ accessListName ] { in | out }
To assign a weight:
neighbor { ipAddress | ipv6Address | peerGroupName } filter-list
accessListName weight value
no neighbor { ipAddress | ipv6Address | peerGroupName } filter-list
[ accessListName ] weight [ value ]
Command introduced before JunosE Release
7.1.0.
ipv6Address variable added
in JunosE Release 8.0.0.
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.
Address Family Configuration, Router Configuration