Console (config)# interface ethernet g8
Console (config-if)# gvrp enable
3.8.3 garp timer
The garp timer interface configuration command adjusts the GARP application join, leave, and leaveall GARP timer
values. To reset the timer to default values, use the no form of this command.
Syntax
garp timer {join | leave | leaveall} timer_value
no garp timer
§
join — Indicates the time in milliseconds that PDUs are transmitted. (Range: 10-2147483640)
§
leave — Indicates the amount of time in milliseconds that the device waits before leaving its GARP state. The
Leave Time is activated by a Leave All Time message sent/received, and cancelled by the Join message. (Range:
10-2147483640)
§
leaveall — Used to confirm the port within the VLAN. The time in milliseconds between messages sent. (Range:
10-2147483640)
§
timer_value — Timer values in milliseconds.
Default Configuration
The default timer values are as follows:
Join timer — 200 milliseconds
Leave timer — 600 milliseconds
Leavall timer — 10000 milliseconds
Command Mode
Interface configuration (Ethernet, port-channel) mode
User Guidelines
The following relationship for the various timer values must be maintained:
Leave time must be greater than or equal to three times the join time.
Leaveall time must be greater than the leave time.
Set the same GARP timer values on all Layer 2-connected devices. If the GARP timers are set differently on Layer
2-connected devices, GARP application will not operate successfully.
As the number of dynamic VLANs (GVRP) increases, the leave time should be increased from the default value.
For example, if the number of dynamic VLANs is 400, it is recommended to increase the leave time.
Example
The following example sets the leave timer for port g8 to 900 milliseconds.
Console (config)# interface ethernet g8
Console (config-if)# garp timer leave 900
3.8.4 gvrp vlan-creation-forbid
The gvrp vlan-creation-forbid interface configuration command enables or disables dynamic VLAN creation. To disable
dynamic VLAN creation, use the no form of this command.
Syntax
gvrp vlan-creation-forbid
no gvrp vlan-creation-forbid
Default Configuration
By default, dynamic VLAN creation is enabled.
59