Setting The Gvrp Forbidden Registration Mode Configuration - HP A5830 Configuration Manual

Layer 2 lan switching
Hide thumbs Also See for A5830:
Table of Contents

Advertisement

# Create VLAN 3 (a static VLAN).
[DeviceB] vlan 3
[DeviceB-vlan3] quit
Verify the configuration.
3.
Use the display gvrp local-vlan command to view the local VLAN information that GVRP maintains on
ports. For example:
# Display the local VLAN information that GVRP maintains 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 that GVRP maintains 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.

Setting the GVRP forbidden registration mode configuration

Network requirements
As shown in
Device A and Device B are connected through their ports GigabitEthernet 1/0/1.
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.
Figure 47 Network diagram for GVRP forbidden registration mode configuration
GE1/0/1
Device A
Configuration procedure
Configure Device A.
1.
# Enable GVRP globally.
<DeviceA> system-view
[DeviceA] gvrp
# Configure port GigabitEthernet 1/0/1 as a trunk port, and assign it to all VLANs.
[DeviceA] interface gigabitethernet 1/0/1
[DeviceA-GigabitEthernet1/0/1] port link-type trunk
[DeviceA-GigabitEthernet1/0/1] port trunk permit vlan all
# Enable GVRP on GigabitEthernet 1/0/1, and set the GVRP registration mode to forbidden on the port.
[DeviceA-GigabitEthernet1/0/1] gvrp
[DeviceA-GigabitEthernet1/0/1] gvrp registration forbidden
Figure
47:
GE1/0/1
Device B
143

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents