< Home

display igmp-snooping port-info

Function

The display igmp-snooping port-info command displays information about multicast group member ports.

Format

display igmp-snooping port-info [ vlan vlan-id [ group-address group-address ] ] [ verbose ]

Parameters

Parameter

Description

Value

vlan vlan-id

Displays information about multicast group member ports in a specified VLAN. If this parameter is not specified, the system displays multicast group member ports in all VLANs.

The value is an integer ranging from 1 to 4094.

group-address group-address

Displays information about member ports of a specified multicast group. If this parameter is not specified, the system displays member ports of all multicast groups.

The value ranges from 224.0.1.0 to 239.255.255.255, in dotted decimal notation.

verbose

Displays detailed information about multicast group member ports. If this parameter is not specified, the system displays the summary of multicast group member ports.

-

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

Usage Scenario

When the switch with IGMP snooping enabled receives IGMP messages exchanged between hosts and a Layer 3 device, the switch maintains a Layer 2 multicast forwarding table based on information in the messages. The display igmp-snooping port-info command shows member ports in the Layer 2 multicast forwarding table. According to the command output, you can know which downlink ports of the switch have multicast users connected, and control multicast services conveniently.

Precautions

This command can display information about multicast group member ports in a VLAN only when IGMP snooping has been enabled in the VLAN using the igmp-snooping enable (VLAN view) command, and at least one interface in the VLAN is in Up state. If interfaces in the VLAN are dynamic group member ports, the command can display information about these member ports only after they receive IGMP Report messages and before their aging time expires.

Example

# Display information about multicast group member ports in VLAN 7.

<HUAWEI> display igmp-snooping port-info vlan 7
-----------------------------------------------------------------------
                    (Source, Group)    Port                         Flag
 Flag: S:Static     D:Dynamic     M: Ssm-mapping 
-----------------------------------------------------------------------
VLAN 7, 5 Entry(s)
                      (*,226.1.1.1)    GE0/0/1                       -D-
                                                1 port(s)
               (10.1.1.1,226.1.1.2)    GE0/0/1                       --M 
                                                1 port(s)
               (10.1.1.1,226.1.1.3)    GE0/0/1                       --M 
                                                1 port(s)
                     (*, 227.1.1.2)    GE0/0/1                       S--         
                                                1 port(s)
                     (*, 227.1.1.3)    GE0/0/1                       S--         
                                                1 port(s)
-----------------------------------------------------------------------
Table 1 Description of the display igmp-snooping port-info command output

Item

Description

(Source, Group)

(S, G) entry, specifying the multicast source and multicast group. Multicast data is sent from multicast source S to group G. If S is displayed as *, multicast data may be sent from any multicast source. If S is displayed as an IP address, multicast data is sent from this IP address.

Port

Member port.

Flag

Type of a member port, which can be:
  • S: static member port, which is configured using the l2-multicast static-group command
  • D: dynamic member port learned through IGMP snooping
  • M: member port established through SSM mapping

VLAN 7, 5 Entry(s)

VLAN ID and the number of entries in the VLAN.

# Display detailed information about all multicast group member ports.

<HUAWEI> display igmp-snooping port-info verbose
                                                                                
The port information of Group 239.255.255.250 on VLAN 22:                       
    Time of this group has been up : 00:01:22                                   
                                                                                
  The port information of (10.1.1.2, 239.255.255.250):                           
    Time of this source has been up : 00:01:22                                  
    Port Table on this source(10.1.1.2):                                         
      No.1                                                                      
        Port name : GE0/0/1
        Time of this port has been up as a host-port : 00:01:22                 
        Remain time of port expire as dynamic host-port : 00:02:58              
        Version2-host-present-timer-expiry: 00:04:14
        Host-port flags : Dynamic                                               
                                                                                
The port information of Group 227.1.1.1 on VLAN 200:                            
    Time of this group has been up : 1d:05h                                     
                                                                                
  The port information of (0.0.0.0, 227.1.1.1):                                 
    Time of this source has been up : 1d:05h                                    
    Port Table on this source(0.0.0.0):                                         
      No.1                                                                      
        Port name : GE0/0/1
        Time of this port has been up as a host-port : 1d:05h                   
        Remain time of port expire as dynamic host-port : NA                    
        Host-port flags : Static                                                
Table 2 Description of the display igmp-snooping port-info verbose command output

Item

Description

The port information of Group 239.255.255.250 on VLAN 22

Information about member ports of multicast group 239.255.255.250 in VLAN 22.

Time of this group has been up

Time that elapsed since the multicast group was set up.

The port information of (10.1.1.2, 239.255.255.250)

Information about member ports of a specified (S, G).

Time of this source has been up

Time that elapsed since the multicast source was set up.

Port Table on this source

List of member ports of the specified multicast source.

No.1

First member port.

Port name

Type and number of the first member port.

Time of this port has been up as a host-port

Time that elapsed since the first member port was bound to a source or (S, G).

Remain time of port expire as dynamic host-port

Aging time of the first member port. This field displays "NA" for a static member port.

The aging time of a dynamic member port is calculated using the following formula: Aging time = Robustness variable x General query interval + Maximum response time for General Query messages. The robustness variable is configured using the igmp-snooping robust-count command. The general query interval is configured using the igmp-snooping query-interval command. The maximum response time for General Query messages is configured using the igmp-snooping max-response-time command.

Version2-host-present-timer-expiry

Aging time of the IGMPv2 host.

Host-port flags

Type of a member port, which can be:
  • Static: static member
  • Dynamic: dynamic member port learned through IGMP snooping
  • Mapping: member port established through SSM mapping
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >