beautypg.com

Configuration procedure – H3C Technologies H3C WX6000 Series Access Controllers User Manual

Page 84

background image

9-7

Configuration procedure

1) Configure

AC

# Enable GVRP globally.

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, the Trunk port.

[AC-GigabitEthernet0/0/1] gvrp

[AC-GigabitEthernet0/0/1] quit

# Create VLAN 2 (a static VLAN).

[AC] vlan 2

2) Configure

Device

# Enable GVRP globally.

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, the Trunk port.

[Device-GigabitEthernet0/0/1] gvrp

[Device-GigabitEthernet0/0/1] quit

# Create VLAN 3 (a static VLAN).

[Device] vlan 3

3) Verify the configuration

# Display dynamic VLAN information on AC.

[AC] display vlan dynamic

Now, the following dynamic VLAN exist(s):

3

# Display dynamic VLAN information on Device.

[Device] display vlan dynamic

Now, the following dynamic VLAN exist(s):

2

Device in this configuration example refers to a device that supports VLAN in a generic sense.