The garp timer command sets values for GARP timers on an interface.
The undo garp timer command restores the default values of GARP timers on an interface.
By default, the values of the Hold timer, Join timer, and Leave timer are 10 centiseconds, 20 centiseconds, and 60 centiseconds, respectively.
Parameter | Description | Value |
---|---|---|
join timer-value |
Sets a value for a GARP Join timer. |
|
leave timer-value |
Sets a value for a GARP Leave timer. |
|
hold timer-value |
Sets a value for a GARP Hold timer. |
|
Usage Scenario
GARP defines three interface timers:
Prerequisites
Before running the garp timer command in a interface group view, the interface group must contain physical interfaces.
GVRP has been enabled globally and on each interface.Precautions
When you run the garp timer command to set GARP timers for an interface, note the following:
<HUAWEI> system-view [~HUAWEI] gvrp [*HUAWEI] interface GigabitEthernet0/1/17 [*HUAWEI-GigabitEthernet0/1/17] portswitch [*HUAWEI-GigabitEthernet0/1/17] port link-type trunk [*HUAWEI-GigabitEthernet0/1/17] gvrp [*HUAWEI-GigabitEthernet0/1/17] garp timer join 300
<HUAWEI> system-view [~HUAWEI] gvrp [*HUAWEI] interface GigabitEthernet0/1/17 [*HUAWEI-GigabitEthernet0/1/17] portswitch [*HUAWEI-GigabitEthernet0/1/17] port link-type trunk [*HUAWEI-GigabitEthernet0/1/17] gvrp [*HUAWEI-GigabitEthernet0/1/17] garp timer hold 100
<HUAWEI> system-view [~HUAWEI] gvrp [*HUAWEI] interface GigabitEthernet0/1/17 [*HUAWEI-GigabitEthernet0/1/17] portswitch [*HUAWEI-GigabitEthernet0/1/17] port link-type trunk [*HUAWEI-GigabitEthernet0/1/17] gvrp [*HUAWEI-GigabitEthernet0/1/17] garp timer leave 800