Release 1.0
Configuring BGP
526360-001-00 Rev. B
MGBI
12-51
shows
set
commands for creating route maps.
Example
The commands in the following example
, executed from Global Configuration
mode, create the route map, locpref, the AS path access list 1, and apply the route
map to a BGP neighbor. They
create the route map, locpref, which sets the local
preference for BGP updates. The route map also uses an AS path access list to permit
any update whose AS path attribute begins and ends with 400. This sets the local
preference to 50 for all updates originating from AS 400.
MOT(config)#route-map locpref permit 10
MOT(config)#match as-path 1
MOT(config)#set local-preference 50
MOT(config)#route-map locpref permit 20
MOT(config)#exit
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
Table 12-3 set Commands
Command
Description
set as-path prepend
Modifies an AS path.
set comm_list
Removes selected communities.
set community
Sets the BGP community attribute.
set ip next-hop
Sets the next-hop attribute of a route.
set local-preference
Set the local preference value.
set metric
Set the metric. For BGP, this is the MED.
set origin
Set the BGP origin.
set weight
Set weight of the route.
Содержание 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 ...