User's Manual
469
901”. These routes may have other attribute values.
All routes transmitting community list com2 will be set with the local preference value as 500.
All other routes will be set with the local priority value as 50. So, all the rest of the routes of neighbor
171.69.232.55 have the preference of 50.
router bgp 200
neighbor 171.69.232.55 remote-as 100
neighbor 171.69.232.55 route-map filter-on-community in
!
route-map filter-on-community 10 permit
match community com1
set metric 8000
!
route-map filter-on-community 20 permit
match community com2
set local-preference 500
!
route-map filter-on-community 30 permit
set local-preference 50
!
ip community-list com1 permit 100 200 300
ip community-list com1 permit 900 901
!
ip community-list com2 permit 88
ip community-list com2 permit 90
!