122
Configuration guidelines
Protocol-based VLAN configuration applies only to hybrid ports.
Displaying and maintaining VLANs
Task Command
Remarks
Display VLAN information.
display
vlan
[
vlan-id1
[
to
vlan-id2
] |
all
|
dynamic
|
reserved
|
static
] [
|
{
begin
|
exclude
|
include
}
regular-expression
]
Available in any
view
Display VLAN interface
information.
display interface
[
vlan-interface
] [
brief
[
down
|
description
] ] [
|
{
begin
|
exclude
|
include
}
regular-expression
]
display interface vlan-interface
vlan-interface-id
[
brief
[
description
] ] [
|
{
begin
|
exclude
|
include
}
regular-expression
]
Available in any
view
Display hybrid ports or trunk ports
on the device.
display port
{
hybrid
|
trunk
} [
|
{
begin
|
exclude
|
include
}
regular-expression
]
Available in any
view
Display MAC address-to-VLAN
entries.
display mac-vlan
{
all
|
dynamic
|
mac-address
mac-address
|
static
|
vlan vlan-id
} [
|
{
begin
|
exclude
|
include
}
regular-expression
]
Available in any
view
Display all interfaces with
MAC-based VLAN enabled.
display mac-vlan interface
[
|
{
begin
|
exclude
|
include
}
regular-expression
]
Available in any
view
Display protocol information and
protocol indexes of the specified
VLANs (available only on the HPE
3100 v2 EI).
display protocol-vlan vlan
{
vlan
-
id
[
to
vlan
-
id
] |
all
} [
|
{
begin
|
exclude
|
include
}
regular-expression
]
Available in any
view
Display protocol-based VLAN
information on specified
interfaces (available only on the
HPE 3100 v2 EI).
display protocol-vlan interface
{
interface-type
interface-number
[
to
interface-type
interface-number
] |
all
} [
|
{
begin
|
exclude
|
include
}
regular-expression
]
Available in any
view
Clear statistics on a port.
reset counters interface vlan-interface
[
vlan-interface-id
]
Available in
user view