beautypg.com

3 configuration procedure, 3 configuration procedure -7 – H3C Technologies H3C S3100 Series Switches User Manual

Page 121

background image

Operation Manual – GVRP

H3C S3100-52P Ethernet Switch

Chapter 1 GVRP Configuration

1-7

1.4.3 Configuration procedure

z

Configure switch A.

# Enable GVRP globally.

system-view

[H3C] gvrp

GVRP is enabled globally.

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

[H3C] interface Ethernet 1/0/1

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

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

# Enable GVRP on the trunk port.

[H3C-Ethernet1/0/1] gvrp

GVRP is enabled on port Ethernet1/0/1.

z

Configure switch B.

# Enable GVRP globally.

system-view

[H3C] gvrp

GVRP is enabled globally.

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

[H3C] interface Ethernet 1/0/2

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

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

# Enable GVRP on the trunk port.

[H3C-Ethernet1/0/2] gvrp

GVRP is enabled on port Ethernet1/0/2.