R3721-F3210-F3171-HP High-End Firewalls Network Management Command Reference-6PW101

49
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Description
Use display port to display information about the hybrid or trunk ports on the device, including the port
names, PVIDs, and allowed VLAN IDs.
Examples
# Display information about the hybrid ports in the system.
<Sysname> display port hybrid
Interface PVID VLAN passing
GE0/4 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
# Display information about the trunk ports in the system.
<Sysname> display port trunk
Interface PVID VLAN passing
GE0/8 2 1-4, 6-100, 145, 177, 189-200, 244, 289, 400,
555, 600-611, 1000, 2006-2008
Table 12 Command output
Field Descri
p
tion
Interface Port name
PVID Port VLAN ID (PVID) of the port
VLAN passing VLANs for which the port allows packets to pass through
Tagged VLANs for which the port sends packets without removing VLAN tags
Untagged VLANs for which the port sends packets after removing VLAN tags
display vlan
Syntax
display vlan [ vlan-id1 [ to vlan-id2 ] | all | dynamic | reserved | static ] [ | { begin | exclude | include }
regular-expression ]
View
Any view
Default level
1: Monitor level
Parameters
vlan-id1: Displays information about a VLAN specified by VLAN ID, ranging from 1 to 4094.
vlan-id1 to vlan-id2: Displays information about VLANs specified by a VLAN ID range.
all: Displays all VLAN information except for the reserved VLANs.