display garp statistics

Function

The display garp statistics command displays GARP statistics on a specific or all interfaces.

Format

display garp statistics [ interface { interface-name | interface-type interface-number } ]

Parameters

Parameter Description Value
interface interface-type interface-number

Displays GARP statistics on a specific interface:

  • <ifType> specifies the type of the interface.
  • <ifNum> specifies the number of the interface.

-

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
gvrp read

Usage Guidelines

Usage Scenario

After GARP is enabled on a device's interface, the device automatically records statistics about GARP PDUs sent, received, and discarded if any. To check the statistics, run the display garp statistics command. The statistics help determine whether GARP is functioning properly.

  • If the parameter interface is not specified in the command, GARP statistics on all interfaces are displayed.
  • If the parameter interface is specified in the command, GARP statistics on a specific interface are displayed.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display GARP statistics on the device.
<HUAWEI> display garp statistics
 GARP statistics on port GigabitEthernet0/1/17
    Number of GVRP frames received       : 0                                    
    Number of GVRP frames transmitted    : 0                                    
    Number of frames discarded           : 0
Table 1 Description of the display garp statistics command output
Item Description
Number of GVRP frames received

Statistics about GVRP PDUs received by the interface.

Number of GVRP frames transmitted

Statistics about GVRP PDUs sent by the interface.

Number of frames discarded

Statistics about GVRP PDUs discarded by the interface.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
Next topic >