Packet Format
GVRP is an application of GARP, and the GVRP packet format complies with GARP.
GARP packets are encapsulated in the IEEE 802.3 Ethernet format, as shown in Figure 8-2.
The following table describes the fields in a GARP packet.
Field |
Description |
---|---|
Protocol ID |
Protocol ID. The value is 1. |
Message |
Message in a packet. A message consists of the Attribute Type and Attribute List fields. |
Attribute Type |
Attribute type, which is defined by the GARP application. The value is 0x01 for GVRP, indicating that the attribute value is a VLAN ID. |
Attribute List |
Attribute list, containing multiple attributes. |
Attribute |
Attribute, which consists of the Attribute Length, Attribute Event, and Attribute Value fields. |
Attribute Length |
Length of an attribute. The value is 2 to 255, in bytes. |
Attribute Event |
Event that an attribute describes:
|
Attribute Value |
Value of an attribute, which is a VLAN ID for GVRP but is invalid for a LeaveAll attribute. |
End Mark |
End of a GARP PDU. The value is 0x00. |