Constraining IP Multicast in a Switched Ethernet Network



Similar documents
L2TP Dial-Out Load Balancing and Redundancy

Cisco Network Planning Solution Documentation Guide and Supplemental License Agreement

This feature was introduced. This feature was integrated in Cisco IOS Release 12.2(11)T.

Transferring Files Using HTTP or HTTPS

Cisco 10-Gigabit Ethernet Transceiver Modules Compatibility Matrix

Enabling and Monitoring NetFlow on Subinterfaces

Data Center Infrastructure Design Guide 2.1 Readme File

Cisco IP Phone 7961G/7961G-GE and 7941G/7941G-GE Enhancements

Cisco 10-Gigabit Ethernet Transceiver Modules Compatibility Matrix

Configuring Cisco Unified Communications Manager for the NovaTec TransNova S3 Voice Gateway

Cisco Registered Envelope Recipient Guide

Cisco OC-3/OC-12/OC-48 SFP Transceiver Modules Compatibility Matrix

Terminal Services Overview

Upgrading to the Cisco ubr7246vxr Universal Broadband Router

Cisco 100-Megabit Ethernet SFP Modules Compatibility Matrix

How to Register, Start, and Access a Cisco Online Exam

System Message Logging

Basic Software Configuration Using the Cisco IOS Command-Line Interface

Release Notes for the Cisco WAN Modeling Tools, Release Patch 1

BGP Multipath Load Sharing for Both ebgp and ibgp in an MPLS-VPN

FXO, FXS, and E&M Voice Interface Card Support on Cisco 1700 Series Routers

Cipher Suites and WEP

Connecting Cisco Serial High-Speed WAN Interface Cards

White Paper: Active Directory Capacity Planning (Cisco Unity Versions 4.x, 3.1, and 3.0(3) and Later with Microsoft Exchange)

Cisco IronPort Encryption Appliance Release Notes

Connecting Cisco Fast Ethernet ISDN PRI Network Modules to the Network

Cisco Aironet 5-dBi Omnidirectional Antenna (AIR-ANT2450V-N)

Calling Name Delivery (CNAM)

Cisco IOS Flexible NetFlow Overview

Installation Guide for Cisco Unified ICM/Contact Center Enterprise and Hosted Release 9.0(1)

Cisco Smart Care Services Questions and Answers About the Voice Quality Monitor Service

Cisco Unified Attendant Console Backup and Restore Guide

Installing and Configuring External Flash Memory Cards in Cisco 3600 Series Routers

Integrating CAD with Thin Client and Virtual Desktop Environments

Danish Train Operator Gets Customer Service Back On Track

Cisco Router and Security Device Manager File Management

Cisco Data Center Infrastructure Design Guide 2.1 Release Notes

CISCO CATALYST 3750 SERIES SWITCHES

Disaster Recovery System Administration Guide for Cisco Unified Presence Server Release 1.0(3)

CISCO SMALL AND MEDIUM BUSINESS CLASS VOICE SOLUTIONS: CISCO CALLMANAGER EXPRESS BUNDLES

Cause Codes and Debug Values

Cisco GLBP Load Balancing Options

Release Notes for Cisco Support Tools Release 2.4(1)

Cisco Unified CallConnector for Microsoft Office Troubleshooting Guide

Cisco Unified Wireless IP Phone 7925G Accessory Guide

Voice-Over IP Monitoring Best Practices Deployment Guide for CAD 6.0/6.1

CISCO AIRONET POWER INJECTOR

Cisco Unified Wireless IP Phone 7925G Accessory Guide

Cisco Registered Envelope Recipient Guide

Cisco Registered Envelope Service 4.3 Recipient Guide

Cisco Aironet 1130AG Series

Cisco IP Phone 7912G. At a Glance

Figure 1. The Cisco Aironet Power Injectors Provide Inline Power to Cisco Aironet Access Points and Bridges

Virtual Fragmentation Reassembly

Cisco Registered Envelope Service 4.4 Recipient Guide

Implementation Note for NetFlow Collectors

GLBP - Gateway Load Balancing Protocol

CISCO IOS SOFTWARE RELEASES 12.4 MAINLINE AND 12.4T FEATURE SETS FOR THE CISCO 3800 SERIES ROUTERS

Cisco Director Class SAN Planning and Design Service

User Guide for Cisco Unified MeetingPlace Web Conferencing

CISCO SFP OPTICS FOR PACKET-OVER-SONET/SDH AND ATM APPLICATIONS

CISCO NETWORK ASSISTANT

