frr/tests/topotests/bgp_extended_link_bandwidth/r1/frr.conf

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

33 lines
875 B
Text
Raw Normal View History

!
int r1-eth0
ip address 192.168.1.1/24
!
router bgp 65000
no bgp ebgp-requires-policy
no bgp network import-check
neighbor 192.168.1.2 remote-as internal
neighbor 192.168.1.2 timers 1 3
neighbor 192.168.1.2 timers connect 1
neighbor 192.168.1.2 extended-link-bandwidth
address-family ipv4 unicast
network 10.10.10.40/32
network 10.10.10.100/32
network 10.10.10.200/32
neighbor 192.168.1.2 route-map r2 out
exit-address-family
!
ip prefix-list p40 seq 5 permit 10.10.10.40/32
ip prefix-list p100 seq 5 permit 10.10.10.100/32
ip prefix-list p200 seq 5 permit 10.10.10.200/32
!
route-map r2 permit 10
match ip address prefix-list p40
set extcommunity bandwidth 40000
route-map r2 permit 20
match ip address prefix-list p100
set extcommunity bandwidth 100000
route-map r2 permit 30
match ip address prefix-list p200
set extcommunity bandwidth 200000
exit