Gvrp Fixed Registration Mode Configuration Example - HP A5120 EI Series Configuration Manual

Lan switching
Hide thumbs Also See for A5120 EI Series:
Table of Contents

Advertisement

# Enable GVRP on trunk port GigabitEthernet 1/0/1.
[DeviceB-GigabitEthernet1/0/1] gvrp
[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 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-3
According to the output, information about VLAN 1, static VLAN information of VLAN 2 on the local
device, and dynamic VLAN information of VLAN 3 on Device B are all registered through GVRP.
# 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),2-3
According to the output, information about VLAN 1, static VLAN information of VLAN 3 on the local
device, and dynamic VLAN information of VLAN 2 on Device A are all registered through GVRP.

GVRP fixed registration mode configuration example

Network requirements
As shown in
Device A and Device B are connected through their GigabitEthernet 1/0/1 ports.
Enable GVRP and configure the fixed registration mode on ports to enable the registration and
deregistration of static VLAN information between the two devices.
Figure 47 Network diagram for GVRP fixed 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
Figure
47:
GE1/0/1
Device B
151

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents