Version 6.8 71 Mediant MSBR
Configuration Guide 11. Dynamic IP Routing
11.4.2 Filtering Dynamic Routing Protocol Routes
You can manipulate the BGP/OSPF/RIP routing advertisements using the route-map
menu. Route-map contains tools to prioritize routes from specific BGP/OSPF/RIP sources,
as well as denying some BGP/OSPF/RIP sources to be advertised in the MSBR routing
table. The example below demonstrates both methods:
*******************************************
Basic Configuration omitted
*******************************************
MSBR(conf-router)# ip prefix-list Example seq 5 deny host
10.10.10.10
MSBR(conf-router)# route-map Example1 permit 10
MSBR(conf-route-map)# match ip address prefix-list Example
MSBR(conf-route-map)# set weight 10
MSBR(conf-route-map)# exit
MSBR(conf-router)# route-map Example1 permit 20
MSBR(conf-route-map)# exit
MSBR(conf-router)# route-map Example2 permit 10
MSBR(conf-route-map)# match ip address prefix-list Example
MSBR(conf-route-map)# set weight 20
MSBR(conf-route-map)# exit
MSBR(conf-router)# route-map Example2 permit 20
MSBR(conf-route-map)# exit
MSBR(conf-router)# router bgp 65000
MSBR(conf-router)# bgp router-id 1.1.1.1
MSBR(conf-router)# bgp log-neighbor-changes
MSBR(conf-router)# network 100.0.12.0/24
MSBR(conf-router)# network 200.0.5.0/24
MSBR(conf-router)# network 192.168.0.0/24
MSBR(conf-router)# neighbor 100.0.12.20 remote-as 55101
MSBR(conf-router)# neighbor 100.0.12.20 Activate
MSBR(conf-router)# neighbor 100.0.12.20 route-map Example1 in
MSBR(conf-router)# neighbor 200.0.5.20 remote-as 55202
MSBR(conf-router)# neighbor 200.0.5.10 Activate
MSBR(conf-router)# neighbor 200.0.5.10 route-map Example1 in
BGP Attribute
tweaking using
Route-Maps