CE1:配置
sysname CE1
bridge-domain 10
vxlan vni 10
bridge-domain 20
vxlan vni 20
interface GE1/0/0
undo shutdown
interface GE1/0/0.10 mode l2
encapsulation dot1q vid 10
bridge-domain 10
interface GE1/0/0.20 mode l2
encapsulation dot1q vid 20
bridge-domain 10
interface GE1/0/1
undo portswitch
undo shutdown
ip address 10.1.12.1 255.255.255.0
interface LoopBack0
ip address 1.1.1.1 255.255.255.255
interface Nve1
source 1.1.1.1
vni 10 head-end peer-list 2.2.2.2
interface NULL0
ospf 1
area 0.0.0.0
network 1.1.1.1 0.0.0.0
network 10.1.12.0 0.0.0.255
CE2:配置
sysname CE2
bridge-domain 10
vxlan vni 10
interface GE1/0/0
undo shutdown
interface GE1/0/0.10 mode l2
encapsulation dot1q vid 10
bridge-domain 10
interface GE1/0/0.20 mode l2
encapsulation dot1q vid 20
bridge-domain 10
interface GE1/0/1
undo portswitch
undo shutdown
ip address 10.1.12.2 255.255.255.0
interface LoopBack0
ip address 2.2.2.2 255.255.255.255
interface Nve1
source 2.2.2.2
vni 10 head-end peer-list 1.1.1.1
ospf 1
area 0.0.0.0
network 2.2.2.2 0.0.0.0
network 10.1.12.0 0.0.0.255
留言与评论(共有 0 条评论) “” |