GVRP Configuration Example

GVRP Configuration Example

Network requirements

z

z

Enable GVRP on all the switches in the network so that the VLAN configurations on Switch C and Switch E can be applied to all switches in the network, thus implementing dynamic VLAN information registration and refresh, as shown in Figure 1-2.

By configuring the GVRP registration modes of specific Ethernet ports, you can enable the corresponding VLANs in the switched network to communicate with each other.

Figure 1-2Network diagram for GVRP configuration

Switch A

GEth1/0/1

GEth1/0/1

Switch B

GEth1/0/2

GEth1/0/3

 

GEth1/0/2

GEth1/0/1

 

GEth1/0/1

GEth1/0/1

Switch C

Switch

 

Switch E

VLAN5

 

VLAN8

VLAN5

 

 

 

VLAN7

Configuration procedure

1)Configure Switch A

# Enable GVRP globally.

<SwitchA> system-view

[SwitchA] gvrp

# Configure GigabitEthernet 1/0/1 to be a trunk port and to permit the packets of all the VLANs.

[SwitchA] interface GigabitEthernet 1/0/1

[SwitchA-GigabitEthernet1/0/1] port link-type trunk

[SwitchA-GigabitEthernet1/0/1] port trunk permit vlan all

# Enable GVRP on GigabitEthernet 1/0/1.

[SwitchA-GigabitEthernet1/0/1] gvrp

[SwitchA-GigabitEthernet1/0/1] quit

# Configure GigabitEthernet 1/0/2 to be a trunk port and to permit the packets of all the VLANs.

[SwitchA] interface GigabitEthernet 1/0/2

[SwitchA-GigabitEthernet1/0/2] port link-type trunk

[SwitchA-GigabitEthernet1/0/2] port trunk permit vlan all

# Enable GVRP on GigabitEthernet 1/0/2.

[SwitchA-GigabitEthernet1/0/2] gvrp

[SwitchA-GigabitEthernet1/0/2] quit

# Configure GigabitEthernet 1/0/3 to be a trunk port and to permit the packets of all the VLANs.

[SwitchA] interface GigabitEthernet 1/0/3

[SwitchA-GigabitEthernet1/0/3] port link-type trunk

1-7

Page 104
Image 104
3Com WX3000 Gvrp Configuration Example, Configure Switch a # Enable Gvrp globally, # Enable Gvrp on GigabitEthernet 1/0/1