debugging gvrp

Function

The debugging gvrp command enables GVRP debugging.

The undo debugging gvrp command disables GVRP debugging.

By default, GVRP debugging is disabled.

Format

debugging gvrp all

debugging gvrp error

debugging gvrp info

debugging gvrp state [ interface { { ifName | ifType ifNum } [ vlan vlanId ] } ]

debugging gvrp packet { { receive | transmit } [ interface { ifName | ifType ifNum } ] }

undo debugging gvrp all

undo debugging gvrp error

undo debugging gvrp info

undo debugging gvrp state [ interface { { ifName | ifType ifNum } [ vlan vlanId ] } ]

undo debugging gvrp packet { { receive | transmit } [ interface { ifName | ifType ifNum } ] }

Parameters

Parameter Description Value
error

Indicates the debugging information of errors.

-

info

Indicates the debugging of information.

-

state

Indicates the debugging information of state.

-

interface ifType ifNum

Specifies the type and number of an interface.

-

vlan vlanId

Specifies a VLAN ID.

The value is an integer ranging from 1 to 4094.

packet

Indicates the debugging information of packet.

-

receive

Specifies received GVRP PDUs.

-

transmit

Specifies sent GVRP PDUs.

-

all

Indicates all debugging information.

-

Views

User view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
gvrp debug

Usage Guidelines

Usage Scenario

  • To enable GVRP state debugging, run the debugging gvrp state command.
  • To enable GVRP PDU debugging, run the debugging gvrp packet command.
  • To enable all GVRP debugging functions, run the debugging gvrp all command.
  • To enable GVRP error debugging, run the debugging gvrp error command.
  • To enable GVRP message debugging, run the debugging gvrp info command.

Example

# Enable all GVRP debugging functions.
<HUAWEI> debugging gvrp all
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.