Configuration Guide User guide
FastIron Configuration Guide 903
53-1002494-02
GVRP CLI examples
Enter the following commands on edge device A.
Brocade> enable
Brocade#configure terminal
Brocade(config)#vlan 20
Brocade(config-vlan-20)#untag ethernet 2/1
Brocade(config-vlan-20)#tag ethernet 4/24
Brocade(config-vlan-20)#vlan 40
Brocade(config-vlan-40)#untag ethernet 2/1
Brocade(config-vlan-40)#tag ethernet 4/24
Brocade(config-vlan-40)#exit
Brocade(config)#gvrp-enable
Brocade(config-gvrp)#enable ethernet 4/24
Brocade(config-gvrp)#block-learning ethernet 4/24
These commands statically configure two port-based VLANs, enable GVRP on port 4/24, and block
GVRP learning on the port. The device will advertise the VLANs but will not learn VLANs from other
devices.
Enter the following commands on edge device B.
Brocade> enable
Brocade#configure terminal
Brocade(config)#vlan 20
Brocade(config-vlan-20)#untag ethernet 2/24
Brocade(config-vlan-20)#tag ethernet 4/1
Brocade(config-vlan-20)#vlan 30
Brocade(config-vlan-30)#untag ethernet 4/24
Brocade(config-vlan-30)#tag ethernet 4/1
Brocade(config-vlan-30)#exit
Brocade(config)#gvrp-enable
Brocade(config-gvrp)#enable ethernet 4/1
Brocade(config-gvrp)#block-learning ethernet 4/1
Enter the following commands on edge device C.
Brocade> enable
Brocade#configure terminal
Brocade(config)#vlan 30
Brocade(config-vlan-30)#untag ethernet 2/24
Brocade(config-vlan-30)#tag ethernet 4/1
Brocade(config-vlan-20)#vlan 40
Brocade(config-vlan-40)#untag ethernet 4/24
Brocade(config-vlan-40)#tag ethernet 4/1
Brocade(config-vlan-40)#exit
Brocade(config)#gvrp-enable
Brocade(config-gvrp)#enable ethernet 4/1
Brocade(config-gvrp)#block-learning ethernet 4/1
Dynamic core and dynamic edge
In this configuration, the core and edge devices have no statically configured VLANs and are
enabled to learn and advertise VLANs. The edge and core devices learn the VLANs configured on
the devices in the edge clouds. To enable GVRP on all the ports, enter the following command on
each edge device and on the core device.