28
Parameters
port-number
: Specifies a UDP port number in the range of 1 to 65535. As a best practice, specify a
port number in the range of 1024 to 65535 to avoid conflict with well-known ports.
Usage guidelines
You must configure the same destination UDP port number on all VTEPs in a VXLAN.
Examples
# Set the destination UDP port number to 6666 for VXLAN packets.
<Sysname> system-view
[Sysname] vxlan udp-port 6666
xconnect vsi
Use
xconnect vsi
to map an Ethernet service instance to a VSI.
Use
undo
xconnect vsi
to remove the mapping between an Ethernet service instance and a VSI.
Syntax
xconnect vsi vsi-name
[
access-mode
{
ethernet
|
vlan
} ]
undo xconnect vsi
Default
An Ethernet service instance is not mapped to any VSI.
Views
Ethernet service instance view
Predefined user roles
network-admin
Parameters
vsi-name
: Specifies the VSI name, a case-sensitive string of 1 to 31 characters.
access-mode
: Specifies an access mode. By default, the access mode is VLAN.
ethernet
: Specifies the Ethernet access mode.
vlan
: Specifies the VLAN access mode.
Usage guidelines
To configure this command, you must first use the
encapsulation
command to add a frame match
criterion to the Ethernet service instance.
For traffic that matches the Ethernet service instance, the system uses the VSI's MAC address table
to make a forwarding decision.
The access mode determines how a VTEP processes the 802.1Q VLAN tags in the inner Ethernet
frames assigned to the VSI.
•
VLAN access mode
—Ethernet frames received from or sent to the local site must contain
802.1Q VLAN tags.
{
For an Ethernet frame received from the local site, the VTEP removes all its 802.1Q VLAN
tags before forwarding the frame.
{
For an Ethernet frame destined for the local site, the VTEP adds 802.1Q VLAN tags to the
frame before forwarding the frame.