Gvrp Forbidden Registration Mode Configuration Example - HP 3100 Series Configuration Manual

Table of Contents

Advertisement

GVRP forbidden registration mode configuration example

Network requirements
As shown in
Device A and Device B are connected through their ports Ethernet 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 48 Network diagram
Configuration procedure
Configure Device A:
1.
# Enable GVRP globally.
<DeviceA> system-view
[DeviceA] gvrp
# Configure port Ethernet 1/0/1 as a trunk port, and assign it to all VLANs.
[DeviceA] interface ethernet 1/0/1
[DeviceA-Ethernet1/0/1] port link-type trunk
[DeviceA-Ethernet1/0/1] port trunk permit vlan all
# Enable GVRP on Ethernet 1/0/1, and set the GVRP registration mode to forbidden on the
port.
[DeviceA-Ethernet1/0/1] gvrp
[DeviceA-Ethernet1/0/1] gvrp registration forbidden
[DeviceA-Ethernet1/0/1] quit
# Create VLAN 2 (a static VLAN).
[DeviceA] vlan 2
[DeviceA-vlan2] quit
Configure Device B:
2.
# Enable GVRP globally.
<DeviceB> system-view
[DeviceB] gvrp
# Configure port Ethernet 1/0/1 as a trunk port, and assign it to all VLANs.
[DeviceB] interface ethernet 1/0/1
[DeviceB-Ethernet1/0/1] port link-type trunk
[DeviceB-Ethernet1/0/1] port trunk permit vlan all
# Enable GVRP on Ethernet 1/0/1, and set the GVRP registration mode to forbidden on the
port.
[DeviceB-Ethernet1/0/1] gvrp
[DeviceB-Ethernet1/0/1] gvrp registration forbidden
[DeviceB-Ethernet1/0/1] quit
# Create VLAN 3 (a static VLAN).
[DeviceB] vlan 3
[DeviceB-vlan3] quit
Verify the configuration:
3.
Figure
48:
147

Advertisement

Table of Contents
loading

Table of Contents