6
With no parameters specified or with only
vlan
,
count
, or both of them specified, this command displays
all MAC address table entries, including static multicast MAC address entries and unicast MAC address
entries.
Related commands:
mac-address multicast
;
display mac-address
(
Layer 2—LAN Switching Command
Reference
)
.
Examples
# Display the static multicast MAC address entries for VLAN 2.
<Sysname> display mac-address multicast vlan 2
MAC ADDR VLAN ID STATE PORT INDEX AGING TIME(s)
0100-0001-0001 2 Multicast GigabitEthernet1/0/1 NOAGED
GigabitEthernet1/0/2
GigabitEthernet1/0/3
GigabitEthernet1/0/4
--- 1 mac address(es) found ---
Table 4
Command output
Field Description
MAC ADDR
MAC address.
VLAN ID
ID of the VLAN to which the network device identified by the MAC address
belongs.
STATE
Status of the MAC address; multicast indicates a static multicast MAC
address entry.
PORT INDEX
Outgoing ports of the multicast MAC address entry.
AGING TIME(s)
State of the aging timer. The aging timer for static multicast MAC addresses
has only one state
NOAGED
, which indicates that this entry never expires.
1 mac address(es) found
One static multicast MAC address entry is found.
dot1p-priority (IGMP-snooping view)
Syntax
dot1p-priority
priority-number
undo dot1p-priority
View
IGMP-snooping view
Default level
2: System level
Parameters
priority-number
: Specifies an 802.1p precedence for IGMP messages, in the range of 0 to 7. A higher
number indicates a higher precedence.
Description
Use
dot1p-priority
to set the 802.1p precedence for IGMP messages globally.