< Home

display garp statistics

Function

The display garp statistics command displays statistics about the Generic Attribute Registration Protocol (GARP) on an interface.

Format

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

Parameters

Parameter

Description

Value

interface interface-type interface-number

Displays the statistics about GARP on the specified interface.
  • interface-type specifies the type of an interface.

  • interface-number specifies the number of an interface.

-

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

After the GARP VLAN Registration Protocol (GVRP) is enabled on an interface, the system collects statistics about GVRP packets sent, received, and discarded on the interface. You can view the statistics to check whether the GVRP function on the interface is normal.

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

Example

# Display statistics about GARP packets on a specified interface.

<HUAWEI> display garp statistics interface gigabitethernet 0/0/1

  GARP statistics on port GigabitEthernet0/0/1
    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

Number of GVRP packets received by an interface.

Number of GVRP frames transmitted

Number of GVRP packets sent by an interface.

Number of frames discarded

Number of packets discarded by an interface.

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