System information

BSR 64000 Configuration and Management Guide
7-8
Example
This example configures a router with two AS-path access lists. Routes that pass
AS-path access-list 1 are sent to one destination. Routes that pass AS-path access-list
2 are accepted from another destination. The commands below specify permit and
deny conditions for AS-path access lists.
ip as-path access-list 1 permit _200$
ip as-path access-list 1 permit ^100$
ip as-path access-list 2 deny _690$
ip as-path access-list 2 permit .*
The commands below enable BGP and specify an autonomous system, define two
neighbor peers, assign the AS path list to one of the neighbor BGP peers, and assign a
second AS path list to the other neighbor to indicate that outbound routes have the
conditions defined in AS-path access-list 2 applied.
router bgp 100
neighbor 156.30.10.22 remote-as 200
neighbor 160.25.15.10 remote-as 300
neighbor 156.30.10.22 filter-list 1 out
neighbor 156.30.10.22 filter-list 2 out
Configuring an IP Access Group
No access groups defined by default on the BSR. Use the ip access-group command
in Interface Configuration mode to configure an interface to use an access list.
MOT(config-if)#ip access-group {<num:1-199> <num:1300-2699> {in | out}
where:
num:1-199 is the standard access list
num:1300-2699 is the extended access list
in incoming packet is processed only if the source-address is in the access-list.
Note: Use the no ip access-group command to delete an access group on
an interface.