Release 1.0
Configuring BGP
526360-001-00 Rev. B
MGBI
12-53
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
Autonomous System (AS) paths can be applied to an AS path access list by using
permit and deny arguments. 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 in Global Configuration mode to define an
AS path access list:
MOT(config)#
ip as-path access-list
<
1-199
> {
permit
|
deny
} <
LINE
>
where:
1-199
is the access list number.
permit
specifies the packets to forward from the specified access list.
deny
specifies the packets to reject from the specified access list.
LINE
is a valid path regular expression.
Example
The commands in the example below configure 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, executed in
Global Configuration mode, specify permit and deny conditions for AS path access
lists 1 and 2.
MOT(config)#ip as-path access-list 1 permit _200
MOT(config)#ip as-path access-list 1 permit ^100
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.
Содержание BSR 2000
Страница 1: ...BSR 2000 Configuration and Management Guide 526360 001 00 Rev B Release 1 0 MGBI ...
Страница 6: ... Motorola Motorola Motorola Motorola Motorola Motorola Motorola Motorola Motorola ...
Страница 50: ......
Страница 130: ......
Страница 164: ......
Страница 458: ......
Страница 490: ......
Страница 580: ......
Страница 632: ......
Страница 648: ......
Страница 649: ......
Страница 650: ...526360 001 00 Rev B 7 06 MGBI Visit our website at www motorola com ...