组网R1 -- CE12800 -- CE12800 --- R2
其中R1、R2是模拟VM的
R1的配置:
interface GigabitEthernet0/0/0
#
interface GigabitEthernet0/0/0.1
vlan-type dot1q 10
ip address 10.1.1.1 255.255.255.0
#
R2的类似
CE1的配置:
vlan batch 10
#
interface GE1/0/0
undo portswitch
undo shutdown
ip address 1.1.1.2 255.255.255.0
#
interface GE1/0/1
undo shutdown
port default vlan 10
esi 0000.1002.1001.1001.1002
#
evn bgp
source-address 1.1.1.2
peer 1.1.1.1
#
evn evn-name evn-name2
evn-id 111
vlan vlan-list 10
#
CE2的类似