![Huawei AR530 Series Configuration Manual Download Page 173](http://html.mh-extra.com/html/huawei/ar530-series/ar530-series_configuration-manual_169308173.webp)
[RouterC]
interface ethernet 2/0/1
[RouterC-Ethernet2/0/1]
gvrp
[RouterC-Ethernet2/0/1]
gvrp registration fixed
[RouterC-Ethernet2/0/1]
quit
[RouterC]
interface ethernet 2/0/2
[RouterC-Ethernet2/0/2]
gvrp
[RouterC-Ethernet2/0/2]
gvrp registration normal
[RouterC-Ethernet2/0/2]
quit
Step 4
Verify the configuration.
After the configuration is complete, the branch of Company A can communicate with the
headquarters, and users of Company A in VLAN 101 to VLAN 200 can communicate with users
in Company B.
Run the
display gvrp status
command on RouterA to check whether GVRP is enabled globally.
The following information is displayed:
<RouterA>
display gvrp status
Info: GVRP is enabled.
Run the
display gvrp statistics
command on RouterA to view GVRP statistics, including the
GVRP state of each interface, number of GVRP registration failures, source MAC address of
the last GVRP PDU, and registration mode of each interface.
<RouterA>
display gvrp statistics interface ethernet 2/0/1
GVRP statistics on port Ethernet2/0/1
GVRP status : Enabled
GVRP registrations failed : 0
GVRP last PDU origin : 0001-0001-0001
GVRP registration type : Normal
Verify the configurations of RouterB and RouterC in the same way.
----End
Configuration Files
l
Configuration file of RouterA
#
sysname RouterA
#
vlan batch 101 to 200
#
gvrp
#
interface ethernet2/0/1
port link-type trunk
port trunk allow-pass vlan 2 to 4094
gvrp
#
interface ethernet2/0/2
port link-type trunk
port trunk allow-pass vlan 2 to 4094
gvrp
#
return
l
Configuration file of RouterB
#
sysname RouterB
#
gvrp
#
Huawei AR530&AR550 Series Industrial Switch Routers
Configuration Guide - Ethernet Switching
5 GVRP Configuration
Issue 01 (2014-11-30)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
159