Gvrp Forbidden Registration Mode Configuration Example - HP 5820X series Configuration Manual

Hide thumbs Also See for 5820X series:
Table of Contents

Advertisement

[DeviceA] vlan 2
[DeviceA-vlan2] quit
Configure Device B
2.
# Enable GVRP globally.
<DeviceB> system-view
[DeviceB] gvrp
# Configure port GigabitEthernet 1/0/1 as a trunk port, and assign it to all VLANs.
[DeviceB] interface gigabitethernet 1/0/1
[DeviceB-GigabitEthernet1/0/1] port link-type trunk
[DeviceB-GigabitEthernet1/0/1] port trunk permit vlan all
# Enable GVRP on GigabitEthernet 1/0/1, and set the GVRP registration mode to fixed on the port.
[DeviceB-GigabitEthernet1/0/1] gvrp
[DeviceB-GigabitEthernet1/0/1] gvrp registration fixed
[DeviceB-GigabitEthernet1/0/1] quit
# Create VLAN 3 (a static VLAN).
[DeviceB] vlan 3
[DeviceB-vlan3] quit
Verify the configuration
3.
Use the display gvrp local-vlan command to display the local VLAN information maintained by GVRP on
ports. For example:
# Display the local VLAN information maintained by GVRP on port GigabitEthernet 1/0/1 of Device A.
[DeviceA] display gvrp local-vlan interface gigabitethernet 1/0/1
Following VLANs exist in GVRP local database:
1(default), 2
According to the output, information about VLAN 1 and static VLAN information of VLAN 2 on the local
device are registered through GVRP, but dynamic VLAN information of VLAN 3 on Device B is not.
# Display the local VLAN information maintained by GVRP on port GigabitEthernet 1/0/1 of Device B.
[DeviceB] display gvrp local-vlan interface gigabitethernet 1/0/1
Following VLANs exist in GVRP local database:
1(default), 3
According to the output, information about VLAN 1 and static VLAN information of VLAN 3 on the local
device are registered through GVRP, but dynamic VLAN information of VLAN 2 on Device A is not.

GVRP forbidden registration mode configuration example

Network requirements
As shown in
Figure
Device A and Device B are connected through their GigabitEthernet 1/0/1 ports.
Enable GVRP and configure the forbidden registration mode on ports to prevent the registration and
deregistration of all VLANs but VLAN 1 between the two devices.
52,
158

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

5800 series

Table of Contents