The protocol-tunnel vni command binds the VNI, source IP address, destination IP address, and VPN instance name of a VXLAN tunnel to establish a VXLAN tunnel to the CP.
The undo protocol-tunnel vni command unbinds the VNI, source IP address, destination IP address, and VPN instance name of a VXLAN tunnel and deletes the VXLAN tunnel to the CP.
By deafult, no VXLAN tunnel is created between the UP and CP.
This command is supported only on the NetEngine 8000 F1A.
Parameter | Description | Value |
---|---|---|
vni-id |
Specifies a VNI ID. |
The value is an integer ranging from 1 to 16777215. |
source source-ip |
Specifies a source IP address for a VXLAN tunnel. |
The value is in dotted decimal notation. |
destination destination-ip |
Specifies a destination IP address for a VXLAN tunnel. |
The value is in dotted decimal notation. |
vpn-instance vpn-name |
Specifies a VPN instance name. |
The value is a string of 1 to 31 case-sensitive characters, spaces not supported. |
Usage Scenario
To bind the VNI, source IP address, destination IP address, and VPN instance name of a VXLAN tunnel to establish a VXLAN tunnel to the CP in a CU separation scenario, run the protocol-tunnel vni command. The VNI configurations on both ends of the VXLAN tunnel are the same.
(Note: This command takes effect only after the system is restarted with configurations or during the configuration rollback.)Precautions
VNI IDs must be set to the same value on the UP and CP.
<HUAWEI> system-view [~HUAWEI] cu-controller [~HUAWEI-cu-controller] up 1024 [~HUAWEI-cu-controller-up1024] config [~HUAWEI-cu-controller-up1024-config] cu-agent [~HUAWEI-cu-controller-up1024-config-cu-agent] protocol-tunnel vni 10 source 1.1.1.1 destination 2.2.2.1 vpn-instance test [*HUAWEI-cu-controller-up1024-config-cu-agent] commit
<HUAWEI> system-view [~HUAWEI] cu-agent [~HUAWEI-cu-agent] display this # cu-agent protocol-tunnel vni 10 source 1.1.1.1 destination 2.2.2.1 vpn-instance test #