Command Manual – User Access
H3C SecPath Series Security Products
Chapter 4 VLAN Configuration Commands
4-4
View
Interface view
Parameter
vid
: VLAN ID, used to identify a VLAN, its value ranges from 1 to 4094.
Description
Use the
vlan-type
dot1q
command to set the encapsulation type on the sub-interface.
By default, there is no encapsulation on the subinterface, nor VLAN ID associated with
the subinterface.
Related command:
display vlan interface
.
Example
# Associate the Ethernet sub-interface 2/0/0.1 with VLAN ID 60, and set its
encapsulation format to dot1q.
[H3C-Ethernet2/0/0.1] vlan-type dot1q vid 60