reset mld-snooping statistics

Function

The reset mld-snooping statistics command clears MLD snooping statistics.

Format

reset mld-snooping statistics { vlan { vlan-id | all } | vsi { name vsi-name | all } | all }

Parameters

Parameter Description Value
vlan vlan-id

Clears MLD snooping statistics of a specified VLAN.

The value is an integer ranging from 1 to 4094.

vlan all

Clears MLD snooping statistics of all VLANs.

-

all

Clears MLD snooping statistics of all VLANs and VSIs.

-

vsi all

Clears MLD snooping statistics of all VSIs.

-

name vsi-name

Clears MLD snooping statistics of 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.

Views

User view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
l2mc execute

Usage Guidelines

Usage Scenario

To clear MLD snooping statistics of all VLANs and VSIs, run the reset mld-snooping statistics all command.

To clear MLD snooping statistics of a specified VLAN, run the reset mld-snooping statistics vlan <vlan-id> command.

To clear MLD snooping statistics of all VLANs, run the reset mld-snooping statistics vlan all command.

To clear MLD snooping statistics of a specified VSI, run the reset mld-snooping statistics vsi name <vsi-name> command.

To clear MLD snooping statistics of all VSIs, run the reset mld-snooping statistics vsi all command.

Example

# Delete MLD snooping statistics of VLAN 2.
<HUAWEI> reset mld-snooping statistics vlan 2
# Clear MLD snooping statistics of all VLANs.
<HUAWEI> reset mld-snooping statistics all
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >