GVRP configuration on S series switch

Configure GVRP on an S series switch, except S1700:
1. Enable GVRP globally. Note: On an S series switch, except S9300, the VCMP role must be configured as Transparent or Silent.
[HUAWEI] vcmp role silent
[HUAWEI] gvrp

2. Add interfaces to VLANs.
[HUAWEI] interface gigabitethernet 1/0/1
[HUAWEI-GigabitEthernet1/0/1] port link-type trunk
[HUAWEI-GigabitEthernet1/0/1] port trunk allow-pass vlan all
[HUAWEI-GigabitEthernet1/0/1] quit
[HUAWEI] interface gigabitethernet 1/0/2
[HUAWEI-GigabitEthernet1/0/2] port link-type trunk
[HUAWEI-GigabitEthernet1/0/2] port trunk allow-pass vlan all
[HUAWEI-GigabitEthernet1/0/2] quit

3. Enable GVRP on interfaces.
[HUAWEI] interface gigabitethernet 1/0/1
[HUAWEI-GigabitEthernet1/0/1] gvrp
[HUAWEI-GigabitEthernet1/0/1] quit
[HUAWEI] interface gigabitethernet 1/0/2
[HUAWEI-GigabitEthernet1/0/2] gvrp
[HUAWEI-GigabitEthernet1/0/2] quit

4. Set the timer to recommended value.
[HUAWEI] garp timer leaveall 12000
[HUAWEI] interface gigabitethernet 1/0/1
[HUAWEI-GigabitEthernet1/0/1] garp timer leave 3000
[HUAWEI-GigabitEthernet1/0/1] garp timer join 600
[HUAWEI-GigabitEthernet1/0/1] garp timer hold 100
[HUAWEI-GigabitEthernet1/0/1] quit

5. (Optional) Set the registration mode on interfaces. The registration mode is set to Fixed here. The default mode is Normal.
[HUAWEI] interface gigabitethernet 1/0/1
[HUAWEI-GigabitEthernet1/0/1] gvrp
[HUAWEI-GigabitEthernet1/0/1] gvrp registration fixed
[HUAWEI-GigabitEthernet1/0/1] quit

Scroll to top