Task Remarks
Required
Optional
NOTE:
•
GVRP configuration made in Ethernet interface view or Layer 2 aggregate interface view takes effect on
the current interface only. GVRP configuration made in port group view takes effect on all the member
ports in the group.
•
GVRP configuration made on a member port in an aggregation group takes effect only after the port is
removed from the aggregation group.
Configuring GVRP functions
Before enabling GVRP on a port, you must enable GVRP globally. In addition, you can configure GVRP
only on trunk ports, and you must assign the involved trunk ports to all dynamic VLANs.
Follow these steps to configure GVRP functions on a trunk port:
To do…
Use the command…
Remarks
Enter system view
system-view
––
Enable GVRP globally
gvrp
Required
Globally disabled by
default.
Enter Ethernet interface
view or Layer 2
aggregate interface view
interface
interface-type
interface-number
Enter Ethernet
interface view,
Layer 2
aggregate
interface view,
or port group
view
Enter port group view
port-group manual
port-group-name
Required
Perform either of the
commands.
Configure the link type of the ports as trunk
port link-type trunk
Required
Access by default.
Assign the trunk ports to all VLANs
port trunk permit vlan all
Required
By default, a trunk port is
assigned to VLAN 1
only.
Enable GVRP on the ports
gvrp
Required
Disabled by default.
Configure the GVRP registration mode on the
ports
gvrp registration
{
fixed
|
forbidden
|
normal
}
Optional
normal
by default.
129