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).
Packet Structure

Packet Structure

GARP packets are encapsulated in the IEEE 802.3 Ethernet format, as shown in Figure 9-4.

Figure 9-4  GARP packet structure

The following table describes the fields in a GARP packet.




Protocol ID

Indicates the protocol ID.

The value is 1.


Indicates the messages in the packet. Each message consists of the Attribute Type and Attribute list fields.


Attribute Type

Indicates the type of an attribute, which is defined by the GARP application.

The value is 0x01 for GVRP, indicating that the attribute value is a VLAN ID

Attribute List

Indicates the attribute list of a message, which consists of multiple attributes.



Indicates an attribute, which consists of the Attribute Length, Attribute Event, and Attribute Value fields.


Attribute Length

Indicates the length of an attribute.

The value ranges from 2 to 255, in bytes.

Attribute Event

Indicates the event that an attribute describes.

The value can be:
  • 0: LeaveAll Event

  • 1: JoinEmpty Event

  • 2: JoinIn Event

  • 3: LeaveEmpty Event

  • 4: LeaveIn Event

  • 5: Empty Event

Attribute Value

Indicates the value of an attribute.

The value is a VLAN ID for GVRP. This field is invalid in a LeaveAll attribute.

End Mark

Indicates the end of a GARP PDU.

The value is 0x00.

Updated: 2019-04-12

Document ID: EDOC1100041791

Views: 63867

Downloads: 41

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