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

mdc-admin

mdc-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 MAC address entries for all VLANs.

multicast: Specifies static multicast MAC address entries.

count: Specifies the number of MAC address entries. If you specify this keyword, the command displays the number of matching 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

If you do not specify any parameters, this command displays all MAC address table entries, including unicast MAC address entries and static multicast MAC address entries.

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        FGE1/0/1                 N

# 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 or nickname of the Egress RB in a TRILL network for the packet that is sent to the MAC address in this MAC address entry. TRILL is not supported in the current software version.

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