当前位置:网站首页>静态Vxlan 配置
静态Vxlan 配置
2022-07-07 10:27:00 【__Dong】
config
CE1 、CE2
>system-view immediately ## 输入命令立即设生效,避免输入commit 麻烦
## CE1
配置底层underlay网络
interface GE1/0/0
undo portswitch
undo shutdown
ip add 12.0.0.1 24
int lo0
ip add 1.1.1.1 24
ospf 1
are 0
int G1/0/0
ospf enable are 0
int lo0
ospf enable are 0
##CE2
CE2
interface GE1/0/0
undo portswitch
undo shutdown
ip address 12.0.0.2 255.255.255.0
ospf enable 1 area 0.0.0.0
interface LoopBack0
ip address 2.2.2.2 255.255.255.0
ospf enable 1 area 0.0.0.0
ospf 1
area 0.0.0.0
SW1、SW2
##SW1
vlan batch 10
interface GigabitEthernet0/0/1
port link-type trunk
port trunk allow-pass vlan 2 to 4094
interface GigabitEthernet0/0/2
port link-type access
port default vlan 10
##SW2
vlan batch 20
interface GigabitEthernet0/0/1
port link-type trunk
port trunk allow-pass vlan 2 to 4094
interface GigabitEthernet0/0/2
port link-type access
port default vlan 20
配置vxlan
##SW1
bridge-domain 10
vxlan vni 10
interface GE1/0/1.1 mode l2
encapsulation dot1q vid 10 ## vlan id为10 的数据包允许进入隧道
bridge-domain 10
interface Nve1
source 1.1.1.1
vni 10 head-end peer-list 2.2.2.2
##SW2
bridge-domain 10
vxlan vni 10
interface GE1/0/1.1 mode l2
encapsulation dot1q vid 20 ## vlan id为20 的数据包允许进入隧道
bridge-domain 10
interface Nve1
source 2.2.2.2
vni 10 head-end peer-list 1.1.1.1
测试:
边栏推荐
- 全球首堆“玲龙一号”反应堆厂房钢制安全壳上部筒体吊装成功
- Superscalar processor design yaoyongbin Chapter 8 instruction emission excerpt
- Camera calibration (1): basic principles of monocular camera calibration and Zhang Zhengyou calibration
- UP Meta—Web3.0世界创新型元宇宙金融协议
- Will the filing free server affect the ranking and weight of the website?
- 浅谈估值模型 (二): PE指标II——PE Band
- Mastering the new functions of swiftui 4 weatherkit and swift charts
- 《通信软件开发与应用》课程结业报告
- [neural network] convolutional neural network CNN [including Matlab source code 1932]
- Present pod information to the container through environment variables
猜你喜欢
Unity 贴图自动匹配材质工具 贴图自动添加到材质球工具 材质球匹配贴图工具 Substance Painter制作的贴图自动匹配材质球工具
全球首堆“玲龙一号”反应堆厂房钢制安全壳上部筒体吊装成功
Flet tutorial 17 basic introduction to card components (tutorial includes source code)
Epp+dis learning path (1) -- Hello world!
Camera calibration (2): summary of monocular camera calibration
The hoisting of the upper cylinder of the steel containment of the world's first reactor "linglong-1" reactor building was successful
[filter tracking] strapdown inertial navigation pure inertial navigation solution matlab implementation
Hi3516 full system type burning tutorial
Tutorial on principles and applications of database system (010) -- exercises of conceptual model and data model
2022 8th "certification Cup" China University risk management and control ability challenge
随机推荐
In the small skin panel, use CMD to enter the MySQL command, including the MySQL error unknown variable 'secure_ file_ Priv 'solution (super detailed)
Camera calibration (2): summary of monocular camera calibration
PowerShell cs-utf-16le code goes online
College entrance examination composition, high-frequency mention of science and Technology
EPP+DIS学习之路(1)——Hello world!
【滤波跟踪】捷联惯导纯惯导解算matlab实现
从工具升级为解决方案,有赞的新站位指向新价值
112.网络安全渗透测试—[权限提升篇10]—[Windows 2003 LPK.DDL劫持提权&msf本地提权]
111. Network security penetration test - [privilege escalation 9] - [windows 2008 R2 kernel overflow privilege escalation]
Improve application security through nonce field of play integrity API
What are the technical differences in source code anti disclosure
Tutorial on the principle and application of database system (011) -- relational database
30. Feed shot named entity recognition with self describing networks reading notes
Xiaohongshu microservice framework and governance and other cloud native business architecture evolution cases
MATLAB實現Huffman編碼譯碼含GUI界面
什么是局域网域名?如何解析?
An error occurred when vscade tried to create a file in the target directory: access denied [resolved]
Common locking table processing methods in Oracle
问题:先后键入字符串和字符,结果发生冲突
Cenos openssh upgrade to version 8.4