1-16
After you configure a command on a Layer-2 aggregate interface, the system starts applying the
configuration to the aggregate interface and its aggregation member ports. If the system fails to do that
on the aggregate interface, it stops applying the configuration to the aggregation member ports. If it fails
to do that on an aggregation member port, it simply skips the port and moves to the next port.
Displaying and Maintaining VLAN
To do...
Use the command…
Remarks
Display VLAN information
display
vlan
[
vlan-id1
[
to
vlan-id2
] |
all
|
dynamic
|
interface
interface-type
interface-number.subnumber
|
reserved
|
static
]
Available in any view
Display VLAN interface
information
display
interface vlan-interface
[
vlan-interface-id
]
Available in any view
Display hybrid ports or trunk
ports on the device
display port
{
hybrid
|
trunk
}
Available in any view
Display MAC address-to-VLAN
entries
display mac-vlan { all
|
dynamic
|
mac-address mac-address
[
mask
mac-mask
] |
static
|
vlan vlan-id }
Available in any view
Display all interfaces with
MAC-based VLAN enabled
display mac-vlan interface
Available in any view
Display protocol information
and protocol indexes of the
specified VLANs
display protocol-vlan vlan
{
vlan
-
id
[
to vlan
-
id
]
| all
}
Available in any view
Display protocol-based VLAN
information on specified
interfaces
display protocol-vlan interface
{
interface-type interface-number
[
to
interface-type interface-number
] |
all
}
Available in any view
Display IP subnet-based VLAN
information and IP subnet
indexes of specified VLANs
display ip-subnet-vlan vlan
{
vlan-id
[
to
vlan-id
] |
all
}
Available in any view
Display the IP subnet-based
VLAN information and IP
subnet indexes of specified
ports
display ip-subnet-vlan interface
{
interface-list
|
all
}
Available in any view
Clear statistics on a port
reset counters interface
vlan-interface
[
vlan-interface-id
]
Available in user view
VLAN Configuration Example
Network requirements
z
Device A connects to Device B through a trunk port GigabitEthernet 1/0/1;
z
The default VLAN ID of GigabitEthernet 1/0/1 is 100;