Configuring the GARP timers
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Configure the GARP LeaveAll timer. | garp timer leaveall timer-value | Optional. 1000 centiseconds by default. The LeaveAll timer applies to all ports. |
3. Enter Ethernet interface view, Layer 2 aggregate interface view, or port group view. |
| Use either command. |
4. Configure the Hold timer. | garp timer hold timer-value | Optional. 10 centiseconds by default. |
5. Configure the Join timer. | garp timer join timer-value | Optional. 20 centiseconds by default. |
6. Configure the Leave timer. | garp timer leave timer-value | Optional. 60 centiseconds by default. |
As shown in Table 20, the value ranges for GARP timers are dependent on one another; use the following guidelines to configure GARP timers:
If you want to set a value beyond the value range for a timer, you can change the value range by tuning the value of another related timer.
If you want to restore the default settings of the timers, restore the Hold timer first, followed by the Join, Leave, and LeaveAll timers.
Table 20: Dependencies of the GARP timers
Timer | Lower limit | Upper limit |
---|---|---|
Hold | 10 centiseconds | No greater than half of the Join timer |
Join | No less than twice the Hold timer | Less than half of the Leave timer |
Leave | Greater than twice the Join timer | Less than the LeaveAll timer |
LeaveAll | Greater than the Leave timer | 32,765 centiseconds |
NOTE: To keep the dynamic VLANs learned through GVRP stable, do not set the LeaveAll timer smaller than its default value, 1000 centiseconds. | ||