![Cisco 2948G - Catalyst Switch Скачать руководство пользователя страница 298](http://html.mh-extra.com/html/cisco/2948g-catalyst-switch/2948g-catalyst-switch_configuration-manual_67462298.webp)
15-14
Catalyst 4500 Series, Catalyst 2948G, Catalyst 2980G Switches Software Configuration Guide
—
Release 8.1
78-15486-01
Chapter 15 Configuring Multicast Services
Configuring GMRP
When you set the timer values, the value for leave must be equal to or greater than three times the join
value (leave >= join * 3). The value for leaveall must be greater than the value for leave
(leaveall > leave). The more registered attributes there are on the switch, the greater you should
configure the difference between the leave value and the join value.
For better performance on switches with many registered multicast groups, increase the timer values to
the order of seconds.
If you attempt to set a timer value that does not adhere to these rules, an error is returned. For example,
if you set the leave timer to 600 ms and you attempt to configure the join timer to 350 ms, an error is
returned. Set the leave timer to at least 1050 ms, and then set the join timer to 350 ms.
Caution
Set the same GARP timer values on all Layer 2-connected devices. If the GARP timers are set differently
on the Layer 2-connected devices, GARP applications (for example, GMRP and GVRP) will not operate
successfully.
To adjust the GARP timer values, perform this task in privileged mode:
This example shows how to set GARP timers and verify the configuration:
Console> (enable) set garp timer leaveall 12000
GMRP/GARP leaveAll timer value is set to 12000 milliseconds.
Console> (enable) set garp timer leave 650
GMRP/GARP leave timer value is set to 650 milliseconds.
Console> (enable) set garp timer join 300
GMRP/GARP join timer value is set to 300 milliseconds.
Console> (enable) show garp timer
Timer Timer Value (milliseconds)
-------- --------------------------
Join 300
Leave 650
LeaveAll 12000
Console> (enable)
Displaying GMRP Statistics
To display GMRP statistics on the switch, perform this task in privileged mode:
This example shows how to display GMRP statistics for VLAN 23:
Console> show gmrp statistics 23
GMRP Statistics for vlan <23>:
Total valid GMRP Packets Received:500
Join Empties:200
Join INs:250
Task
Command
Step 1
Set the GARP timer values.
set garp timer {join | leave | leaveall} timer_value
Step 2
Verify the configuration.
show garp timer
Task
Command
Display GMRP statistics.
show gmrp statistics [vlan_id]