34CHAPTER 5: GVRP CONFIGURATION GUIDE

Configuration Procedure Configure Switch A

# Enable GVRP globally.

<SwitchA> system-view

[SwitchA] gvrp

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

[SwitchA] interface Ethernet 1/0/1

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

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

# Enable GVRP on Ethernet 1/0/1.

[SwitchA-Ethernet1/0/1] gvrp

[SwitchA-Ethernet1/0/1] quit

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

[SwitchA] interface Ethernet 1/0/2

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

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

# Enable GVRP on Ethernet 1/0/2.

[SwitchA-Ethernet1/0/2] gvrp

[SwitchA-Ethernet1/0/2] quit

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

[SwitchA] interface Ethernet 1/0/3

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

[SwitchA-Ethernet1/0/3] port trunk permit vlan all

# Enable GVRP on Ethernet 1/0/3.

[SwitchA-Ethernet1/0/3] gvrp

[SwitchA-Ethernet1/0/3] quit

Configure Switch B

#Configure Ethernet 1/0/1 and Ethernet 1/0/2 to be trunk ports and to permit the packets of all the VLANs to pass through. Enable GVRP globally and enable GVRP on the two ports. # The configuration on Switch B is similar to that on Switch A.

Configure Switch C

# Create VLAN 5.

<SwitchC> system-view

[SwitchC] vlan5

[SwitchC-vlan5]

Page 34
Image 34
3Com 4210, 5500G, 4200G manual Configuration Procedure Configure Switch a