华为ce交换机 Bridge-Domain NVE

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

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

 
 
翻译
收藏
下载文档
 
 
更新时间:2020-06-17
Share
    
 
 
原文地址:https://www.cnblogs.com/dream397/p/13268932.html