
27
Usage guidelines
A VSI acts as a virtual switch to provide Layer 2 switching services for a VXLAN on a VTEP. A VSI
has all functions of a physical Ethernet switch, including source MAC address learning, MAC
address aging, and flooding.
A VSI can provide services only for one VXLAN.
Examples
# Create VSI
vxlan10
and enter VSI view.
<Sysname> system-view
[Sysname] vsi vxlan10
[Sysname-vsi-vxlan10]
Related commands
display l2vpn vsi
vxlan
Use
vxlan
to create a VXLAN and enter its view, or enter the view of an existing VXLAN.
Use
undo vxlan
to restore the default.
Syntax
vxlan vxlan-id
undo vxlan
Default
No VXLANs exist.
Views
VSI view
Predefined user roles
network-admin
Parameters
vxlan-id
: Specifies a VXLAN ID in the range of 0 to 16777215.
Usage guidelines
You can create only one VXLAN for a VSI. The VXLAN ID for each VSI must be unique.
Examples
# Create VXLAN 10000 for VSI
vpna
and enter VXLAN view.
<Sysname> system-view
[Sysname] vsi vpna
[Sysname-vsi-vpna] vxlan 10000
[Sysname-vsi-vpna-vxlan-10000]
Related commands
vsi
vxlan ip-forwarding
Use
vxlan ip-forwarding
to enable Layer 3 forwarding for all VXLANs.