首页 > 其他 > 详细

华为ce交换机 Bridge-Domain NVE

时间:2020-07-08 20:33:02      阅读:371      评论:0      收藏:0      [点我收藏+]

NVE是一个虚拟接口,用来做建立隧道的

手动配置隧道时,交换机要跟谁建立隧道都写在里面

就类似于传统网络中VLAN(虚拟局域网)的概念,只不过在VXLAN网络中,它有另外一个名字,叫做Bridge-Domain,简称BD。

 

 

技术分享图片

 

表1 VMware NSX控制器下发的配置

配置

说明

NVE接口视图下:vni vni-id head-end peer-list ip-address &<1-10>

配置单播VXLAN隧道。

NVE接口视图下:vni vni-id flood-vtep ip-address &<1-10>

配置由Replicator处理BUM报文。

  1. 系统视图下:interface interface-type interface-number.subnum mode l2

  2. 二层子接口视图下:encapsulation { dot1q [ vid ce-vid ] | untag }

  3. 二层子接口视图下:bridge-domain bd-id

配置VXLAN业务接入点,封装类型为Dot1q或者Untag。

在VMware NSX控制器Web界面上执行将CE交换机的接口绑定到逻辑交换机中时,如果设置的VLAN ID为0,表示封装类型为Untag;如果设置的VLAN ID为非0,表示封装类型为Dot1q。

  1. 系统视图下:bridge-domain bd-id

  2. BD视图下:vxlan vni vni-id

  3. BD视图下:ovsdb enable

配置BD。

系统视图下:bfd session-name bind vxlan peer-ip peer-ip-address source-ip source-ip-address peer-mac peer-mac-address auto

BFD会话视图下:min-rx-interval interval

配置BFD for VXLAN。

https://support.huawei.com/hedex/hdx.do?lib=EDOC110005400231180APE&docid=EDOC1100054002&lang=zh&v=06&tocLib=EDOC110005400231180APE&tocV=06&id=ZH-CN_CONCEPT_0141115068&tocURL=resources%252fdc%252fdc%255fcfg%255fovsdb%255f0007%252ehtml&p=t&fe=1&ui=3&keyword=ovs

 

 

<ZZKK>sys
Enter system view, return user view with return command.
[~ZZKK]bridge-domain 100
[*ZZKK-bd100]vxlan vni 5000
Error: There is no license authorization for the operation.
[*ZZKK-bd100]

 

[~ZZKK]bridge-domain 100
[*ZZKK-bd100]vxlan vni 5000
Error: There is no license authorization for the operation.
[*ZZKK-bd100]quit
[*ZZKK]int nve 100
               ^
Error: Wrong parameter found at ^ position.
[*ZZKK]interface nve 100
                     ^
Error: Wrong parameter found at ^ position.
[*ZZKK]interface nve 1  
Error: There is no license authorization for the operation.
[*ZZKK]

 https://support.huawei.com/enterprise/zh/doc/EDOC1100087027

[~ZZKK]display vxlan vni
Number of vxlan vni : 0
VNI            BD-ID            State   
---------------------------------------
[~ZZKK]
[~ZZKK]display vxlan vni
Number of vxlan vni : 0
VNI            BD-ID            State   
---------------------------------------
[~ZZKK]int 100GE1/0/1   mode l2
                        ^
Error: Wrong parameter found at ^ position.
[~ZZKK]interface 10GE1/0/1.1 mode l2 
                 ^
Error: Wrong parameter found at ^ position.
[~ZZKK]interface 100GE1/0/1.1 mode l2 
[*ZZKK-100GE1/0/1.1]encapsulation untag 
Warning: Exercise caution when configuring an untagged default sub-interface and ensure that no configurations exist on the main interface before you configure an untagged default sub-interface. Otherwise, it will produce unpredictable results.
[*ZZKK-100GE1/0/1.1]quit

 

华为ce交换机 Bridge-Domain NVE

原文:https://www.cnblogs.com/dream397/p/13268932.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!