Cisco Unified SIP Phone 3911 Phone Guide for Cisco Unified Communications Manager 6.0 and 5.1

Overview: Cisco Wireless Network Management Suite 1.0

Cisco MDS 9000 Family Release Notes for Storage Services Interface Image Release 3.2(1)

CISCO 10GBASE X2 MODULES

CISCO IOS SOFTWARE RELEASES 12.4 MAINLINE AND 12.4T FEATURE SETS FOR THE CISCO 2800 SERIES ROUTERS

Cisco Unified Web and Interaction Manager Knowledge Base Author s Guide

CISCO IOS SOFTWARE FEATURE PACKS FOR THE CISCO 1700 SERIES MODULAR ACCESS ROUTERS AND CISCO 1800 SERIES (MODULAR) INTEGRATED SERVICES ROUTERS

Cisco Unified Web and Interaction Manager Knowledge Base Author s Guide

CISCO ISDN BRI S/T WIC FOR THE CISCO 1700, 1800, 2600, 2800, 3600, 3700, AND 3800 SERIES

NETFLOW PERFORMANCE ANALYSIS

Cisco Unified Communications Express Historical Reporting Client Configuration Guide

Configuring a Load-Balancing Scheme

User Guide Cisco Unified MeetingPlace Express Release 2.0

PCI Compliance: Improve Payment Security

CISCO CATALYST 6500 SUPERVISOR ENGINE 32

Cisco Data Center Business Continuity Planning Service

Incorporating Managed Services into an Enterprise Architecture Strategy

How To Install A Cisco Antenna For Outdoor Use

Configuring the SA 500 for Active Directory Authentication of VPN Clients 2. Establishing a SSL VPN Connection By Using a Different Port Number 35

End-of-Sale and End-of-Life Announcement for the Cisco Catalyst 2970 Series Switches

CISCO NETWORK ANALYSIS SOFTWARE 3.4

Customizing Your Cisco Unified IP Phone on the Web

Router Security Audit Logs

Cisco Smart Business Communications System Setup

Definition of Financial Terms

Installation Guide for Cisco Unified Call Services, Universal Edition and Unified Call Studio

Cisco Unified IP Phone Solutions

Getting Started. Cisco Desktop Product Suite 4.5 (ICD)

NetFlow Subinterface Support

Release Notes for Cisco IronPort Security Plug-in 7.1

Sampled NetFlow. Feature Overview. Benefits

Controlling Access to a Virtual Terminal Line

Cisco Aironet Dual Band MIMO Low Profile Ceiling Mount Antenna (AIR-ANT2451NV-R)

These documents explains how to configure and maintain your Cisco router.

Cisco ASA 5505 Getting Started Guide

Accessibility Guidelines for Cisco Unified Contact Center Management Portal

Transcription:

Constraining IP Multicast in a Switched Ethernet Network This module describes how to configure routers to use the Cisco Group Management Protocol (CGMP) in switched Ethernet networks to control multicast traffic to Layer 2 switch ports and the Router-Port Group Management Protocol (RGMP) to constrain IP multicast traffic on router-only network segments. The default behavior for a Layer 2 switch is to forward all multicast traffic to every port that belongs to the destination LAN on the switch. This behavior reduces the efficiency of the switch, whose purpose is to limit traffic to the ports that need to receive the data. This behavior requires a constraining mechanism to reduce unnecessary multicast traffic, which improves switch performance. Module History This module was first published on May 2, 2005, and last updated on May 2, 2005. Finding Feature Information in This Document Not all features may be supported in your Cisco IOS software release. Use the Feature Information for Constraining IP Multicast in a Switched Ethernet Network to find information about feature support and configuration. Contents Prerequisites for Constraining IP Multicast in a Switched Ethernet Network, page 2 Information About IP Multicast in a Switched Ethernet Network, page 2 How to Constrain Multicast in a Switched Ethernet Network, page 4 Configuration Examples for Constraining IP Multicast in a Switched Ethernet Network, page 7 Additional References, page 7 Feature Information for Constraining IP Multicast in a Switched Ethernet Network, page 8 Americas Headquarters: Cisco Systems, Inc., 170 West Tasman Drive, San Jose, CA 95134-1706 USA 2007 Cisco Systems, Inc. All rights reserved.

