21 lines
488 B
Text
21 lines
488 B
Text
|
!
|
||
|
debug bgp updates
|
||
|
!
|
||
|
router bgp 65002
|
||
|
no bgp ebgp-requires-policy
|
||
|
neighbor 10.0.1.1 remote-as external
|
||
|
neighbor 10.0.1.1 timers 3 10
|
||
|
neighbor 10.0.2.2 remote-as external
|
||
|
neighbor 10.0.2.2 timers 3 10
|
||
|
address-family ipv4 unicast
|
||
|
redistribute connected
|
||
|
neighbor 10.0.1.1 route-map c1 out
|
||
|
exit-address-family
|
||
|
!
|
||
|
bgp community-list standard c1 seq 1 permit 65004:2
|
||
|
bgp community-list standard c1 seq 2 permit 65004:3
|
||
|
!
|
||
|
route-map c1 permit 10
|
||
|
set comm-list c1 delete
|
||
|
!
|