l2-multicast invalid-packet igmp-snooping

Function

The l2-multicast invalid-packet igmp-snooping command sets the maximum number of invalid Layer 2 multicast protocol packets allowed on a device.

The undo l2-multicast invalid-packet igmp-snooping command deletes the set maximum number of invalid Layer 2 multicast protocol packets allowed on a device.

By default, a multicast device can store a maximum of 10 invalid Layer 2 multicast protocol packets.

Format

l2-multicast invalid-packet igmp-snooping max-count max-number

undo l2-multicast invalid-packet igmp-snooping

Parameters

Parameter Description Value
max-count max-number

Specifies the maximum number of invalid packets allowed on a device.

The value is an integer ranging from 1 to 100.

Views

System view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
l2mc write

Usage Guidelines

Usage Scenario

If forwarding entries cannot be created on a multicast network, set the maximum number of invalid Layer 2 multicast protocol packets allowed on a device. Then, you can run the display igmp-snooping invalid-packet command to locate and rectify the fault based on statistics and detailed information about invalid Layer 2 multicast protocol packets.

Example

# Set the maximum number of invalid IGMP Snooping protocol packets allowed on a device to 20.
<HUAWEI> system-view
[~HUAWEI] l2-multicast invalid-packet igmp-snooping max-count 20
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >