summaryrefslogtreecommitdiffstats
path: root/tests/topotests/bgp_aigp/r7/bgpd.conf
blob: 639dcfeca8e0b56d5cfd9792c5a6c7e3baaa6728 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
router bgp 65001
 no bgp ebgp-requires-policy
 no bgp network import-check
 neighbor 192.168.67.6 remote-as internal
 neighbor 192.168.67.6 timers 1 3
 neighbor 192.168.67.6 timers connect 1
 address-family ipv4
  redistribute connected route-map rmap metric 71
 exit-address-family
!
ip prefix-list p71 seq 5 permit 10.0.0.71/32
ip prefix-list p72 seq 5 permit 10.0.0.72/32
!
route-map rmap permit 10
 match ip address prefix-list p71
 set aigp igp-metric
!
route-map rmap permit 20
 match ip address prefix-list p72
 set aigp 72
exit
!