System information

Configuring BGP
12-61
The following commands, executed from Global Configuration mode, create AS_path
access list 1:
MOT(config-bgp)#ip as-path access-list 1 permit ^400
These commands, also executed from Global Configuration mode, apply the route
map to a BGP neighbor:
MOT(config)#router bgp 100
MOT(config-bgp)#neighbor 160.20.30.4 route-map locpref in
MOT(config-bgp)#exit
Handling Access Lists
An access list is a sequential collection of permit and deny conditions. The BSR tests
conditions one-by-one against conditions in an access list. The BSR supports the
following two types of access-lists:
IP access list
AS path access list
Configuring an Access List
To define an extended IP access list entry, use the access-list command in Global
Configuration mode, as shown below:
MOT(config)#access-list <access-list-number> {permit | deny} ip
{<source-address> <source-address-wildcard> | any} {<destination-address>
<destination-address-wildcard> | any}
where:
access-list-number is the number of the access list.
source-address is the source IP address.
source-address-mask is the network wildcard bits of the source address.
destination-address is the destination IP address.
destination-address-mask
is the network wildcard bits of the destination address.