summaryrefslogtreecommitdiffstats
path: root/tests/topotests/bgp_snmp_mplsl3vpn/r1/bgpd.conf
blob: b80a90ac7d1e46e01581a93b62b9a3a33270f25c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
!
router bgp 65000
 bgp router-id 10.1.1.1
 neighbor 10.4.4.4 remote-as 65000
 neighbor 10.4.4.4 update-source 10.1.1.1
 neighbor 10.4.4.4 timers connect 10
 !
 address-family ipv4 vpn
  neighbor 10.4.4.4 activate
 exit-address-family

!
router bgp 65001 vrf VRF-a
 bgp router-id 192.168.100.20
 timers bgp 3 9
 neighbor 192.168.100.10 remote-as 65001
 neighbor 192.168.100.10 update-source 192.168.100.20
 neighbor 192.168.200.10 remote-as 65001
 neighbor 192.168.200.10 update-source 192.168.200.20
 !
 address-family ipv4 unicast
  redistribute connected
  redistribute isis
  label vpn export 1111
  rd vpn export 10:1
  rt vpn both 1:1
  export vpn
  import vpn
 exit-address-family

router bgp 65002 vrf VRF-b
 bgp router-id 192.168.10.20
 timers bgp 3 9
 neighbor 192.168.10.10 remote-as 65003
 neighbor 192.168.10.10 update-source 192.168.10.20
!
 address-family ipv4 unicast
  redistribute connected
  redistribute isis
  label vpn export 6666
  rd vpn export 10:2
  rt vpn both 1:2
  export vpn
  import vpn
 exit-address-family

agentx