summaryrefslogtreecommitdiffstats
path: root/tests/topotests/bgp_l3vpn_label_export/r1/bgpd.conf
diff options
context:
space:
mode:
Diffstat (limited to 'tests/topotests/bgp_l3vpn_label_export/r1/bgpd.conf')
-rw-r--r--tests/topotests/bgp_l3vpn_label_export/r1/bgpd.conf22
1 files changed, 22 insertions, 0 deletions
diff --git a/tests/topotests/bgp_l3vpn_label_export/r1/bgpd.conf b/tests/topotests/bgp_l3vpn_label_export/r1/bgpd.conf
new file mode 100644
index 0000000..bb1ed4c
--- /dev/null
+++ b/tests/topotests/bgp_l3vpn_label_export/r1/bgpd.conf
@@ -0,0 +1,22 @@
+router bgp 65001
+ bgp router-id 192.0.2.1
+ no bgp default ipv4-unicast
+ no bgp ebgp-requires-policy
+ neighbor 192.0.2.2 remote-as 65002
+ neighbor 192.0.2.2 timers 1 3
+ neighbor 192.0.2.2 timers connect 1
+ neighbor 192.0.2.2 ebgp-multihop 2
+ address-family ipv4 vpn
+ neighbor 192.0.2.2 activate
+ exit-address-family
+!
+router bgp 65001 vrf vrf1
+ address-family ipv4 unicast
+ redistribute connected
+ label vpn export 1111
+ rd vpn export 101:1
+ rt vpn both 52:100
+ import vpn
+ export vpn
+ exit-address-family
+!