R0106-HP MSR Router Series Layer 2 - LAN Switching Command Reference(V7)
71
Hardware Ke
y
word com
p
atibilit
y
MSR4000 Yes
Usage guidelines
The system default VLAN (VLAN 1) and reserved VLANs cannot be created or deleted.
You cannot use the undo vlan command to delete a dynamic VLAN, a VLAN with a QoS policy applied,
or a VLAN locked by an application. To delete one of these VLANs, first remove the configuration from
the VLAN.
Examples
# Create VLAN 2 and enter its view.
<Sysname> system-view
[Sysname] vlan 2
[Sysname-vlan2]
# Create VLAN 4 through VLAN 100.
<Sysname> system-view
[Sysname] vlan 4 to 100
Related commands
display vlan
Port-based VLAN commands
display port
Use display port to display information about the hybrid or trunk ports.
Syntax
display port { hybrid | trunk }
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
hybrid: Displays hybrid ports.
trunk: Displays trunk ports.
Examples
# Display information about the hybrid ports.
<Sysname> display port hybrid
Interface PVID VLAN Passing
GE2/1/4 100 Tagged: 1000, 1002, 1500, 1600-1611, 2000,
2555-2558, 3000, 4000
Untagged:1, 10, 15, 18, 20-30, 44, 55, 67, 100,