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.

  • Enter Ethernet interface view or Layer 2 aggregate interface view:interface interface-type interface-number

  • Enter port group view:port-group manual port-group-name

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:

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: ]

NOTE:

To keep the dynamic VLANs learned through GVRP stable, do not set the LeaveAll timer smaller than its default value, 1000 centiseconds.