Technical data
BLADE OS 5.1 Application Guide
136
Chapter 10: Border Gateway Protocol BMD00136, November 2009
4. Set up the BGP attributes.
If you want to overwrite the attributes that the peer router is sending, then define the following BGP
attributes:
Specify the AS numbers that you want to prepend to a matched route and the local preference
for the matched route.
Specify the metric [Multi Exit Discriminator (MED)] for the matched route.
5. Enable the route map.
6. Turn BGP on.
7. Assign the route map to a peer router.
Select the peer router and then add the route map to the incoming route map list,
or to the outgoing route map list.
>> (config-route-map)# as-path-preference <AS number>
>> (config-route-map)# local-preference <local preference number>
>> (config-route-map)# metric <metric value>
>> (config-route-map)# enable
>> # router bgp
>> (config-router-bgp)# enable
>> (config-router-bgp)# neighbor 1 route-map in <1-32>
>>
(config-router-bgp)# neighbor 1 route-map out <1-32>