GARP Commands
Use these commands to configure Generic Attribute Registration Protocol (GARP) and view GARP status.
The commands in this section affect both GARP VLAN Registration Protocol (GVRP) and GARP Multicast Registration Protocol (GMRP). GARP is a protocol that allows client stations to register with the switch for membership in VLANs (by using GVMP) or multicast groups (by using GVMP).
set garp timer join
M4250
M4350
This command sets the GVRP join time per GARP for one interface, a range of interfaces, or all interfaces. Join time is the interval between the transmission of GARP Protocol Data Units (PDUs) registering (or reregistering) membership for a VLAN or multicast group. This command has an effect only when GVRP is enabled. The time is from 10 to 100 centiseconds. The value 20 centiseconds is 0.2 seconds.
| Default | 20 |
| Format | set garp timer join centiseconds |
| Mode |
Interface Config Global Config |
no set garp timer join
This command sets the GVRP join time to the default and only has an effect when GVRP is enabled.
| Format | no set garp timer join |
| Mode |
Interface Config Global Config |
set garp timer leave
M4250
M4350
This command sets the GVRP leave time for one interface, a range of interfaces, or all interfaces or all ports and only has an effect when GVRP is enabled. Leave time is the time to wait after receiving a deregister request for a VLAN or a multicast group before deleting the VLAN entry. This can be considered a buffer time for another station to assert registration for the same attribute in order to maintain uninterrupted service. The leave time is 20 to 600 centiseconds. The value 60 centiseconds is 0.6 seconds. The leave time must be greater than or equal to three times the join time.
| Default | 60 |
| Format | set garp timer leave centiseconds |
| Mode |
Interface Config Global Config |
no set garp timer leave
This command sets the GVRP leave time on all ports or a single port to the default and only has an effect when GVRP is enabled.
| Format | no set garp timer leave |
| Mode |
Interface Config Global Config |
set garp timer leaveall
M4250
M4350
This command sets how frequently Leave All PDUs are generated. A Leave All PDU indicates that all registrations will be unregistered. Participants would need to rejoin in order to maintain registration. The value applies per port and per GARP participation. The time may range from 200 to 6000 centiseconds. The value 1000 centiseconds is 10 seconds. You can use this command on all ports (Global Config mode), or on a single port or a range of ports (Interface Config mode) and it only has an effect when GVRP is enabled. The leave all time must be greater than the leave time.
| Default | 1000 |
| Format | set garp timer leaveall centiseconds |
| Mode |
Interface Config Global Config |
no set garp timer leaveall
This command sets how frequently Leave All PDUs are generated to the default and only has an effect when GVRP is enabled.
| Format | no set garp timer leaveall |
| Mode |
Interface Config Global Config |
show garp
M4250
M4350
This command displays GARP information.
| Format | show garp |
| Mode |
Privileged EXEC User EXEC |
| Term | Definition |
|---|---|
| GMRP Admin Mode | The administrative mode of GARP Multicast Registration Protocol (GMRP) for the system. |
| GVRP Admin Mode | The administrative mode of GARP VLAN Registration Protocol (GVRP) for the system. |