Figure 5-1
Format of a GARP packet
DA SA length DSAP SSAP Ctrl
PDU
Protocol ID Message 1
…
Message N End Mark
Attribute Type
Attribute List
Attribute 1
End Mark
Attribute N
…
Attribute Length Attribute Event Attribute Value
Ethernet Frame
GARP PDU structure
1
1
1
1
N
N
N
N
3
2
2
3
Message structure
Attribute List structure
Attribute structure
The following table describes the fields in a GARP packet.
Field
Description
Value
Protocol ID
Indicates the protocol ID.
The value is 1.
Message
Indicates the messages in
the packet. A 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,
which consists of multiple
attributes.
-
Attribute
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.
Huawei AR3200 Series Enterprise Routers
Configuration Guide - LAN
5 GVRP Configuration
Issue 02 (2012-03-30)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
144