After an enterprise switch is created, you need to create a Layer 2 connection to enable the local Layer 2 connection subnet and the remote VXLAN switch to communicate at Layer 2.
in the upper left corner and select the desired region and project.
in the upper left corner of the page to open the service list and choose Network > Enterprise Switch.The Enterprise Switch page is displayed.

Parameter |
Description |
Example Value |
|---|---|---|
Enterprise Switch |
Name of the enterprise switch. You do not need to set this parameter. |
l2cg-01 |
VPC |
VPC that is associated with the enterprise switch, which is the VPC that the local tunnel subnet belongs to. You do not need to set this parameter. |
vpc-01 |
Layer 2 Connection Subnet |
Mandatory Select the layer 2 connection subnet in the VPC. This Layer 2 connection subnet is used to communicate with the Layer 2 connection subnet in an on-premises data center at Layer 2.
|
subnet-02 |
Interface IP Address |
Mandatory IP addresses in the VPC subnet that are connected to the enterprise switch, including active and standby interface IP addresses. The IP addresses can be automatically assigned or manually specified. |
Automatically assign |
Remote Access Information > Tunnel VNI |
Mandatory Network identifier of the VXLAN tunnel used by an on-premises data center to connect to an enterprise switch, which is used to uniquely identify the VXLAN. For the same VXLAN tunnel, the on-premises data center and the cloud must use the same tunnel VNI. |
10001 |
Remote Access Information > Tunnel IP Address |
Mandatory IP address of the VXLAN tunnel used by the on-premises data center to connect to the enterprise switch. |
192.168.2.11 |
Remote Access Information > Tunnel Port |
Port number of the VXLAN tunnel used by the on-premises data center to connect to the enterprise switch. Port 4789 is used by default. You do not need to set this parameter. |
4789 |
Name |
Mandatory Enter the name of the Layer 2 connection. The name:
|
l2conn-01 |
This operation takes 20 to 60 seconds to complete. If the status is Not connected or Connected, the Layer 2 connection is created.