display mac-address multicast
Use display mac-address multicast to display static multicast MAC address entries.
Syntax
display mac-address [ mac-address [ vlan vlan-id ] | [ multicast ] [ vlan vlan-id ] [ count ] ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
mac-address: Specifies a multicast MAC address. The MAC address can be any legal multicast MAC address except 0100-5Exx-xxxx and 3333-xxxx-xxxx, where "x" represents a hexadecimal number in the range of 0 to F.
vlan vlan-id: Specifies a VLAN by its VLAN ID in the range of 1 to 4094. If you do not specify a VLAN, this command displays static multicast MAC address entries for all VLANs.
multicast: Specifies static multicast MAC address entries.
count: Specifies the number of static multicast MAC address entries. If you specify this keyword, the command displays the number of matching static multicast MAC address entries. If you do not specify this keyword, the command displays the contents of the matching entries rather than the entry count.
Usage guidelines
This command displays all MAC address table entries, including static multicast and unicast MAC address entries when one of the following conditions exists:
You do not specify parameters.
You specify either or both of the vlan and count keywords.
Examples
# Display static multicast MAC address entries for VLAN 2.
<Sysname> display mac-address multicast vlan 2 MAC Address VLAN ID State Port/NickName Aging 0100-0001-0001 2 Multicast HGE1/0/1 N HGE1/0/2
# Display the number of static multicast MAC address entries.
<Sysname> display mac-address multicast count 1 mac address(es) found.
Table 13: Command output
Field | Description |
---|---|
MAC address | MAC address of a multicast group. |
VLAN ID | ID of the VLAN to which the network device identified by the MAC address belongs. |
State | Status of the MAC address. If the multicast MAC address entry is static, this field displays Multicast. |
Port/NickName | Outgoing ports for the packet that is sent to the MAC address in this MAC address entry. |
Aging | Aging timer state. If this entry never expires, this field displays N. |
1 mac address(es) found | One static multicast MAC address entry is found. |
Related commands
mac-address multicast