Port-Based VLAN Configuration Commands
display port
Syntax
display port { hybrid | trunk }
View
Any view
Default Level
1: Monitor level
Parameters
hybrid: Displays hybrid ports.
trunk: Displays trunk ports.
Description
Use the display port command to display information about the hybrid or trunk ports on the device,
including the port names, default VLAN IDs, and allowed VLAN IDs.
Examples
# Display information about the hybrid ports in the system.
<Sysname> display port hybrid
Interface
GE1/0/6
# Display information about the trunk ports in the system.
<Sysname> display port trunk
Interface
GE1/0/1
GE1/0/11
GE1/0/12
Table 6-3 display port command output description
Field
Interface
PVID
VLAN passing
Tagged
Untagged
PVID VLAN passing
1
Tagged: 1002
Untagged:1-2, 5-50, 100, 200
PVID VLAN passing
100
2, 6-50, 100
1
1-2, 5-50, 100, 200, 1002
1
1-2, 5-50, 100, 200, 1002
Port name
Default VLAN ID of the port
VLANs whose packets are allowed to pass through the port.
VLANs whose packets are required to pass through the port tagged.
VLANs whose packets are required to pass through the port untagged.
Description
6-9