Figure 6-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 MarkAttribute 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.
Quidway S7700 Smart Routing Switch
Configuration Guide - Ethernet 6 GVRP Configuration
Issue 01 (2011-07-15) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
332