Port-Based Vlan Configuration Commands; Display Port - H3C S5120-EI Series Command Reference Manual

Lan switching
Hide thumbs Also See for S5120-EI Series:
Table of Contents

Advertisement

[Sysname-vlan2]
# Create VLAN 4 through VLAN 100.
<Sysname> system-view
[Sysname] vlan 4 to 100
Please wait............. Done.

Port-based VLAN configuration commands

display port

Syntax
display port { hybrid | trunk } [ | { begin | exclude | include } regular-expression ]
View
Any view
Default level
1: Monitor level
Parameters
hybrid: Displays hybrid ports.
trunk: Displays trunk ports.
|: Filters command output by specifying a regular expression. For more information about regular
expressions, see the Fundamentals Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
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, which is a case sensitive string of 1 to 256
characters.
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/4
# Display information about the trunk ports in the system.
<Sysname> display port trunk
Interface
GE1/0/8
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,
145

Advertisement

Table of Contents
loading

Table of Contents