Procedure
Step 1 Run:
system-view
The system view is displayed.
Step 2 Run:
garp timer leaveall timer-value
The value of the LeaveAll timer is set.
The default value of the LeaveAll timer is 1000 centiseconds (10 seconds).
The Leave timer length on an interface is restricted by the global LeaveAll timer length. When
configuring the global LeaveAll timer, ensure that all the interfaces configured with a GARP
Leave timer are working properly.
Step 3 Run:
interface interface-type interface-number
The interface view is displayed.
Step 4 Run:
garp timer { hold | join | leave } timer-value
The value of the Hold timer, Join timer, or Leave timer is set.
By default, the value of the Hold timer is 40 centiseconds, the value of the Join timer is 80
centiseconds, and the value of the Leave timer is 240 centiseconds.
----End
5.3.5 Checking the Configuration
Procedure
l Run the display gvrp status command to view the status of global GVRP.
l Run the display gvrp statistics [ interface { interface-type interface-number [ to interface-
type interface-number ] }&<1-5> ] command to view the GVRP statistics on an interface.
l Run the display garp timer [ interface { interface-type interface-number [ to interface-
type interface-number ] }&<1-5> ] command to view the values of the GARP timers.
----End
Example
Run the display gvrp status command to check whether global GVRP is enabled.
<Huawei> display gvrp status
Info: GVRP is enabled.
Run the display gvrp statistics command to view GVRP statistics on GVRP interfaces,
including the GVRP status on each interface, number of GVRP registration failures, source MAC
address of the last GVRP PDU, and registration type of each interface.
<Huawei> display gvrp statistics
Huawei AR3200 Series Enterprise Routers
Configuration Guide - LAN 5 GVRP Configuration
Issue 02 (2012-03-30) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
149