
24
Usage guidelines
For this command to take effect, you must configure a frame match criterion for the Ethernet service
instance and map it to a VSI. If you modify the frame match criterion or VSI mapping, packet
statistics of the instance is cleared.
Examples
# Enable packet statistics for Ethernet service instance 200 on GigabitEthernet 1/0/1.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] service-instance 200
[Sysname-GigabitEthernet1/0/1-srv200] statistics enable
Related command
display l2vpn service-instance verbose
reset l2vpn statistics ac
statistics enable (VSI view)
Use
statistics enable
to enable packet statistics for a VSI.
Use
undo statistics enable
to disable packet statistics for a VSI.
Syntax
statistics enable
undo statistics enable
Default
The packet statistics feature is disabled for a VSI.
Views
VSI view
Predefined user roles
network-admin
Examples
# Enable packet statistics for VSI
vsi1
.
<Sysname> system-view
[Sysname] vsi vsi1
[Sysname-vsi-vsi1] statistics enable
Related commands
display l2vpn vsi verbose
reset l2vpn statistics vsi
tunnel
Use
tunnel
to assign VXLAN tunnels to a VXLAN.
Use
undo tunnel
to remove VXLAN tunnels from a VXLAN.
Syntax
tunnel
{
tunnel-number
[
backup-tunnel
tunnel-number
]
|
all
}