System information
BSR 64000 Configuration and Management Guide
12-68
The next commands, also executed in Global Configuration mode, define the first
instance of the route map with the appropriate match and set clauses and specify route
map 10, instance 10. This permits the route to be accepted and its local preference to
be set to 50. The last command indicates that the route is part of the communities
defined in Community List 1.
MOT(config)#route-map 10 permit 10
MOT(config)#match community 1
MOT(config)#set local preference 50
The following commands define the second instance of the route map, route map 10
to permit the route to be accepted and its local preference to be set to 25 if the route is
part of the communities defined in Community List 2.
MOT(config)#route-map 10 permit 20
MOT(config)#match community 2
MOT(config)#set local preference 25
The following commands, executed from Global Configuration mode, enable BGP
and specify an AS. As indicated in Figure 12-21, they specify the AS for Router
Boston in AS 100. They specify the AS of the BGP neighbors, New York and Miami,
to which the route map applies, and apply the route map 10 for all incoming routes
from router New York and Miami.
MOT(config)#router bgp 100
MOT(config-bgp)#neighbor 3.3.3.1 remote-as 200
MOT(config-bgp)#neighbor 3.3.3.1 route-map 10 in
MOT(config-bgp)#neighbor 2.2.2.1 remote-as 300
MOT(config-bgp)#neighbor 2.2.2.1 route-map 10 in
It is assumed that the New York and Miami routers set their outgoing routes (to
Boston) to belong to communities 200 and 300, respectively.