6-9
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 PVID VLAN passing
GE1/0/6 1 Tagged: 1002
Untagged:1-2, 5-50, 100, 200
# Display information about the trunk ports in the system.
<Sysname> display port trunk
Interface PVID VLAN passing
GE1/0/1 100 2, 6-50, 100
GE1/0/11 1 1-2, 5-50, 100, 200, 1002
GE1/0/12 1 1-2, 5-50, 100, 200, 1002
Table 6-3 display port
command output description
Field
Description
Interface Port
name
PVID
Default VLAN ID of the port
VLAN passing
VLANs whose packets are allowed to pass through the port.
Tagged
VLANs whose packets are required to pass through the port tagged.
Untagged
VLANs whose packets are required to pass through the port untagged.
Summary of Contents for E4510-48G
Page 109: ...2 18 Sysname interface bridge aggregation 1 Sysname Bridge Aggregation1 shutdown ...
Page 309: ...6 4 Sysname interface vlan interface 1 Sysname Vlan interface1 ip address dhcp alloc ...
Page 324: ...8 3 Sysname interface vlan interface 1 Sysname Vlan interface1 ip address bootp alloc ...
Page 530: ...2 5 Sysname mvlan 100 subvlan 10 to 15 ...
Page 739: ...8 15 Sysname system view Sysname port security trap addresslearned ...
Page 819: ...13 11 Sysname system view Sysname public key peer key2 import sshkey key pub ...
Page 914: ...5 17 Sysname reset oam ...
Page 1064: ...5 30 Slot 2 Set next configuration file successfully ...
Page 1325: ...21 13 Examples Redirect to member 2 Sysname irf switch to 2 Sysname Slave 2 ...