summaryrefslogtreecommitdiffstats
path: root/tests/topotests/bgp_vpnv4_asbr/r2/bgpd.conf
diff options
context:
space:
mode:
Diffstat (limited to 'tests/topotests/bgp_vpnv4_asbr/r2/bgpd.conf')
-rw-r--r--tests/topotests/bgp_vpnv4_asbr/r2/bgpd.conf31
1 files changed, 31 insertions, 0 deletions
diff --git a/tests/topotests/bgp_vpnv4_asbr/r2/bgpd.conf b/tests/topotests/bgp_vpnv4_asbr/r2/bgpd.conf
new file mode 100644
index 0000000..4c84d52
--- /dev/null
+++ b/tests/topotests/bgp_vpnv4_asbr/r2/bgpd.conf
@@ -0,0 +1,31 @@
+debug bgp nht
+debug bgp zebra
+debug bgp labelpool
+router bgp 65500
+ bgp router-id 192.0.2.2
+ no bgp ebgp-requires-policy
+ neighbor 192.0.2.100 remote-as 65500
+ neighbor 192.0.2.100 update-source lo
+ neighbor 192.168.0.100 remote-as 65500
+ neighbor 192.168.1.200 remote-as 65502
+ address-family ipv4 unicast
+ no neighbor 192.168.0.100 activate
+ no neighbor 192.168.1.200 activate
+ network 192.0.2.2/32
+ exit-address-family
+ address-family ipv4 labeled-unicast
+ neighbor 192.168.0.100 activate
+ exit-address-family
+ address-family ipv4 vpn
+ neighbor 192.0.2.100 activate
+ neighbor 192.0.2.100 next-hop-self
+ neighbor 192.168.1.200 activate
+ exit-address-family
+!
+interface r2-eth1
+ mpls bgp forwarding
+ mpls bgp l3vpn-multi-domain-switching
+!
+interface r2-eth0
+ mpls bgp l3vpn-multi-domain-switching
+!