Configuring CGMP


You want the router to use CGMP to communicate with a Catalyst switch.


When you enable multicast routing and turn on PIM on an interface, IGMP is enabled by default. However, you must explicitly enable CGMP on the router if you want your Catalyst switch to take advantage of this efficient way of handling group membership:

Router1#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router1(config)#ip multicast-routing
Router1(config)#interface FastEthernet0/0
Router1(config-if)#ip pim sparse-dense-mode
Router1(config-if)#ip cgmp



The introduction to this chapter discusses the reasons for CGMP and roughly how it works. It is important to remember that CGMP is a Cisco proprietary protocol, so it will only work with Catalyst switches. Table 23-1 shows the minimum switch software revision level required for CGMP for several types of switches. If in doubt, please check your switch's documentation.

Table 23-1. Catalyst switches that support CGMP

Catalyst model Minimum software version
1900 6.0
2820 6.0
2900XL 11.2(8)SA
2901, 2902, 2926T/F/G 2.3
2940 Not supported
2948G All
2950/2955 Not supported
2970 Not supported
3500XL 11.2(8)SA
3550, 3560, 3750 Not supported
4000 series (CatOS) All
4000 series (IOS) Not supported
4912 All
5000 2.3
6000 Not supported

The syntax for enabling CGMP on these devices varies. Also, on some of the supported switches, CGMP is enabled by default while it is disabled by default on others. So you should double check that the feature is enabled on your switch. On many of these switch types, you enable CGMP by simply typing the command "cgmp" in global configuration mode. For example, on a Catalyst 1900:

Switch-1900#configure terminal
Enter configuration commands, one per line. End with CNTL/Z
Switch-1900#show cgmp
CGMP Status : Enabled
CGMP Fast Leave Status : Disabled
CGMP Holdtime (secs) : 600
Allow Reserved Address to Join : Enabled

VLAN Address Destination
1 0100.5E7F.FFFA Et0/22, Et0/24
1 0100.5E00.0128 Et0/22

VLAN Router Address Expiration Interface
1 0010.7B3B.27E5 595 sec Et0/22

Similarly, on a 3500XL, the commands are the same, although the output is slightly different:

Switch-3500XL#configure terminal
Enter configuration commands, one per line. End with CNTL/Z
Switch-3500XL#show cgmp
CGMP is running.
CGMP Fast Leave is not running.
CGMP Allow reserved address to join GDA .
Default router timeout is 300 sec.

vLAN IGMP MAC Address Interfaces
------ ----------------- -----------
 1 0100.5e00.0128 Fa0/1

vLAN IGMP Router Expire Interface
------ ----------------- -------- ----------
 1 0009.7cb7.c9e2 288 sec Fa0/1 

Cisco IOS Cookbook
Cisco IOS Cookbook (Cookbooks (OReilly))
ISBN: 0596527225
EAN: 2147483647
Year: 2004
Pages: 505
Simiral book on Amazon © 2008-2017.
If you may any questions please contact us: