The garp timer leaveall command sets the GARP LeaveAll timer.
The undo garp timer leaveall command restores the default value of the GARP LeaveAll timer.
The default value of the LeaveAll timer is 1000 centiseconds (10 seconds).
Parameter |
Description |
Value |
---|---|---|
timer-value |
Specifies the value of the GARP LeaveAll timer. |
The value is an integer that ranges from 65 to 32765 and that can be exactly divided by 5, in centiseconds. The value of the LeaveAll timer must be greater than the values of Leave timers on all the interfaces. |
Usage Scenario
When a GARP participant is enabled, the LeaveAll timer is started. When the LeaveAll timer expires, the GARP participant sends LeaveAll messages to request other GARP participants to re-register all its attributes. Then the LeaveAll timer restarts.
Devices on a network may have different settings for the LeaveAll timer. In this case, all the devices use the smallest LeaveAll timer value on the network. When the LeaveAll timer of a device expires, the device sends LeaveAll messages to other devices. After other devices receive the LeaveAll messages, they reset their LeaveAll timers. Therefore, only the LeaveAll timer with the smallest value takes effect even if devices have different settings for the LeaveAll timer.
Prerequisites
Before setting LeaveAll timers, you must enable GVRP globally.
Precautions
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 that have a GARP Leave timer configured are working properly.