BLADEOS 6.5.2 Application Guide
264 Chapter 19: Border Gateway Protocol BMD00220, October 2010
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.
8. Exit Router BGP mode.
RS G8124(config-route-map)# as-path-preference <AS number>
RS G8124(config-route-map)# local-preference <local preference number>
RS G8124(config-route-map)# metric <metric value>
RS G8124(config-route-map)# enable
RS G8124(config-route-map)# exit
RS G8124(config)# router bgp
RS G8124(config-router-bgp)# enable
RS G8124(config-router-bgp)# neighbor 1 route-map in <1-32>
RS G8124(config-router-bgp)# neighbor 1 route-map out <1-32>
RS G8124(config-router-bgp)# exit