ENSP Pro VXLAN EVPN分布式网关部署配置
# 设备A配置
sysname A
vlan batch 10 20
interface Vlanif10
ip address 10.1.1.1 255.255.255.0
interface Vlanif20
ip address 10.1.2.1 255.255.255.0
interface MEth0/0/1
switchport mode trunk
port link-type access
port default vlan 10
interface GigabitEthernet0/0/1
port link-type trunk
port trunk allow-pass vlan 10 20
bgp 100
peer 10.1.1.2 as-number 200
peer 10.1.1.2 ebgp-max-hop 2
family evpn
family inet vpn-instance vpn1
# 设备B配置
sysname B
vlan batch 10 20
interface Vlanif10
ip address 10.1.1.2 255.255.255.0
interface Vlanif20
ip address 10.1.2.2 255.255.255.0
interface MEth0/0/1
switchport mode trunk
port link-type access
port default vlan 10
interface GigabitEthernet0/0/1
port link-type trunk
port trunk allow-pass vlan 10 20
bgp 200
peer 10.1.1.1 as-number 100
peer 10.1.1.1 ebgp-max-hop 2
family evpn
family inet vpn-instance vpn2
这个配置实例展示了如何在设备A和B上配置VXLAN EVPN,包括创建VLAN接口、分配IP地址、配置互联的以太网通道接口和物理接口,并启动BGP进程以建立EVPN对等体关系。这是一个简化的配置,实际部署时需要根据网络的实际情况进行更详细的配置。
评论已关闭