Welcome to the Computer Science and Technology Study Materials section from CoreNetworkZ EdTech Solutions, a leading mock test and competitive exam preparation platform, for students preparing for SSC, DSSSB, and Kerala PSC examinations. Today, I will explain Generic Attribute Registration Protocol (GARP). After completing this tutorial, you will learn how to configure GARP.
Importance of Generic Attribute Registration Protocol (GARP)
A Computer Science student, Victor Anderson, asked me to explain the importance of GARP. Let me answer him in this section.
In a big network, it is not practical to register and de-register the attribute values of switching devices associated with the network. IEEE defines a new protocol to overcome the difficulty that works in layer 2.
GARP works in Layer 2.
The new protocol is the Generic Attribute Registration Protocol or simply GARP.
Definition of Generic Attribute Registration Protocol
Many readers asked me to explain the definition of this protocol. Though it is vague, you can read my definition here.
Generic Attribute Registration Protocol (GARP) is a generic framework defined by the IEEE to provide bridges, switches, or other similar devices to be able to register and de-register attribute values, such as VLAN identifiers and multicast group membership across a large LAN.
How does This Study Material help PSC, SSC, and DSSSB Aspirants?
SSC, DSSSB, and Kerala PSC conduct examinations for various IT posts.
Understanding GARP is essential for candidates appearing for the DSSSB PGT/TGT Computer Science, Kerala PSC Degree Level Exam, SSC Scientific Assistant (CS), VSSC Technical Assistant, and System Analyst posts. These networking fundamentals are core parts of the Computer Science syllabus.
Kerala PSC Degree Level examinations have a Computer Science section where students can expect questions that require them to explain the Configuration of Generic Attribute Registration Protocol (GARP) with GVRP . You can check the Kerala PSC Degree Level Common Prelims Syllabus under the Computer Science section. I recommend you download the syllabus using this official link.
Reference: https://www.keralapsc.gov.in/sites/default/files/2021-02/syllubus.pdf
How To Implement GARP?
Tom Ackerman asked me about the relationship between GARP and GVRP. He asked it in the comment section. Let me explain it here.
GVRP = GARP VLAN Registration Protocol
To implement GARP, a GARP application has to be created. The best example of a GARP application is GVRP. GVRP stands for GARP VLAN Registration Protocol.
GVRP creates dynamic VLANs when GARP is active on the switch. GVRP propagates VLAN information between switches where the admin implements a VLAN.
Configure GARP
Let us come to the final section of this tutorial by CoreNetworkZ EdTech Solutions. In this section, I will teach you how to configure the Generic Attribute Registration Protocol.
George Napier asked me to explain the steps to configure GARP in Switches. He also wanted me to mention the commands. Laxmi, a Kerala PSC Computer Assistant aspirant also asked this question.
To enable a GARP application, the command used is :
ENABLE GARP=GVRP [STP={stp-name|ALL}]
To turn off a GARP application, the command used is:
DISABLE GARP=GVRP [STP={stp-name|ALL}]
We have completed the GARP tutorial. Now, to learn how to configure GARP with Cisco and Juniper Switches, I recommend the following pages.
Reference
- https://www.cisco.com/c/en/us/support/docs/smb/switches/cisco-small-business-300-series-managed-switches/smb1764-view-generic-attribute-registration-protocol-garp-vlan-regis.pdf
- https://www.cisco.com/c/en/us/support/docs/smb/switches/cisco-250-series-smart-switches/smb2754-configure-gvrp-settings-on-a-switch.html
- https://www.keralapsc.gov.in/sites/default/files/2021-02/syllubus.pdf
- https://supportportal.juniper.net/s/article/Archive-Configuration-of-Dynamic-VLAN-Using-GVRP-GARP-Vlan-Registration-Protocol-for-the-EX-series-Switch?language=en_US
In what OS can we execute the command
ReplyDeleteENABLE GARP=GVRP?
Use the terminal to execute the command.
DeleteHello Alex,
ReplyDeleteI am a third-year computer science student. I plan to start my career as a network engineer, and your tutorials are invaluable. I could not figure out the need for this protocol. Can you explain it again?
Hello Victor,
DeleteWelcome to CoreNetworkZ Tech Solutions. I updated the tutorial by adding an explanation to answer your question.
Hello Alex,
ReplyDeleteWhat command should I use to configure GARP in Switches?
Hello George,
DeleteI suggest you read the configuration part of this tutorial. I mentioned the commands to enable and disable GARP.
Hello Alex,
ReplyDeleteI read a tutorial about network routing and switching. It mentioned GVRP and GARP. Is there a relation between them?
Hello Tom,
DeleteI have updated the tutorial and suggest you read it.