44
You cannot use the
undo vlan
command to delete VLANs reserved for protocols, management VLANs,
dynamic VLANs, and VLANs configured with QoS policies. To delete one of these VLANs, first remove
the configuration from the VLAN.
Examples
# Create VLAN 2, and enter VLAN 2 view.
<Sysname> system-view
[Sysname] vlan 2
[Sysname-vlan2]
# Create VLAN 4 through VLAN 100.
<Sysname> system-view
[Sysname] vlan 4 to 100
Please wait............. Done.
Related commands
display vlan
Port-based VLAN configuration commands
display port
Use
display port
to display information about the hybrid or trunk ports.
Syntax
display port
{
hybrid
|
trunk
} [
|
{
begin
|
exclude
|
include
}
regular-expression
]
Views
Any view
Default command 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
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, a case-sensitive string of 1 to 256 characters.
Examples
# Display information about the hybrid ports.
<Sysname> display port hybrid
Interface PVID VLAN passing
BAGG1 1 Tagged: none