标签:domain ret dot1q desc state ima undo loop system
CE3]dis bridge-domain
The total number of bridge-domains is : 1
10 up enable disable FWD FWD FWD disable
10 10 up
[CE2]
sysname CE2
#
bridge-domain 10 //创建桥接域
vxlan vni 10 //vxlan的网络标识号
#
interface GE1/0/0
undo portswitch
undo shutdown
#
nterface GE1/0/0.1 mode l2 //创建2层子接口 用于和BD域绑定
encapsulation dot1q vid 10
bridge-domain 10
#
interface GE1/0/1
undo portswitch
undo shutdown
ip address 12.1.1.2 255.255.255.0
interface LoopBack0
ip address 2.2.2.2 255.255.255.255
ospf enable 1 area 0.0.0.0
#
interface Nve1 //隧道接口
source 2.2.2.2
vni 10 head-end peer-list 3.3.3.3
#
ospf 1 router-id 2.2.2.2
area 0.0.0.0
network 12.1.1.0 0.0.0.255
#
==================================================================
[CE3]
sysname CE3
#
bridge-domain 10
vxlan vni 10
#
interface GE1/0/0
undo portswitch
undo shutdown
ip address 13.1.1.3 255.255.255.0
#
interface GE1/0/1
undo shutdown
#
interface GE1/0/1.1 mode l2
encapsulation dot1q vid 10
bridge-domain 10
#
interface LoopBack0
ip address 3.3.3.3 255.255.255.255
ospf enable 1 area 0.0.0.0
#
interface Nve1
source 3.3.3.3
vni 10 head-end peer-list 2.2.2.2
#
ospf 1 router-id 3.3.3.3
area 0.0.0.0
network 13.1.1.0 0.0.0.255
标签:domain ret dot1q desc state ima undo loop system
原文地址:https://blog.51cto.com/8054811/2476053