EVPN 6Wind

EVPN common configuration

In EVPN, BGP must be configured to learn VNIs of local VXLAN interfaces, as follows:

/ vrf main routing bgp router-id 10.0.0.1 as 65500
/ vrf main routing bgp address-family l2vpn-evpn enabled true
/ vrf main routing bgp address-family l2vpn-evpn advertise-all-vni true
/ vrf main routing bgp neighbor 10.10.1.2 address-family l2vpn-evpn enabled true

and the following configuration activates EVPN for the 10.10.1.2 neighbor.:

/ vrf main routing bgp neighbor 10.10.1.2 remote-as 65500
/ vrf main routing bgp neighbor 10.10.1.2 address-family l2vpn-evpn enabled true

and add interface vxlan and vni id to encapsulation vlan:

 / vrf main interface vxlan vxlan1 local 10.10.1.1 vni 10
/ vrf main interface bridge br-1 link-interface vxlan1
/ vrf main interface bridge br-1 link-interface eth2

and config on the neighbor peer :

/ vrf main routing bgp router-id 10.0.0.2 as 65500
/ vrf main routing bgp neighbor 10.10.1.1 remote-as internal
/ vrf main routing bgp address-family l2vpn-evpn enabled true
/ vrf main routing bgp address-family l2vpn-evpn advertise-all-vni true
/ vrf main routing bgp neighbor 10.10.1.1 address-family l2vpn-evpn enabled true
/ vrf main interface vxlan vxlan1 local 10.10.1.2 vni 10
/ vrf main interface bridge br-1 link-interface vxlan1
/ vrf main interface bridge br-1 link-interface eth2

Leave a Reply

Your email address will not be published. Required fields are marked *