display l2-multicast mac
Use display l2-multicast mac to display information about Layer 2 MAC multicast groups.
Syntax
In standalone mode:
display l2-multicast mac [ mac-address ] [ vlan vlan-id | vsi vsi-name ] [ slot slot-number ]
In IRF mode:
display l2-multicast mac [ mac-address ] [ vlan vlan-id | vsi vsi-name ] [ chassis chassis-number slot slot-number ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
mac-address: Specifies a MAC multicast group by its multicast MAC address. If you do not specify a MAC multicast group, this command displays information about all Layer 2 MAC multicast groups.
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 information about Layer 2 MAC multicast groups for all VLANs.
vsi vsi-name: Specifies a VSI by its name, a case-sensitive string of 1 to 31 characters. If you do not specify a VSI, this command displays information about Layer 2 MAC multicast groups for all VSIs.
slot slot-number: Specifies a card by its slot number. If you do not specify a card, this command displays information about Layer 2 MAC multicast groups for the MPU. (In standalone mode.)
chassis chassis-number slot slot-number: Specifies a card on an IRF member device. The chassis-number argument represents the member ID of the IRF member device. The slot-number argument represents the slot number of the card. If you do not specify a card, this command displays information about Layer 2 MAC multicast groups for the global active MPU. (In IRF mode.)
Examples
# Display information about Layer 2 MAC multicast groups for VLAN 2.
<Sysname> display l2-multicast mac vlan 2 Total 1 entries. VLAN 2: Total 1 entries. MAC group address: 0100-5e01-0101 Attribute: success Host ports (1 in total): HGE1/0/1
# Display information about Layer 2 MAC multicast groups for VSI aaa.
<Sysname> display l2-multicast mac vsi aaa Total 1 entries. VSI aaa: Total 1 entries. MAC group address: 0100-5e01-0101 Attribute: success Host ports (1 in total): HGE1/0/3 (Link ID 0)
Table 11: Command output
Field | Description |
---|---|
Total 1 MAC entries | Total number of Layer 2 MAC multicast groups. |
VLAN 2: Total 1 entries | Total number of Layer 2 MAC multicast groups in VLAN 2. |
VSI aaa: Total 1 entries | Total number of Layer 2 MAC multicast groups in VSI aaa. |
MAC group address | Address of the MAC multicast group. |
Attribute | Entry attribute:
|
Host ports (1 in total) | Member ports and total number of member ports. |
(Link ID 1) | Layer 3 Ethernet interface, and its link ID. |
NPW (Link ID 8) | N-PW interface and its link ID. |
UPW (Link ID 9) | U-PW interface and its link ID. |
Tun0 (VXLAN ID 0) | VXLAN tunnel interface and its VXLAN ID. |