display igmp-snooping group

Use display igmp-snooping group to display dynamic IGMP snooping group entries.

Syntax

In standalone mode:

display igmp-snooping group [ group-address | source-address ] * [ vlan vlan-id | vsi vsi-name ] [ verbose ] [ slot slot-number ]

In IRF mode:

display igmp-snooping group [ group-address | source-address ] * [ vlan vlan-id | vsi vsi-name ] [ verbose ] [ chassis chassis-number slot slot-number ]

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

group-address: Specifies a multicast group by its IP address in the range of 224.0.1.0 to 239.255.255.255. If you do not specify a multicast group, this command displays dynamic IGMP snooping group entries for all multicast groups.

source-address: Specifies a multicast source by its IP address. If you do not specify a multicast source, this command displays dynamic IGMP snooping group entries 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 dynamic IGMP snooping group 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 dynamic IGMP snooping group entries for all VSIs.

verbose: Displays detailed information about dynamic IGMP snooping group entries. If you do not specify the keyword, this command displays brief information about dynamic IGMP snooping group entries.

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

Examples

# Display detailed information about dynamic IGMP snooping group entries for VLAN 2.

<Sysname> display igmp-snooping group vlan 2 verbose
Total 1 entries.

VLAN 2: Total 1 entries.
  (0.0.0.0, 224.1.1.1)
    Attribute: local port
    FSM information: dummy
    Host slots (0 in total):
    Host ports (1 in total):
      HGE1/0/2                             (00:03:23)

# Display brief information about dynamic IGMP snooping group entries for VSI aaa.

<Sysname> display igmp-snooping group vsi aaa 
Total 1 entries.
VSI aaa: Total 1 entries.
  (0.0.0.0, 224.1.1.1)
    Host ports (3 in total):
      HGE1/0/3 (Link ID 0)               (00:03:35)
      NPW (Link ID 8)                    (00:02:35)
      UPW (Link ID 9)                    (00:01:35)

# Display detailed information about dynamic IGMP snooping group entries for VSI aaa.

<Sysname> display igmp-snooping group vsi aaa verbose
Total 1 entries.
VSI aaa: Total 1 entries.
  (0.0.0.0, 224.1.1.1)
    Attribute: global port
    FSM information: normal
    Host slots (0 in total):
    Host ports (2 in total):
      HGE1/0/3 (Link ID 0)                        (00:03:35)
        VLAN pairs (1 in total):
          Outer VLAN 5     Inner VLAN 2           (00:03:35)
      Tun0 (VXLAN ID 0)                           (00:03:35)
        VLAN pairs (1 in total):
          Outer VLAN 5     Inner VLAN 2           (00:03:35)

Table 2: Command output

Field

Description

Total 1 entries

Total number of dynamic IGMP snooping group entries.

VLAN 2: Total 1 entries

Total number of dynamic IGMP snooping group entries in VLAN 2.

VSI aaa: Total 1 entries

Total number of dynamic IGMP snooping group entries 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:

  • global port—The entry has a global port.

  • local port—The entry has a port that resides on the card for which the information is displayed.

  • slot—The entry has ports that reside on other cards, but not on the card for which the information is displayed.

FSM information

Finite state machine information of the entry:

  • delete—The entry attributes have been deleted.

  • dummy—The entry is a new temporary entry.

  • no info—No entry exists.

  • normal—The entry is a correct entry.

Host slots (0 in total)

(In standalone mode.) Slot numbers and total number of the cards that have member ports, except for the specified card or the MPU when no card is specified.

(In IRF mode.) Chassis numbers, slot numbers, and total number of the cards that have member ports, except for the specified card or the global active MPU when no card is specified.

Host ports (1 in total)

Member ports, and the total number of member ports.

(00:03:23)

Remaining aging time for the dynamic member port.

For a global port (such as Layer 2 aggregate interfaces, AC interfaces, N-PW interfaces, and U-PW interfaces), this field is always displayed.

(In standalone mode.) For a non-global port, this field is displayed when one of the following conditions exists:

  • The port is on the specified card.

  • The port is on the MPU and no card is specified.

(In IRF mode.) For a non-global port, this field is displayed when one of the following conditions exists:

  • The port is on the specified card.

  • The port is on the global active MPU and no card is specified.

(Link ID 0)

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.

VLAN pairs (1 in total)

VLAN pairs and the total number of VLAN pairs.

Outer VLAN 5 Inner VLAN 2

Outer VLAN ID and inner VLAN ID.

Related commands

reset igmp-snooping group