Prerequisites for Constraining IP Multicast in a Switched Ethernet Network Constraining IP Multicast in a Switched Ethernet Network Prerequisites for Constraining IP Multicast in a Switched Ethernet Network Before using the tasks in this module, you should be familiar with the concepts described in the IP Multicast Technology Overview module. Information About IP Multicast in a Switched Ethernet Network Before you perform the tasks in this module, you should understand the following concepts: IP Multicast Traffic and Layer 2 Switches, page 2 CGMP on Catalyst Switches for IP Multicast, page 2 IGMP Snooping, page 3 Router-Port Group Management Protocol (RGMP), page 3 IP Multicast Traffic and Layer 2 Switches The default behavior for a Layer 2 switch is to forward all multicast traffic to every port that belongs to the destination LAN on the switch. This behavior reduces the efficiency of the switch, whose purpose is to limit traffic to the ports that need to receive the data. This behavior requires a constraining mechanism to reduce unnecessary multicast traffic, which improves switch performance. Three methods that efficiently constrain IP multicast in a Layer 2 switching environment are described in the following sections: CGMP on Catalyst Switches for IP Multicast, page 2 IGMP Snooping, page 3 Router-Port Group Management Protocol (RGMP), page 3 Note CGMP and IGMP snooping are used on subnets that include end users or receiver clients. RGMP is used on routed segments that contain only routers, such as in a collapsed backbone. RGMP and CGMP cannot interoperate. However, Internet Group Management Protocol (IGMP) can interoperate with CGMP and RGMP snooping. CGMP on Catalyst Switches for IP Multicast CGMP is a Cisco-developed protocol used on routers connected to Catalyst switches to perform tasks similar to those performed by IGMP. CGMP is necessary for those Catalyst switches that do not distinguish between IP multicast data packets and IGMP report messages, both of which are addressed to the same group address at the MAC level. The switch can distinguish IGMP packets, but would need to use software on the switch, greatly impacting its performance. 2

Constraining IP Multicast in a Switched Ethernet Network Information About IP Multicast in a Switched Ethernet Network You must configure CGMP on the multicast routers and the Layer 2 switches. The result is that, with CGMP, IP multicast traffic is delivered only to those Catalyst switch ports that are attached to interested receivers. All other ports that have not explicitly requested the traffic will not receive it unless these ports are connected to a multicast router. Multicast router ports must receive every IP multicast data packet. Using CGMP, when a host joins a multicast group, it multicasts an unsolicited IGMP membership report message to the target group. The IGMP report is passed through the switch to the router for normal IGMP processing. The router (which must have CGMP enabled on this interface) receives the IGMP report and processes it as it normally would, but also creates a CGMP Join message and sends it to the switch. The Join message includes the MAC address of the end station and the MAC address of the group it has joined. The switch receives this CGMP Join message and then adds the port to its content-addressable memory (CAM) table for that multicast group. All subsequent traffic directed to this multicast group is then forwarded out the port for that host. The Layer 2 switches are designed so that several destination MAC addresses could be assigned to a single physical port. This design allows switches to be connected in a hierarchy and also allows many multicast destination addresses to be forwarded out a single port. The router port also is added to the entry for the multicast group. Multicast routers must listen to all multicast traffic for every group because IGMP control messages are also sent as multicast traffic. The rest of the multicast traffic is forwarded using the CAM table with the new entries created by CGMP. IGMP Snooping IGMP snooping is an IP multicast constraining mechanism that runs on a Layer 2 LAN switch. IGMP snooping requires the LAN switch to examine, or snoop, some Layer 3 information (IGMP Join/Leave messages) in the IGMP packets sent between the hosts and the router. When the switch receives the IGMP host report from a host for a particular multicast group, the switch adds the port number of the host to the associated multicast table entry. When the switch hears the IGMP Leave group message from a host, the switch removes the table entry of the host. Because IGMP control messages are sent as multicast packets, they are indistinguishable from multicast data at Layer 2. A switch running IGMP snooping must examine every multicast data packet to determine if it contains any pertinent IGMP control information. IGMP snooping implemented on a low-end switch with a slow CPU could have a severe performance impact when data is sent at high rates. The solution is to implement IGMP snooping on high-end switches with special application-specific integrated circuits (ASICs) that can perform the IGMP checks in hardware. CGMP is a better option for low-end switches without special hardware. Router-Port Group Management Protocol (RGMP) CGMP and IGMP snooping are IP multicast constraining mechanisms designed to work on routed network segments that have active receivers. They both depend on IGMP control messages that are sent between the hosts and the routers to determine which switch ports are connected to interested receivers. Switched Ethernet backbone network segments typically consist of several routers connected to a switch without any hosts on that segment. Because routers do not generate IGMP host reports, CGMP and IGMP snooping will not be able to constrain the multicast traffic, which will be flooded to every port on the VLAN. Routers instead generate Protocol Independent Multicast (PIM) messages to Join and Prune multicast traffic flows at a Layer 3 level. 3

