display l2-multicast ip

Use display l2-multicast ip to display information about Layer 2 IP multicast groups.

Syntax

In standalone mode:

display l2-multicast ip [ group group-address | source source-address ] * [ vlan vlan-id | vsi vsi-name ] [ slot slot-number ]

In IRF mode:

display l2-multicast ip [ group group-address | source source-address ] * [ vlan vlan-id | vsi vsi-name ] [ chassis chassis-number slot slot-number ]

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

group group-address: Specifies a multicast group by its IP address. If you do not specify a multicast group, this command displays information about all Layer 2 IP multicast groups.

source source-address: Specifies a multicast source by its IP address. If you do not specify a multicast source, this command displays information about Layer 2 IP multicast groups for all multicast sources.

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 IP 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 IP 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 IP 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 IP multicast groups for the global active MPU. (In IRF mode.)

Examples

# Display information about Layer 2 IP multicast groups for VLAN 2.

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

VLAN 2: Total 1 entries.
  (0.0.0.0, 224.1.1.1)
    Attribute: static, success
    Host ports (1 in total):
      HGE1/0/1                              (S, SUC) 

# Display information about Layer 2 IP multicast groups for VSI aaa.

<Sysname> display l2-multicast ip vsi aaa
Total 1 entries.

VSI aaa: Total 1 entries.
  (0.0.0.0, 224.1.1.1)
    Attribute: dynamic, success
    Host ports (1 in total):
       (Link ID 1)                 (D, SUC)

Table 9: Command output

Field

Description

Total 1 entries

Total number of Layer 2 IP multicast groups.

VLAN 2: Total 1 entries

Total number of Layer 2 IP multicast groups in VLAN 2.

VSI aaa: Total 1 entries

Total number of Layer 2 IP multicast groups in VSI aaa.

(0.0.0.0, 224.1.1.1)

(S, G) entry, where 0.0.0.0 in the S position means all multicast sources.

Attribute

Entry attribute:

  • dynamic—The entry is created by a dynamic protocol.

  • static—The entry is created by a static protocol.

  • pim—The entry is created by PIM.

  • kernel—The entry is obtained from the kernel.

  • success—Processing has succeeded.

  • fail—Processing has failed.

Host ports (1 in total)

Member ports and total number of member ports.

(S, SUC)

Port attribute:

  • D—Dynamic port.

  • S—Static port.

  • P—PIM port.

  • K—Port obtained from the kernel.

  • R—Port learned from (*, *) entries.

  • W—Port learned from (*, G) entries.

  • SUC—Processing has succeeded.

  • F—Processing has failed.

  • BC—The port is a multicast tunnel interface for a multicast-mode VXLAN.

(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.