Switch 7700 Configuration Guide

GARP/GVRP Configuration 45
Example: GVRP
Configuration Example
The network requirement is to dynamically register and update VLAN information
among switches.
Figure 2 GVRP Configuration Example
Configure Switch A:
1 Set Ethernet1/0/1 as a Trunk port and allows all the VLANs to pass through.
[SW7700] interface Ethernet 1/0/1
[SW7700-Ethernet1/0/1] port link-type trunk
[SW7700-Ethernet1/0/1] port trunk permit vlan all
2 Create VLANs.
[SW7700-Ethernet1/0/1] vlan 3
[SW7700-vlan3] vlan 4
3 Enable GVRP globally.
[SW7700-vlan4] quit
[SW7700] gvrp
4 Enable GVRP on the Trunk port.
[SW7700] interface Ethernet 1/0/1
[SW7700-Ethernet1/0/1] gvrp
Configure Switch B:
1 Set Gigabit Ethernet2/1 as a Trunk port and allows all the VLANs to pass through.
[SW7700] interface Ethernet 2/0/1
[SW7700-Ethernet2/0/1] port link-type trunk
[SW7700-Ethernet2/0/1] port trunk permit vlan all
2 Enable GVRP globally.
[SW7700-Ethernet2/0/1] quit
[SW7700] gvrp
3 Enable GVRP on the Trunk port.
[SW7700] interface ethernet 2/0/1
[SW7700-Ethernet2/0/1] gvrp
Disable GVRP packet or event
debugging
undo debugging gvrp { packet | event}
Table 14 Display and Debug GVRP
Operation Command
Switch A
E1/01
Switch B
E2/0/1