Release 1.0
Configuring Routing Policy
526360-001-00 Rev. B
MGBI
8-7
Example
This configuration example
filters BGP updates from a BGP neighbor. It
configures
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.
access-list 4 deny 10.0.0.0 0.255.255.255 any
access-list 4 deny 162.15.0.0 0.0.255.255 any
access-list 4 deny 180.10.0.0 0.0.255.255 any
access-list 4 permit any
The following commands enable BGP, specify an autonomous system, and apply
Access List 4 to a neighbor. The example instructs the router to pass all network
information received from BGP neighbor 156.30.10.22 through access list 4.
router bgp 100
neighbor 160.25.15.10 distribute-list 4 in
Configuring an AS-path Access-list
The permit and deny conditions in an AS-path access list apply to AS numbers. 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.
Use the
ip as-path-access-list
command to define an AS-path access list:
MOT
(config)#
ip as-path-access-list
<1-199>
{
permit
|
deny
}
<LINE>
where:
1-199
is the regular expression access list number.
LINE
is a valid path expression.
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.
Note:
All lists have an assumed deny all entry as the last statement. If no
matches exist, the route or set is denied.
Summary of Contents for BSR 2000
Page 1: ...BSR 2000 Configuration and Management Guide 526360 001 00 Rev B Release 1 0 MGBI ...
Page 6: ... Motorola Motorola Motorola Motorola Motorola Motorola Motorola Motorola Motorola ...
Page 50: ......
Page 130: ......
Page 164: ......
Page 458: ......
Page 490: ......
Page 580: ......
Page 632: ......
Page 648: ......
Page 649: ......
Page 650: ...526360 001 00 Rev B 7 06 MGBI Visit our website at www motorola com ...