< Home

reset garp statistics

Function

The reset garp statistics command clears statistics about GARP packets on an interface.

Format

reset garp statistics [ interface { interface-type interface-number [ to interface-type interface-number ] }&<1-10> ]

Parameters

Parameter

Description

Value

interface interface-type interface-number

Clears the statistics about GARP packets on a specified interface.
  • interface-type specifies the type of an interface.

  • interface-number specifies the number of an interface.

-

Views

User view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

Before collecting GARP traffic statistics on a specific interface within a certain period, you need to clear the existing GARP traffic statistics on this interface.

When using this command, pay attention to the following points:
  • If interface interface-type interface-number is not specified, the system clears statistics about GARP packets on all the interfaces.
  • If interface interface-type interface-number is specified, the system clears statistics about GARP packets on the specified interface.

Precautions

GVRP statistics cannot be restored after being cleared. Confirm your action before using this command.

Example

# Clear statistics about GARP packets on GE0/0/1.

<HUAWEI> reset garp statistics interface gigabitethernet 0/0/1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic