R3102-R3103-HP 6600/HSR6600 Routers Layer 2 - LAN Switching Command Reference

99
Usage guidelines
You cannot create or remove the default VLAN (VLAN 1).
You cannot create or remove VLANs reserved for specific functions.
To remove the following VLANs, remove the related configurations first, because you cannot use the undo
vlan command to directly remove them:
Protocol reserved VLANs
Voice VLANs
Management VLANs
Dynamic VLANs
VLANs configured with QoS policies
Control VLANs configured for smart link groups or RRPP domains
Source VLANs for port mirroring
Remote probe VLANs for remote port mirroring
Examples
# Create VLAN 2, and enter VLAN 2 view.
<Sysname> system-view
[Sysname] vlan 2
[Sysname-vlan2]
# Create VLAN 4 through VLAN 100.
<Sysname> system-view
[Sysname] vlan 4 to 100
Please wait............. Done.
Related commands
display vlan
Port-based VLAN configuration commands
display port
Use display port to display information about the hybrid or trunk ports on the device, including the port
names, PVIDs, and allowed VLAN IDs.
Syntax
display port { hybrid | trunk } [ | { begin | exclude | include } regular-expression ]
Views
Any view
Default command level
1: Monitor level
Parameters
hybrid: Displays hybrid ports.
trunk: Displays trunk ports.