Saturday, March 15, 2008

Cisco CCNP / BCMSN Exam Tutorial: Configuring CGMP On Routers & Switches

If a Layer Two switch doesn t have the capabilities to run IGMP Snooping, it will be able to run CGMP - Cisco Group Membership Protocol. CGMP allows the multicast router to work with the Layer Two switch to eliminate unnecessary multicast forwarding.
CGMP will be enabled on both the multicast router and the switch, but the router s going to do all the work. The router will be sending Join and Leave messages to the switch as needed. PIM must be running on the router interface facing the switch before enabling CGMP, as you can see:
R1(config) int e0
R1(config-if) ip cgmp
WARNING: CGMP requires PIM enabled on interface
R1(config-if) ip pim sparse
R1(config-if) ip cgmp
When CGMP is first enabled on both the multicast router and switch, the router will send a CGMP Join message, informing the switch that a multicast router is now connected to it. This particular CGMP Join will contain a Group Destination Address (GDA) of 0000.0000.0000 and the MAC address of the sending interface. The GDA is used to identify the multicast group, so when this is set to all zeroes, the switch knows this is an introductory CGMP Join, letting the switch know that the multicast router is online.
The switch makes an entry in its MAC table that this router can be found off the port that the CGMP Join came in on. The router will send a CGMP Join to the switch every minute to serve as a keepalive.
A workstation connected to the switch on port 0/5 now wishes to join multicast group 225.1.1.1. The Join message is sent to the multicast router, but first it will pass through the switch. The switch will do what you d expect it to do - read the source MAC address and make an entry for it in the MAC address table as being off port fast 0/5 if there s not an entry already there. (Don t forget that the MAC address table is also referred to as the CAM table or the bridging table.)
The router will then receive the Join request, and send a CGMP Join back to the switch. This CGMP Join will contain both the multicast group s MAC address and the requesting host s MAC address. Now the switch knows about the multicast group 225.1.1.1 and that a member of that group is found off port fast 0/5. In the future, when the switch receives frames destined for that multicast group, the switch will not flood the frame as it would an unknown multicast. Instead, the switch will forward a copy of the frame to each port that it knows leads to a member of the multicast group.
Two major benefits of CGMP are the explicit Join and Leave Group messages. In the next part of this BCMSN exam tutorial, we ll take a look at the Leave Group messages.
Chris Bryant, CCIE 12933, is the owner of The Bryant Advantage (http://www.thebryantadvantage.com), home of free CCNA and CCNP tutorials, The Ultimate CCNA Study Package, Ultimate CCNP Study Packages, and CCNA CBT video training. Pass the CCNA exam , BSCI exam , and BCMSN exam with Chris Bryant, CCIE 12933!
For a copy of his FREE ebooks, How To Pass The CCNA and How To Pass The CCNP , visit the website and download your copies! You can now get a FREE CCNA and CCNP exam question every day with no email registration required. Get your CCNA study guide from The Bryant Advantage!



Bookmark it: del.icio.usdigg.comreddit.comnetvouz.comgoogle.comyahoo.comtechnorati.comfurl.netbloglines.comsocialdust.comma.gnolia.comnewsvine.comslashdot.orgsimpy.com

No comments: