display l2-multicast mac forwarding

Use display l2-multicast mac forwarding to display Layer 2 multicast MAC forwarding entries.

Syntax

In standalone mode:

display l2-multicast mac forwarding [ mac-address ] [ vlan vlan-id | vsi vsi-name ] [ slot slot-number ]

In IRF mode:

display l2-multicast mac forwarding [ 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 MAC address. If you do not specify a MAC multicast group, this command displays Layer 2 multicast MAC forwarding entries for all 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 Layer 2 multicast MAC forwarding entries 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 Layer 2 MAC forwarding entries for all VSIs.

slot slot-number: Specifies a card by its slot number. If you do not specify a card, this command displays Layer 2 multicast MAC forwarding entries 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 Layer 2 multicast MAC group entries for the global active MPU. (In IRF mode.)

Examples

# Display Layer 2 multicast MAC forwarding entries for VLAN 2.

<Sysname> display l2-multicast mac forwarding vlan 2
Total 1 entries.

VLAN 2: Total 1 entries.
  MAC group address: 0100-5e01-0101
    Host ports (3 in total):
      HundredGigE1/0/1
      HundredGigE1/0/2
      HundredGigE1/0/3

# Display Layer 2 multicast MAC forwarding entries for VSI aaa.

<Sysname> display l2-multicast mac forwarding vsi aaa
Total 1 MAC entries.

VSI aaa: Total 1 entries.
  MAC group address: 0100-5e01-0101
    Host ports (1 in total):
       (Link ID 0)

Table 12: Command output

Field

Description

Total 1 MAC entries

Total number of Layer 2 multicast MAC forwarding entries.

VLAN 2: Total 1 entries

Total number of Layer 2 multicast MAC forwarding entries in VLAN 2.

VSI aaa: Total 1 entries

Total number of Layer 2 multicast MAC multicast group entries in VSI aaa.

MAC group address

Address of the MAC multicast group.

Host ports (3 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.