R2511-HP MSR Router Series Layer 2 - LAN Switching Configuration Guide(V5)
101
Configuring basic GVRP functions
Configuration prerequisites
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 can work with STP, RSTP, or MSTP CIST. When GVRP runs on the CIST, blocked ports on the
CIST cannot receive/send GVRP packets. For more information about STP, RSTP, and MSTP CIST,
see "Configuring the spanning tree."
• 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:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Enable GVRP globally.
gvrp
By default, GVRP is globally
disabled.
3. Enter Ethernet interface 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 one of the commands.
4. Configure the link type of the
ports as trunk.
port link-type trunk
The default setting is access.
For more information about
the port link-type trunk
command, see Layer 2—LAN
Switching Command
Reference.
5. Assign the trunk ports to all
VLANs.
port trunk permit vlan all
By default, a trunk port is
assigned to VLAN 1 only.
For more information about
the port trunk permit vlan all
command, see Layer 2—LAN
Switching Command
Reference.
6. Enable GVRP on the ports.
gvrp By default, GVRP is disabled.