How to Constrain Multicast in a Switched Ethernet Network Constraining IP Multicast in a Switched Ethernet Network Router-Port Group Management Protocol (RGMP) is an IP multicast constraining mechanism for router-only network segments. RGMP must be enabled on the routers and on the Layer 2 switches. A multicast router indicates that it is interested in receiving a data flow by sending an RGMP Join message for a particular group. The switch then adds the appropriate port to its forwarding table for that multicast group similar to the way it handles a CGMP Join message. IP multicast data flows will be forwarded only to the interested router ports. When the router no longer is interested in that data flow, it sends an RGMP Leave message and the switch removes the forwarding entry. If there are any routers that are not RGMP-enabled, they will continue to receive all multicast data. How to Constrain Multicast in a Switched Ethernet Network This section describes the following tasks: Configuring Switches for IP Multicast, page 4 Configuring IGMP Snooping, page 4 Enabling CGMP on a Router, page 4 (optional) Configuring IP Multicast in a Layer 2 Switched Ethernet Network, page 5 (optional) Configuring Switches for IP Multicast If you have switching in your multicast network, consult the documentation for the switch you are working with for information about how to configure IP multicast. Configuring IGMP Snooping No configuration is required on the router. Consult the documentation for the switch you are working with to determine how to enable IGMP snooping and follow the provided instructions. Enabling CGMP on a Router CGMP is a protocol used on routers connected to Catalyst switches to perform tasks similar to those performed by IGMP. CGMP is necessary because the Catalyst switch cannot distinguish between IP multicast data packets and IGMP report messages, which are both at the MAC level and are addressed to the same group address. Restrictions CGMP should be enabled only on 802 or ATM media, or LAN emulation (LANE) over ATM. CGMP should be enabled only on routers connected to Catalyst switches. SUMMARY STEPS 1. enable 2. configure terminal 3. interface type number 4

Constraining IP Multicast in a Switched Ethernet Network How to Constrain Multicast in a Switched Ethernet Network 4. ip cgmp [proxy router-only] 5. end 6. clear ip cgmp [interface-type interface-number] DETAILED STEPS Step 1 Step 2 Command or Action enable Router> enable configure terminal Purpose Enables privileged EXEC mode. Enter your password if prompted. Enters global configuration mode. Step 3 Step 4 Step 5 Step 6 Router# configure terminal interface type number Router(config)# interface ethernet 1 ip cgmp [proxy router-only] Router(config-if)# ip cgmp proxy end Router(config-if)# end clear ip cgmp [interface-type interface-number] Router# clear ip cgmp Selects an interface that is connected to hosts on which IGMPv3 can be enabled. Enables CGMP on an interface of a router connected to a Cisco Catalyst 5000 family switch. The proxy keyword enables the CGMP proxy function. When enabled, any router that is not CGMP-capable will be advertised by the proxy router. The proxy router advertises the existence of other non-cgmp-capable routers by sending a CGMP Join message with the MAC address of the non-cgmp-capable router and group address of 0000.0000.0000. Ends the current configuration session and returns to EXEC mode. (Optional) Clears all group entries from the caches of Catalyst switches. Configuring IP Multicast in a Layer 2 Switched Ethernet Network Perform this task to configure IP multicast in a Layer 2 Switched Ethernet network using RGMP. SUMMARY STEPS 1. enable 2. configure terminal 5

How to Constrain Multicast in a Switched Ethernet Network Constraining IP Multicast in a Switched Ethernet Network 3. interface type number 4. ip rgmp 5. end 6. debug ip rgmp 7. show ip igmp interface DETAILED STEPS Step 1 Step 2 Command or Action enable Router> enable configure terminal Purpose Enables privileged EXEC mode. Enter your password if prompted. Enters global configuration mode. Step 3 Router# configure terminal interface type number Selects an interface that is connected to hosts. Step 4 Step 5 Step 6 Step 7 Router(config)# interface ethernet 1 ip rgmp Router(config-if)# ip rgmp end Router(config-if)# end debug ip rgmp Router# debug ip rgmp show ip igmp interface Router# show ip igmp interface Enables RGMP on Ethernet, Fast Ethernet, and Gigabit Ethernet interfaces. Ends the current configuration session and returns to EXEC mode. (Optional) Logs debug messages sent by an RGMP-enabled router. (Optional) Displays multicast-related information about an interface. 6

