debugging igmp-snooping

Function

The debugging igmp-snooping command enables IGMP snooping debugging on the live network during operation and maintenance and outputs related debugging information.

The undo debugging igmp-snooping command disables IGMP snooping debugging on the live network during operation and maintenance.

By default, debugging of IGMP snooping is disabled.

Format

debugging igmp-snooping { query | report | event | timer | packet } [ [ vsi vsi-name | vlan vlanid | bridge-domain bdid | user-id userId ] | source source-addr | group group-addr | interface { port-name | port-type port-num } [ vpn-instance vpn-instance-name ] ] *

undo debugging igmp-snooping { query | report | leave | event | timer | packet }

debugging igmp-snooping all

debugging igmp-snooping leave [ [ vsi vsi-name | vlan vlanid | bridge-domain bdid | user-id userId ] | group group-addr | interface { port-name | port-type port-num } [ vpn-instance vpn-instance-name ] ] *

debugging igmp-snooping { leave basic-acl-num | { query | report | packet } advance-acl-num }

undo debugging igmp-snooping all

Parameters

Parameter Description Value
query

Enables or disables debugging of received IGMP snooping query packets.

-

report

Enables or disables debugging of received IGMP snooping report packets.

-

event

Enables or disables debugging of IGMP snooping events.

-

timer

Enables or disables debugging of IGMP snooping timers, for example, debugging of Layer 2 multicast (IPv4) group timers, source timers, and inter-board communication timers.

-

packet

Enables or disables debugging of received IGMP snooping packets.

-

all

Enables or disables all debugging functions of IGMP snooping.

-

vsi vsi-name

Enables or disables debugging of IGMP snooping for a specified VSI.

The value is a string of 1 to 31 case-sensitive characters, spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string.

vlan vlanid

Enables or disables debugging of IGMP snooping for a specified VLAN.

The value is an integer that ranges from 1 to 4094.

source source-addr

Specifies a multicast source address.

The value is a class A, B, or C address in dotted decimal notation.

group group-addr

Specifies a multicast group address.

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

interface port-name

Specifies the name of an interface.

The value is a string of case-insensitive characters, spaces not supported.

port-type

Specifies the type and number of an interface.

-

port-num

Specifies the number of an interface.

-

leave

Enables or disables debugging of received IGMP snooping leave packets.

-

bridge-domain bdid

Enables or disables debugging of IGMP snooping for a specified bridge-domain.

The value is an integer ranging from 1 to 16777215.

user-id userId

Enables or disables debugging of IGMP snooping for a specified user ID.

The value is an integer that ranges from 0 to 4294967295.

vpn-instance vpn-instance-name

Enables or disables debugging of IGMP snooping for a specified VPN instance.

The value is a string of 1 to 31 case-sensitive characters, spaces not supported. In addition, the VPN instance name must not be _public_. When double quotation marks are used around the string, spaces are allowed in the string.

basic-acl-num

Specifies the basic ACL number.

The value is an integer that ranges from 2000 to 2999.

advance-acl-num

Specifies the advanced ACL number.

The value is an integer that ranges from 3000 to 3999.

Views

User view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
l2mc debug

Usage Guidelines

Usage Scenario

The debugging igmp-snooping command enables IGMP snooping debugging and diagnosis, and the undo debugging igmp-snooping command disables IGMP snooping debugging and diagnosis.

Example

# In the user view, enable debugging of all IGMP snooping information.
<HUAWEI> debugging igmp-snooping all
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
Next topic >