summaryrefslogtreecommitdiffstats
path: root/tests/topotests/bgp_vpnv4_ebgp/r1/bgpd.conf
blob: 0249279c65d2cb547a4d515f754478f74c760865 (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
router bgp 65500
 bgp router-id 192.0.2.1
 no bgp ebgp-requires-policy
 neighbor 192.168.0.2 remote-as 65501
 neighbor 192.168.0.3 remote-as 65501
 address-family ipv4 unicast
  no neighbor 192.168.0.3 activate
  no neighbor 192.168.0.2 activate
 exit-address-family
 address-family ipv4 vpn
  neighbor 192.168.0.2 activate
  neighbor 192.168.0.3 activate
 exit-address-family
!
router bgp 65500 vrf vrf1
 bgp router-id 192.0.2.1
 address-family ipv4 unicast
  redistribute connected
  label vpn export 101
  rd vpn export 444:1
  rt vpn both 52:100
  export vpn
  import vpn
 exit-address-family
!
interface r1-eth0
 mpls bgp forwarding
!