Command Reference Guide

3Com Router 3000 Ethernet Family
Command Reference Guide
Chapter 4 Fundamental Logical Interface
Configuration Commands
3Com Corporation
4-18
4.1.7 reset vlan statistics vid
Syntax
reset vlan statistics vid vid
View
User view
Parameter
vid: VLAN ID, used to identify a VLAN.
Description
Use the reset vlan statistics vid command to clear the VLAN statistics.
Related command: display vlan statistics vid.
Example
# Clear the statistics with VLAN ID 10.
<3Com > reset vlan statistics vid 10
4.1.8 vlan-type dot1q
Syntax
vlan-type dot1q vid vid
View
Interface view
Parameter
vid: VLAN ID identifying a VLAN. Its value range varies with device model.
Description
Use the vlan-type dot1q command to set the encapsulation types on the
sub-interface.
By default, there is no encapsulation on the subinterface, nor VLAN ID related to the
subinterface.
Related command: display vlan interface.
Example
# Set the Ethernet sub-interface 2/0/0.1 to be related to VLAN ID 60, and its
encapsulation format is dot1q.
[3Com -Ethernet2/0/0.1] vlan-type dot1q vid 60