175
•
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.
Complete these tasks to configure GVRP:
Task Remarks
Required
Optional
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.
Configuration restrictions and guidelines
•
GVRP is mutually exclusive with service loopback.
•
GVRP can work with STP, RSTP, or MSTP CIST but not PVST. When GVRP runs on the CIST, blocked
ports on the CIST cannot receive or send GVRP packets. For more information about STP, RSTP,
MSTP CIST, and PVST, see "
Configuring spanning tree protocols
•
Do not enable both GVRP and remote port mirroring. Otherwise, GVRP may register the remote
probe VLAN to unexpected ports, resulting in undesired duplicates to be received by the monitor
port. For more information about port mirroring, see
Network Management and Monitoring
Configuration Guide
.
•
Enabling GVRP on a Layer 2 aggregate interface enables both the aggregate interface and all
selected member ports in the corresponding link aggregation group to participate in dynamic
VLAN registration and deregistration.
Configuration procedure
To configure GVRP functions on a trunk port:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enable GVRP globally.
gvrp
Globally disabled by default.
3.
Enter Ethernet interface
view, Layer 2 aggregate
interface view, or port
group view.
•
Enter Ethernet interface view or Layer
2 aggregate interface view:
interface
interface-type
interface-number
•
Enter port group view:
port-group manual
port-group-name
Use either command.