[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 hybrid or trunk ports.
Syntax
display port { hybrid | trunk }
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
hybrid: Specifies hybrid ports.
trunk: Specifies trunk ports.
Examples
# Display information about hybrid ports.
<Sysname> display port hybrid
Interface
GE1/0/4
# Display information about trunk ports.
<Sysname> display port trunk
Interface
GE1/0/8
Table 39 Command output
Field
Interface
PVID
VLAN Passing
Tagged
PVID
VLAN Passing
100
Tagged:
1000, 1002, 1500, 1600-1611, 2000,
2555-2558, 3000, 4000
Untagged:1, 10, 15, 18, 20-30, 44, 55, 67, 100,
150-160, 200, 255, 286, 300-302
PVID
VLAN Passing
2
1-4, 6-100, 145, 177, 189-200, 244, 289, 400,
555, 600-611, 1000, 2006-2008
Description
Interface name.
Port VLAN ID.
Existing VLANs allowed on the port.
VLANs from which the port sends packets without removing VLAN tags.
176