Verifying the configuration, Gvrp fixed registration mode configuration example, Network requirements – H3C Technologies H3C WX5500E Series Access Controllers User Manual

Page 177: Configuration procedure

Advertising
background image

166

<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 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

Verifying the configuration

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

The output shows that information about VLAN 1, static VLAN information about VLAN 2 on the local
device, and dynamic VLAN information about VLAN 3 on Device B are all registered through GVRP.
# 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),2-3

The output shows that information about VLAN 1, static VLAN information about VLAN 3 on the local
device, and dynamic VLAN information about VLAN 2 on Device A are all registered through GVRP.

GVRP fixed registration mode configuration example

Network requirements

As shown in

Figure 51

, enable GVRP and configure the fixed registration mode on ports to enable

registration and deregistration of static VLAN information between the two devices.

Figure 51 Network diagram

Configuration procedure

1.

Configure Device A:
# Enable GVRP globally.

<DeviceA> system-view

[DeviceA] gvrp

Advertising