
CE1 Device
sysname CE1
#
evpn-overlay enable
#
router id 10.10.10.2
#
evpn
#
bridge-domain 10
vxlan vni 10
#
bridge-domain 20
vxlan vni 5010
#
interface GE1/0/0
undo portswitch
undo shutdown
ip address 192.168.1.2 255.255.255.252
#
interface GE1/0/1.1 mode l2
encapsulation dot1q vid 10
bridge-domain 10
#
interface LoopBack0
ip address 10.10.10.2 255.255.255.255
#
interface Nve1
source 10.10.10.2
vni 10 head-end peer-list 10.10.10.3
#
interface NULL0
#
ospf 1
area 0.0.0.0
network 10.10.10.2 0.0.0.0
network 192.168.1.0 0.0.0.3
#
CE2 Device
sysname CE2
#
interface GE1/0/0
undo portswitch
undo shutdown
ip address 192.168.1.1 255.255.255.252
#
interface GE1/0/1
undo portswitch
undo shutdown
ip address 192.168.1.5 255.255.255.252
#
interface LoopBack0
ip address 10.10.10.1 255.255.255.255
#
interface NULL0
#
ospf 1
area 0.0.0.0
network 10.10.10.1 0.0.0.0
network 192.168.1.0 0.0.0.3
network 192.168.1.4 0.0.0.3
#
CE3 Device
sysname CE3
#
#
bridge-domain 10
vxlan vni 10
#
interface GE1/0/0
undo portswitch
undo shutdown
ip address 192.168.1.6 255.255.255.252
#
interface GE1/0/1.1 mode l2
encapsulation dot1q vid 10
bridge-domain 10
#
#
interface LoopBack0
ip address 10.10.10.3 255.255.255.255
#
interface Nve1
source 10.10.10.3
vni 10 head-end peer-list 10.10.10.2
#
interface NULL0
#
ospf 1
area 0.0.0.0
network 10.10.10.3 0.0.0.0
network 192.168.1.4 0.0.0.3
#
return