Field
Description
Value
Protocol ID
Indicates the protocol ID.
The value is 1.
Message
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.
-
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.
Attribute Event
Indicates the event that an
attribute describes.
The value can be:
l
0: LeaveAll Event
l
1: JoinEmpty Event
l
2: JoinIn Event
l
3: LeaveEmpty Event
l
4: LeaveIn Event
l
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.
5.2.3 Working Procedure
This section describes the working procedure of GVRP by using an example. This example
illustrates how a VLAN attribute is registered and deregistered on a network in four phases.
Huawei AR530&AR550 Series Industrial Switch Routers
Configuration Guide - Ethernet Switching
5 GVRP Configuration
Issue 01 (2014-11-30)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
148