2013/11/17

WB1 7.34 BGP Aggregation - Attribute-Map

7.34 BGP Aggregation - Attribute-Map
• Configure R4 to mark the prefix 112.0.0.0/24 received from BB3 with the community value of “no-export”.
• Ensure this community value propagates across AS 100.
• Configure R1 so that the summary prefix 112.0.0.0/5 is still advertised to AS 300 and AS 200.

-------------------------------------------------------------------------------------------------------------------------------

R4:
no ip prefix-list NET_112
ip prefix-list NET_112 permit 112.0.0.0/8
!
no route-map SET_COMMUNITY
route-map SET_COMMUNITY permit 10
match ip address prefix-list NET_112
set community no-export
!
route-map SET_COMMUNITY permit 100
!
router bgp 100
neighbor 204.12.1.254 route-map SET_COMMUNITY in
neighbor 155.1.146.1 send-community


R1:
route-map ATTR_MAP
set community none
!
router bgp 100
aggregate-address 112.0.0.0 248.0.0.0 summary-only as-set attributemap
ATTR_MAP
neighbor 155.1.146.6 send-community
neighbor 155.1.146.4 send-community


沒有留言:

張貼留言