Hà Nội: NTT03, Line 1, Thống Nhất Complex, 82 Nguyễn Tuân, Thanh Xuân, Hà Nội. ● HCM: Số 31B, Đường 1, Phường An Phú, Quận 2 (Thủ Đức), TP HCM. ===> Đơn Vị Hàng Đầu Trong Lĩnh Vực Cung Cấp Thiết Bị Security - Network - Wifi - CCTV - Conference - Máy chủ Server - Lưu trữ Storge.
Danh mục sản phẩm

Configure VxLAN Instance

Configuration Condition

None

Configure VxLAN Instance

Each VxLAN instance is an independent working area. Through VNID isolation, different VxLAN instances can not communicate with each other. The same VxLAN instance can communicate with each other. The device supports configuration of up to 8190 VxLAN instances.

Table 1-2 Configure the VxLAN instance

Step

Command

Description

Global configuration mode

configure terminal

 

-

VxLAN configuration mode

vxlan vxlan-id

Mandatory

By default, do not create any VxLAN.

Configure VxLAN VNID

vxlan vnid vnid

By default, it is not configured.

Configure VxLAN internal-vlan

vxlan internal-vlan

By default, it is not configured.

note


  • The VNID of VxLAN instance must be configured in priority. Otherwise, other service configurations will not take effect.
  • The VLAN bound to VxLAN instance must be configured. Otherwise, there is no configuration for other services.

Configure VxLAN Instance Description Information

To be convenient for memory and management, the description information of VxLAN can be configured according to the service type, function and connection of VxLAN.

Table 1-3 Configure the VxLAN description information

Step

Command

Description

Enter the global configuration mode

configure terminal

-

Enter the VxLAN configuration mode

vxlan vxlan-id

Mandatory

After entering the VxLAN configuration mode, the VxLAN description information can be configure.

Enter the bound VLAN of VxLAN

vxlan internal-vlan vlan-id

Mandatory

After entering the VxLAN configuration, you can configure the bound VLAN of VxLAN. After being added to VLAN, the access port can become the access port of the VXLAN.

Configure VxLAN description information

description description-name

Optional

By default, VxLAN does not have the description information.

VxLAN Instance Service Access

The virtual machine is connected to the VXLAN network. By identifying different types of traffic, the virtual machine is connected to the VXLAN network, so as to realize the VXLAN network forwarding for virtual machine service. The recognition mode is as follows:

Table 1-4 Configure the service point mode

Mode

Description

vlan

All physical ports in the VLAN are automatically connected to the VXLAN instance, but can only be bound with the unique VLAN.

The VxLAN instance does not contain any service access points when it is initially created. You need to manually configure it as follows.

Table 1-5 Configure the service point

Step

Command

Description

Enter the global configuration mode

configure terminal

-

Configure the VxLAN instance mode

vxlan vxlan-id

Mandatory

After entering the VxLAN instance configuration mode, you can configure the port to be added to the VxLAN instance.

Configure the VxLAN instance access mode

vxlan vxlan-id internal-vlan vlan-id

Mandatory

By default, no port is added to VxLAN.

After the port is added to the VLAN, VxLAN function can take effect on the port.

note


  • One VxLAN instance can only be bound with the unique VLAN.

Enable Route Learning

After VxLAN enables cross-site learning function, ARP request packet, ARP response packet and free ARP packet received on the internal port will generate local EVPN route, and then notify neighbors through BGP EVPN protocol to realize route learning between VTEPs.

Table 1-7 Enable the route learning

Step

Command

Description

Enter the global configuration mode

configure terminal

-

Enter the VxLAN configuration mode

vxlan vxlan-id

Mandatory

Enable the route learning

vxlan local-mac advertise

Mandatory

By default, it is enabled.

Configure NVE

NVE (network virtualization edge) is a network entity that realizes the function of network virtualization. After the packet is encapsulated and transformed by the NVE network entity, the virtual VxLAN network can be established between the NVEs based on the L3 basic network.

Table 1-8 Configure nve

Step

Command

Description

Enter the global configuration mode

configure terminal

-

Create one nve interface

interface nve nve-number

Mandatory
By default, do not create the NVE interface on the device.

Configure the source IP address

source ip-address

Mandatory

By default, the VTEP IP address is not configured on the NVE interface.