The GARP (Generic Attribute Registration Protocol) VLAN Registration Protocol (GVRP) defines a GARP application that provides the 802.1Q-compliant VLAN pruning and dynamic VLAN creation on 802.1Q trunk ports. GVRP is an application defined in the IEEE 802.1P standard that allows for the control of 802.1Q VLANs.
The sample below shows a dynamic VLAN configuration for the EX-series switches. The link provided also provides additional information concerning the GVRP configuration.
user@switch# set vlans vlan100 vlan-id 100 user@switch# set vlans vlan200 vlan-id 200 }vlans {vlan100 {vlan-id 100;}}vlan200 {vlan-id 200;}}
user@switch# set interfaces ge-0/0/18 unit 0 family ethernet-switching port-mode trunk user@switch# set interfaces ge-0/0/20 unit 0 family ethernet-switching port-mode trunk interfaces {ge-0/0/18 {unit 0 {family ethernet-switching {port-mode trunk;}}}ge-0/0/20 {unit 0 {family ethernet-switching {port-mode trunk;}}}
protocols {gvrp {interface ge-0/0/18.0;interface ge-0/0/20.0;}
user@switch# run show vlans Name Tag Interfacesdefaultge-0/0/2.0, ge-0/0/4.0, ge-0/0/5.0, ge-0/0/7.0,ge-0/0/9.0, ge-0/0/10.0, ge-0/0/11.0, ge-0/0/12.0,ge-0/0/13.0, ge-0/0/14.0, ge-0/0/15.0, ge-0/0/16.0,ge-0/0/17.0, ge-0/0/19.0, ge-0/0/21.0, ge-0/0/22.0,ge-0/0/23.0vlan100 100ge-0/0/0.0*, ge-0/0/18.0*, ge-0/0/20.0*vlan200 200ge-0/0/1.0*, ge-0/0/18.0*, ge-0/0/20.0*
2024-09-02: Updated Data category