summaryrefslogtreecommitdiffstats
path: root/tests/topotests/bgp_vpnv4_asbr/r3/bgpd.conf
blob: b7592e444d52d95dbfc3e257b008100a2c49919d (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
router bgp 65501
 bgp router-id 192.0.2.3
 no bgp ebgp-requires-policy
 no bgp enforce-first-as
 neighbor 192.168.1.200 remote-as 65502
 address-family ipv4 unicast
  no neighbor 192.168.1.200 activate
 exit-address-family
 address-family ipv4 vpn
  neighbor 192.168.1.200 activate
 exit-address-family
!
router bgp 65501 vrf vrf1
 bgp router-id 192.0.2.3
 address-family ipv4 unicast
  redistribute connected
  label vpn export 102
  rd vpn export 444:3
  rt vpn both 52:100
  export vpn
  import vpn
 exit-address-family
!
interface r3-eth0
 mpls bgp forwarding
!