undo tunnel statistics enable
Default
The packet statistics feature is disabled for the VXLAN tunnels associated with a VSI.
Views
VSI view
Predefined user roles
network-admin
Usage guidelines
This command enables packet statistics only for VXLAN tunnels. It does not take effect on
VXLAN-DCI tunnels.
Examples
# Enable packet statistics for all VXLAN tunnels associated with VSI vpna.
<Sysname> system-view
[Sysname] vsi vpna
[Sysname-vsi-vpna] tunnel statistics enable
Related commands
display vxlan tunnel
vsi
Use vsi to create a VSI and enter its view, or enter the view of an existing VSI.
Use undo vsi to delete a VSI.
Syntax
vsi vsi-name
undo vsi vsi-name
Default
No VSIs exist.
Views
System view
Predefined user roles
network-admin
Parameters
vsi-name : Specifies a VSI name, a case-sensitive string of 1 to 31 characters.
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
20