NVE是一个虚拟接口,用来做建立隧道的
手动配置隧道时,交换机要跟谁建立隧道都写在里面
就类似于传统网络中VLAN(虚拟局域网)的概念,只不过在VXLAN网络中,它有另外一个名字,叫做Bridge-Domain,简称BD。
配置 |
说明 |
---|---|
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报文。 |
|
配置VXLAN业务接入点,封装类型为Dot1q或者Untag。 在VMware NSX控制器Web界面上执行将CE交换机的接口绑定到逻辑交换机中时,如果设置的VLAN ID为0,表示封装类型为Untag;如果设置的VLAN ID为非0,表示封装类型为Dot1q。 |
|
配置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。 |
<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://www.cnblogs.com/dream397/p/13268932.html