summaryrefslogtreecommitdiffstats
path: root/tests/topotests/bgp_soo/pe1/bgpd.conf
blob: 04a6857c7cd6d0c94a1116ec353edcb9862d9520 (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
router bgp 65001
 bgp router-id 10.10.10.10
 no bgp ebgp-requires-policy
 no bgp default ipv4-unicast
 neighbor 10.10.10.20 remote-as internal
 neighbor 10.10.10.20 update-source 10.10.10.10
 address-family ipv4 vpn
  neighbor 10.10.10.20 activate
 exit-address-family
!
router bgp 65001 vrf RED
 bgp router-id 192.168.1.2
 no bgp ebgp-requires-policy
 neighbor 192.168.1.1 remote-as external
 neighbor 192.168.1.1 timers 1 3
 neighbor 192.168.1.1 timers connect 1
 address-family ipv4 unicast
  neighbor 192.168.1.1 as-override
  neighbor 192.168.1.1 soo 65000:1
  label vpn export 1111
  rd vpn export 192.168.1.2:2
  rt vpn import 192.168.2.2:2 192.168.1.2:2
  rt vpn export 192.168.1.2:2
  export vpn
  import vpn
 exit-address-family
!