No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search


To have a better experience, please upgrade your IE browser.


CLI-based Configuration Guide - Ethernet Switching

AR650, AR1600, and AR6100 V300R003

This document describes how to configure the components for LAN services, including link aggregation groups, VLANs, voice VLANs, MAC address tables, transparent bridging, as well as GVRP, STP/RSTP, and MSTP protocols.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
(Optional) Setting the GARP Timers

(Optional) Setting the GARP Timers


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.

When using the garp timer command to set the GARP timers, pay attention to the following points:
  • The undo garp timer command restores the default values of GARP timers. If the default value of a timer is out of the valid range, the undo garp timer command does not take effect.

  • The value range of each timer changes with the values of the other timers. If a value you set for a timer is not in the allowed range, you can change the value of the timer that determines the value range of this timer.

  • To restore the default values of all the GARP timers, restore the Hold timer to the default value, and then sequentially restore the Join timer, Leave timer, and LeaveAll timer to the default values.

It is recommended that you use the following values for the GARP timers:
  • GARP Hold timer: 100 centiseconds (1 second)

  • GARP Join timer: 600 centiseconds (6 seconds)

  • GARP Leave timer: 3000 centiseconds (30 seconds)

  • GARP LeaveAll timer: 12000 centiseconds (2 minutes)

When more than 80 dynamic VLANs are created or more than three devices are running GARP on the network, set the GARP timer to be larger than or equal to the recommended value. Otherwise, the device CPU is affected. When the number of dynamic VLANs or GARP devices increases, increase lengths of the GARP timers. Otherwise, traffic may fail to be forwarded.


  1. Run system-view

    The system view is displayed.

  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.

  3. Run interface interface-type interface-number

    The interface view is displayed.

  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.

Updated: 2019-04-12

Document ID: EDOC1100041791

Views: 56589

Downloads: 38

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Previous Next