Gvrp configuration example ii, Network requirements, Network diagram – H3C Technologies H3C WX6000 Series Access Controllers User Manual

Page 85: Configuration procedure

Advertising
background image

9-8

GVRP Configuration Example II

Network requirements

Configure GVRP for dynamic VLAN information registration and update among devices. Specify fixed
GVRP registration on AC and normal GVRP registration on Device.

Network diagram

Figure 9-3

Network diagram for GVRP configuration

Configuration procedure

1) Configure

AC

# Enable GVRP globally.

<AC> system-view

[AC] gvrp

# Configure port GigabitEthernet 0/0/1 as a Trunk port, allowing all VLANs to pass.

[AC] interface GigabitEthernet 0/0/1

[AC-GigabitEthernet0/0/1] port link-type trunk

[AC-GigabitEthernet0/0/1] port trunk permit vlan all

# Enable GVRP on GigabitEthernet 0/0/1.

[AC-GigabitEthernet0/0/1] gvrp

# Set the GVRP registration type to fixed on the port.

[AC-GigabitEthernet0/0/1] gvrp registration fixed

[AC-GigabitEthernet0/0/1] quit

# Create VLAN 2 (a static VLAN).

[AC] vlan 2

2) Configure

Device

# Enable GVRP globally.

<Device> system-view

[Device] gvrp

# Configure port GigabitEthernet 0/0/1 as a Trunk port, allowing all VLANs to pass.

[Device] interface GigabitEthernet 0/0/1

[Device-GigabitEthernet0/0/1] port link-type trunk

[Device-GigabitEthernet0/0/1] port trunk permit vlan all

# Enable GVRP on GigabitEthernet 0/0/1.

[Device-GigabitEthernet0/0/1] gvrp

[Device-GigabitEthernet0/0/1] quit

# Create VLAN 3 (a static VLAN).

[Sysname] vlan 3

3) Verify the configuration

# Display dynamic VLAN information on AC.

[AC] display vlan dynamic

No dynamic vlans exist!

# Display dynamic VLAN information on Device.

Advertising