3Com S7902E Command Reference Manual - page 210
1-18
MAC Address-Based VLAN Configuration Commands
display mac-vlan
Syntax
display mac-vlan
{
all
|
dynamic
|
mac-address mac-address
[
mask
mac-mask
] |
static
|
vlan
vlan-id
}
View
Any view
Default Level
1: Monitor level
Parameters
all
: Displays all the MAC address-to-VLAN entries.
dynamic
: Displays dynamically configured MAC address-to-VLAN entries.
mac-address mac-address
: Displays the MAC address-to-VLAN entry containing the specified MAC
address.
mask
mac-mask
: Displays the MAC address-to-VLAN entries with their MAC addresses in the specified
range.
static
: Displays the statically configured MAC address-to-VLAN entries.
vlan
vlan-id
: Displays the MAC address-to-VLAN entries associated with the specified VLAN.
Description
Use the
display mac-vlan
command to display the specified MAC address-to-VLAN entries.
If
mac-address
mac-addr
is specified while
mask
is not specified, only the MAC address-to-VLAN
entry containing the specified MAC address is displayed.
Examples
# Display all the MAC address-to-VLAN entries.
The following MAC-VLAN address exist:
S: Static D: Dynamic
MAC ADDR MASK VLAN ID PRIO STATE
-------------------------------------------------------------------
0008-0001-0000 FFFF-FF00-0000 5 3 S
0002-0001-0000 FFFF-FFFF-FFFF 5 3 S&D
Total MAC VLAN address count:2