System information

BSR 64000 Configuration and Management Guide
12-62
any is the abbreviation for 0.0.0.0 address and 255.255.255.255 wildcard to
match against any IP address.
Permit and deny conditions in an IP access list apply to IP addresses. Use the
neighbor distribute-list command to apply an access list to a BGP neighbor.
Example
This sample configuration
filters BGP updates from a BGP neighbor. The
following commands, executed in
Global Configuration mode, configure standard
Access List 4 by specifying its permit and deny conditions. Access list 4 prohibits the
propagation of networks specified in the deny statements (10.0.0.0, 162.15.0.0, and
180.10.0.0) and permits all others.
MOT(config)#access-list 4 deny 10.0.0.0 0.255.255.255
MOT(config)#access-list 4 deny 162.15.0.0 0.0.255.255
MOT(config)#access-list 4 deny 180.10.0.0 0.0.255.255
MOT(config)#access-list 4 permit any
The following commands, also executed in Global Configuration mode, enable BGP,
specify an AS, and apply Access List 4 to a neighbor. The example instructs the router
to pass all network information received from the BGP neighbor 156.30.10.22
through access list 4.
MOT(config)#router bgp 100
MOT(config-bgp)#neighbor 156.30.10.22 distribute-list 4 in
Configuring an AS Path Access List
The permit and deny conditions in an AS path access list apply to AS paths. The
neighbor filter-list command applies an AS path access list for inbound and
outbound updates to a BGP neighbor. The match as_path command adds a match
clause to a route map. To define an AS path access list, use the ip as-path access-list
command in Router BGP Configuration mode, as shown below:
Note: Any type of list always has an assumed deny all entry as the last
statement. If there are no matches at the end, the route or match (depending
on the type of list and/or how it is used) is denied.