Constraining IP Multicast in a Switched Ethernet Network Configuration Examples for Constraining IP Multicast in a Switched Ethernet Network Configuration Examples for Constraining IP Multicast in a Switched Ethernet Network This section provides the following configuration examples: CGMP Configuration: Example, page 7 RGMP Configuration: Example, page 7 CGMP Configuration: Example The following example is for a basic network environment where multicast source(s) and multicast receivers are in the same VLAN. The desired behavior is that the switch will constrain the multicast forwarding to those ports that request the multicast stream. A 4908G-L3 router is connected to the Catalyst 4003 on port 3/1 in VLAN 50. The following configuration is applied on the GigabitEthernet1 interface. Note that there is no ip multicast-routing command configured because the router is not routing multicast traffic across its interfaces. interface GigabitEthernet1 ip address 192.168.50.11 255.255.255.0 ip pim dense-mode ip cgmp RGMP Configuration: Example The following example shows how to configure RGMP on a router: ip multicast-routing ip pim sparse-mode interface ethernet 0 ip rgmp Additional References The following sections provide references related to constraining IP multicast in a switched Ethernet network. 7

Feature Information for Constraining IP Multicast in a Switched Ethernet Network Constraining IP Multicast in a Switched Ethernet Network Related Documents Related Topic IP multicast commands: complete command syntax, command mode, command history, defaults, usage guidelines, and examples Document Title Cisco IOS IP Multicast Command Reference MIBs MIB None MIBs Link To locate and download MIBs for selected platforms, Cisco IOS releases, and feature sets, use Cisco MIB Locator found at the following URL: http://www.cisco.com/go/mibs Technical Assistance Description Technical Assistance Center (TAC) home page, containing 30,000 pages of searchable technical content, including links to products, technologies, solutions, technical tips, and tools. Registered Cisco.com users can log in from this page to access even more content. Link http://www.cisco.com/public/support/tac/home.shtml Feature Information for Constraining IP Multicast in a Switched Ethernet Network Table 1 lists the features in this module and provides links to specific configuration information. Only features that were introduced or modified in Cisco IOS Releases 12.2(1) or later appear in the table. Not all commands may be available in your Cisco IOS software release. For details on when support for specific commands was introduced, see the command reference documents. Cisco IOS software images are specific to a Cisco IOS software release, a feature set, and a platform. Use Cisco Feature Navigator to find information about platform support and Cisco IOS software image support. Access Cisco Feature Navigator (http://www.cisco.com/go/fn). You must have an account on Cisco.com. If you do not have an account or have forgotten your username or password, click Cancel at the login dialog box and follow the instructions that appear. 8

Constraining IP Multicast in a Switched Ethernet Network Feature Information for Constraining IP Multicast in a Switched Ethernet Network Table 1 Feature Information for Constraining IP Multicast in a Switched Ethernet Network Feature Name Releases Feature Configuration Information Cisco IOS For information about feature support in Cisco IOS software, use Cisco Feature Navigator. CCVP, the Cisco logo, and Welcome to the Human Network are trademarks of Cisco Systems, Inc.; Changing the Way We Work, Live, Play, and Learn is a service mark of Cisco Systems, Inc.; and Access Registrar, Aironet, Catalyst, CCDA, CCDP, CCIE, CCIP, CCNA, CCNP, CCSP, Cisco, the Cisco Certified Internetwork Expert logo, Cisco IOS, Cisco Press, Cisco Systems, Cisco Systems Capital, the Cisco Systems logo, Cisco Unity, Enterprise/Solver, EtherChannel, EtherFast, EtherSwitch, Fast Step, Follow Me Browsing, FormShare, GigaDrive, HomeLink, Internet Quotient, IOS, iphone, IP/TV, iq Expertise, the iq logo, iq Net Readiness Scorecard, iquick Study, LightStream, Linksys, MeetingPlace, MGX, Networkers, Networking Academy, Network Registrar, PIX, ProConnect, ScriptShare, SMARTnet, StackWise, The Fastest Way to Increase Your Internet Quotient, and TransPath are registered trademarks of Cisco Systems, Inc. and/or its affiliates in the United States and certain other countries. All other trademarks mentioned in this document or Website are the property of their respective owners. The use of the word partner does not imply a partnership relationship between Cisco and any other company. (0711R) Any Internet Protocol (IP) addresses used in this document are not intended to be actual addresses. Any examples, command display output, and figures included in the document are shown for illustrative purposes only. Any use of actual IP addresses in illustrative content is unintentional and coincidental. 2007 Cisco Systems, Inc. All rights reserved. 9

Feature Information for Constraining IP Multicast in a Switched Ethernet Network Constraining IP Multicast in a Switched Ethernet Network 10