IP Multicast, 6/03 © 2003, Cisco Systems, Inc. All rights reserved. 1 Multicast Overview Thom Bryant June 2003 IP Multicast, 6/03 © 2003, Cisco Systems, Inc. All rights reserved. 2 Introduction • Consistent design recommendation • Simplification and optimization CLI and code level • Quality of Cisco IOS® Software E2E system testing Financial test lab IP Multicast, 6/03 © 2003, Cisco Systems, Inc. All rights reserved. 3 Cisco Representation • Internet Technologies Division (ITD) – Central IOS Engineering • Chief Technology Office (CTO) – Corporate Consulting Engineering • Customer Advocacy (CA) – Advanced Services • High Speed Switching Business Unit (HSSBU) – Financial Test Labs • Network Management Business Unit (NMBU) – Network Management IP Multicast, 6/03 © 2003, Cisco Systems, Inc. All rights reserved. 4 Brief Review–Protocol Independent Multicast MDT Types • Protocol Independent Multicast (PIM) Sparse-Mode Any version IGMP SPT or RPT Unidirectional Trees MSDP for Inter-domain/Redundancy • PIM SSM IGMP V3 Source-Only Trees Simplest Multicast Model – No RPs or MSDP Unidirectional Trees • Bidirectional PIM Any version IGMP Bidirectional Trees-Only (*,G) Routing State IP Multicast, 6/03 © 2003, Cisco Systems, Inc. All rights reserved. 5 Agenda • Trends and roadmap • Addressing and scoping • Interface Configuration Mode/Auto-RP Listener • RP Redundancy • PIM scalability/convergence • Summary • Open discussion IP Multicast, 6/03 © 2003, Cisco Systems, Inc. All rights reserved. 6 Integration: Making IP Innovation Business Ready INNOVATION Application Awareness Integrated Security Self-Healing Multicast Adaptive Routing Storage Awareness IP version 6 nBAR Intrusion Detection Mobility Packet Core Expanded Addressing IPsec QoS-Based Routing Nonstop Forwarding AToM Mobile IP MPLS-VPNs In-Service-Software-Upgrades Multicast IP Traffic Engineering Cisco IOS Firewall SAA NetFlow IP Multicast, 6/03 © 2003, Cisco Systems, Inc. All rights reserved. 7 Multicast: Components Basic Multicast : PIM SM, DM, Auto RP, IGMP v2, CGMP Inter-Domain Multicast : MBGP , MSDP, Anycast RP, RGMP, BSR Multicast VPN : MVPN One-to-Many : SSM & IGMP v3 Many-to-Many : PIM – Bi-Directional Reliable Multicast : PGM Multicast v6 : PIM SM, SSM, MLD v2 M A N A G E M E N T I N T E G R A T I O N Provisioning / Accounting / Monitoring Access Control / Security Multicast Automation / Simplification IP Multicast, 6/03 © 2003, Cisco Systems, Inc. All rights reserved. 8 Multicast: It Begins and Ends with Applications 1 IP/TV® Audio/Video http://www.cisco.com/warp/public/cc/so/neso/cxne/atsln_an.htm 2 Windows Media Audio/Video http://www.microsoft.com/windows/windowsmedia/serve/multiwp .asp 3 Real Audio/Video http://videocast.nih.gov/McastUpgrade/multicast.html 4 Dialer 5 NetMeeting http://www.microsoft.com/technet/treeview/default.asp?url=/tech Conferencing net/prodtechnol/winxppro/proddocs/dialer_conference_overview. asp Conferencing http://www.microsoft.com/technet/treeview/default.asp?url=/tech net/prodtechnol/win98/reskit/part4/wrkc20.asp 6 HootNHoller VOIP http://www.cisco.com/warp/public/cc/so/neso/vvda/hthllr/ 7 IPblue VOIP http://www.ipblue.com/faq.htm 8 TIBCO Stock ticker http://www.tibco.com/resources/solutions/technology_solutions/ messaging.pdf 9 OrbixTalk Messaging http://techrepublictk.cnet.com/enterprise/0-6119584-7207723923.html 10 Norton Ghost File Transfer 11 Datarunner File Transfer IP Multicast, 6/03 http://www.symantec.com/sabu/ghost/ghost_personal/ http://www.targetvision.com/distribu.htm © 2003, Cisco Systems, Inc. All rights reserved. 9 Finance: Trading Floors Recent Trends • Many large financial traders are interested in reducing Operational Expenses (OpEx) and are increasingly interested in Hoot ‘n’ Holler for existing IP infrastructure • Bidirectional PIM is the protocol that enables a scalable solution, and is going to be deployed in many of these networks Prudential was our beachhead and is very happy with the cost savings Royal Bank of Canada is also in the process of deploying Hoot ’n Holler • Increased interest in PGM for reliable Multicast delivery • Increased interest in faster convergence and lower downtime for all business critical multicast services IP Multicast, 6/03 © 2003, Cisco Systems, Inc. All rights reserved. 10 IP Multicast Strategy • Business Strategy Maintain leadership in the finance market Increase deployment in enterprise market segment Drive adoption in the ISP market segment Facilitate deployment in MXU for new Multicast services • Technology Strategy Maintain IP multicast technology leadership Add hardware acceleration support and achieve consistency on all key Cisco platforms Integrate Multicast across different technologies like MPLS, IPsec, IPv6, Mobile, NetFlow and content Simplify, automate, and increase deployment of Multicast Enhance scalability, manageability, and security IP Multicast, 6/03 © 2003, Cisco Systems, Inc. All rights reserved. 11 IP Multicast Platform Roadmap Release Plan (Release 12.0S, 12.2T, and 12.2S) Targeting Cisco IOS Software Release 12.3(1)T Targeting Cisco IOS Software Release 12.0(26)S Key Features: Key Features: • Multicast v6 - Phase 1 • mVPN support on GSR SM, SSM, MLD v2 •Multicast v6 – Phase 1 SM, SSM, MLD v2 • New MFIB for v6 • SSM Mapping Targeting Cisco IOS Software Release 12.2(3rd)S • MBGP support for mcast v6 • Multicast Netflow Targeting Cisco IOS Software Release 12.2(5th)S Key Features: Key Features: • Multicast v6 - Phase 1 SM, SSM, MLD v2 • MSDP Spec 14 compliance • New MFIB for v6 • Inter-AS for mVPN • Extranet for mVPN • SSM Mapping • SSM Mapping • Inter-AS for mVPN • IP-Mroute-STD MIB • Auto-RP Enhancements (no Dense mode fallback) • New dMFIB for v6 • IP-Mroute-STD MIB Targeting Cisco IOS Software Release 12.0(27)S • Multicast Netflow Key Features: • Mcast-v6 Phase 2 • New dMFIB for v6 • Bi-Dir support on C7600 • PGM Aware VRF •Auto-RP Enhancements (no Dense mode fallback) • MSDP Spec 14 compliance • mVPN MIB Feb 2003 Mar Apr 2003 2003 IP Multicast, 6/03 May 2003 Jun 2003 Jul Aug Sep Oct Nov Dec Jan Feb Mar Apr 2003 2003 2003 2003 2003 2003 2004 2004 2004 2004 NB. Confirm target releases with Cisco IOS PM – g_singh@cisco.com © 2003, Cisco Systems, Inc. All rights reserved. May 2004 Jun 2004 Jul 2004 Aug 2004 12 Agenda • Trends and roadmap • Addressing and scoping • Interface Configuration Mode/Auto-RP Listener • RP Redundancy • PIM scalability/convergence • Summary • Open discussion IP Multicast, 6/03 © 2003, Cisco Systems, Inc. All rights reserved. 13 Address Allocation Considerations • Current and future size of the organization • Organizational structure and relations between Business Units • Scale of the IP Multicast deployment • Internal policies on the control and deployment of network applications • Scope of the applications • Security policy • Readiness for future use of new multicast delivery methods (ie: Bi-Dir PIM and SSM) IP Multicast, 6/03 © 2003, Cisco Systems, Inc. All rights reserved. 14 IP Multicast Address Space IP v4 multicast addresses assigned by IANA Start Range 224.0.0.0 224.252.0.0 225.0.0.0 232.0.0.0 233.0.0.0 234.0.0.0 239.0.0.0 - End Range 224.2.255.255 224.255.255.255 231.255.255.255 232.255.255.255 233.255.255.255 238.255.255.255 239.255.255.255 Description Assigned Assigned RESERVED Source Specific Multicast Block GLOP Block RESERVED Administratively Scoped Block Administratively scoped IP Multicast address recommendations from rfc 2365 239.0.0.0 - 239.255.255.255 239.0.0.0 239.192.0.0 239.252.0.0 239.255.0.0 239.255.2.2 - 239.191.255.255 Reserved [IANA] - 239.251.255.255 Organization-Local Scope [Meyer,rfc2365] - 239.254.255.255 Site-Local Scope(reserved)[Meyer,rfc2365] - 239.255.255.255 Site-Local Scope [Meyer,rfc2365] rasadv [Thaler] IP Multicast, 6/03 Administratively Scoped © 2003, Cisco Systems, Inc. All rights reserved. [IANA,rfc2365] 15 Geographical Scoped Addresses Example Byte 4 Byte3 Byte2 Byte1 Notes 239 * * * * * * * * * * * * * * * * * * * * * * * * Administrative Scope range RFC2365 239 1 1 * * * * * * * * * * * * * * * * * * * * * * Administrative Organization range RFC2365 239 1 1 0 0 0 0 0 0 * * * * * * * * * * * * * * * * Adm Org. Global addresses 239 1 1 0 0 0 0 0 1 * * * * * * * * * * * * * * * * Adm. Org. Regional assignment 239 1 1 1 1 1 1 1 0 * * * * * * * * * * * * * * * * Adm. Org. Regional assignment * * * * * * * * * * * * * * * * Adm. Local Range RFC2365 239 255 • Uses three levels of geographical scoping: Site local Regional by using the Regional bits Global IP Multicast, 6/03 © 2003, Cisco Systems, Inc. All rights reserved. 16 Geographical and Bandwidth Scoped Addresses Example Byte 4 Byte3 Byte2 Byte1 Notes 239 * * * * * * * * * * * * * * * * * * * * * * * * Administrative Scope range RFC2365 239 1 1 * * * * * * * * * * * * * * * * * * * * * * Administrative Organization range RFC2365 239 1 1 R R R R R R * * * * * * * * * * * * * * * * Adm. Org. Region expansion 239 1 1 R R R R R R B B B * * * * * * * * * * * * * Adm. Org. Region/BW expansion 239 255 * * * * * * * * * * * * * * * * Administrative Local range RFC2365 239 255 B B B * * * * * * * * * * * * * Adm. Local Bandwidth expansion • Uses three levels of geographical scoping: Site local Regional by using the Regional bits Global • Use bandwidth bits to define bandwidth scoping in the network IP Multicast, 6/03 © 2003, Cisco Systems, Inc. All rights reserved. 17 Bandwidth Scoping Example Bandwidth Bits Bandwidth Level #3rd Octet range Access Lists 0 * * Unlimited Bandwidth 0-127 ip access-list standard unlimitedbw permit 239.0.0.0 0.255.255.255 1 0 * High Bandwidth 128-191 ip access-list standard highbw permit 239.0.128.0 0.255.127.255 1 1 0 Medium Bandwidth 192-223 1 1 1 Low Bandwidth 224-255 IP Multicast, 6/03 © 2003, Cisco Systems, Inc. All rights reserved. ip access-list standard mediumbw permit 239.0.192.0 0.255.63.255 ip access-list standard lowbw permit 239.0.224.0 0.255.31.255 18 Bandwidth Scoping ip multicast boundary lowbw Distribution Server Farm Campus Backbone Core To remote users (DSL/Cable) ip multicast boundary mediumbw ip multicast boundary highbw To regional backbone IP Multicast, 6/03 © 2003, Cisco Systems, Inc. All rights reserved. To branch offices (T3) 19 Agenda • Trends and roadmap • Addressing and scoping • Interface Configuration Mode/Auto-RP Listener • RP Redundancy • PIM scalability/convergence • Summary • Open discussion IP Multicast, 6/03 © 2003, Cisco Systems, Inc. All rights reserved. 20 Candidate RP 1.1.1.1 C A B Announce Announce Announce Mapping Agent Announce Announce Mapping Agent D Announce Announce Auto-RP Overview Announce Candidate-RP 2.2.2.2 RP-Announcements multicast to the Cisco Announce (224.0.1.39) group Announce IP Multicast, 6/03 © 2003, Cisco Systems, Inc. All rights reserved. 21 Auto-RP Overview Candidate RP 1.1.1.1 Mapping Agent Mapping Agent A B C D Candidate-RP 2.2.2.2 RP-Discoveries multicast to the Cisco Discovery (224.0.1.40) group Discovery IP Multicast, 6/03 © 2003, Cisco Systems, Inc. All rights reserved. 22 Simple Auto-RP Configuration RP/Mapping Agent A B PIM Sparse Mode C RP/Mapping Agent On each router: ip multicast-routing On each interface: ip pim sparse-dense-mode D On routers B and C: ip pim send-rp-announce loopback0 scope 16 ip pim send-rp-discovery loopback0 scope 16 IP Multicast, 6/03 © 2003, Cisco Systems, Inc. All rights reserved. 23 Configuring an Interface for IP Multicast • Interface Mode Configuration Command Enables multicast forwarding on the interface Controls the interface’s mode of operation ip pim sparse-dense-mode • Interface mode is determined by the Group mode Dense: interface operates in Dense mode Sparse: interface operates in Sparse mode • Sparse-dense-mode has potential issues • Multicast data flows can be flooded as Dense mode if the RP information is lost • Auto-RP has always required sparse-dense-mode – until now IP Multicast, 6/03 © 2003, Cisco Systems, Inc. All rights reserved. 24 New Command: Auto-RP Listener • Global Command ip pim autorp listener Allows Auto-RP to work over Sparse-mode interfaces • Enables AutoRP functions on router. AutoRP groups operate only in DM Router joins 224.0.1.40 Off by default Future: may change to “On” by default • No possibility of Dense mode flooding without multiple failures in network IP Multicast, 6/03 © 2003, Cisco Systems, Inc. All rights reserved. 25 Coming Soon to a Router Near You…. • No Dense mode fallback Default behavior. No new command required Use current “Last resort RP=0.0.0.0” approach Provides limited “disabled group” functionality IP Multicast, 6/03 © 2003, Cisco Systems, Inc. All rights reserved. 26 Future Plans • ‘ip pim autorp mapping-agent’ command New “clearer” parser command Helps standardize AutoRP & BSR commands • Format ip pim autorp mapping-agent <interface> scope <ttl> • No new code required Same function as old command IP Multicast, 6/03 © 2003, Cisco Systems, Inc. All rights reserved. 27 Implementation Summary ip pim autorp listener ip pim autorp candidate-rp <interface> scope <ttl> ip pim autorp mapping-agent <interface> scope <ttl> ip pim bsr ip pim bsr length] ip pim bsr ip pim bsr IP Multicast, 6/03 listener candidate-bsr [priority <pri>] [hashcandidate-rp <interface> scope <ttl> border © 2003, Cisco Systems, Inc. All rights reserved. 28 Agenda • Trends and roadmap • Addressing and scoping • Interface Configuration Mode/Auto-RP Listener • RP Redundancy • PIM scalability/convergence • Summary • Open discussion IP Multicast, 6/03 © 2003, Cisco Systems, Inc. All rights reserved. 29 RP Redundancy Agenda • Sparse Mode Redundant RPs • Bidirectional Redundant RPs • Unified Redundant RPs IP Multicast, 6/03 © 2003, Cisco Systems, Inc. All rights reserved. 30 Goals • Topology independent RP redundancy • Unified model for Sparse mode and Bidirectional RPs • Simple configuration IP Multicast, 6/03 © 2003, Cisco Systems, Inc. All rights reserved. 31 Sparse Mode Anycast RP Configuration RP1 MSDP A RP2 B ip pim rp-address 10.0.0.1 ip pim rp-address 10.0.0.1 X Y Interface loopback 0 ip address 10.0.0.1 255.255.255.255 Interface loopback 0 ip address 10.0.0.1 255.255.255.255 Interface loopback 1 ip address 10.0.0.2 255.255.255.255 ! ip msdp peer 10.0.0.3 connect-source loopback 1 ip msdp originator-id loopback 1 Interface loopback 1 ip address 10.0.0.3 255.255.255.255 ! ip msdp peer 10.0.0.2 connect-source loopback 1 ip msdp originator-id loopback 1 IP Multicast, 6/03 © 2003, Cisco Systems, Inc. All rights reserved. 32 Topology Dependant RP Redundancy • Router ‘A’ is the primary RP, router ‘B’ is failover Anycast RP (w w/o) MSDP!! • ‘FE0’ is primary network, ‘FE1’ is failover • Modify link metrics on ‘A’ and ‘B’ to force routing • Anycast-RP just for failover, not for loadbalancing A B +10 +20 +30 FE0 FE1 • Topology dependant, as ‘B’ can’t be on the path to ‘A’ IP Multicast, 6/03 © 2003, Cisco Systems, Inc. All rights reserved. 33 Bidirectional Phantom RP on a LAN RP: 1.1.1.1 e0/0 e1/0 1.1.1.3 e0/0 1.1.1.2 1.1.3.1 e1/0 1.1.2.2 Receiver Source core2#show ip mroute 225.1.2.3 core1#show ip pim int e1/0 df Interface Ethernet1/0 core1# RP 1.1.1.1 DF Winner 1.1.3.3 Metric Uptime 0 00:06:49 (*, 225.1.2.3), 00:06:43/00:00:00, RP 1.1.1.1, flags: BC Bidir-Upstream: Ethernet0/0, RPF nbr 1.1.1.1 Outgoing interface list: Ethernet1/0, Forward/Sparse, 00:06:43/now Ethernet0/0, Bidir-Upstream/Sparse, 00:06:43/00:00:00 core2# IP Multicast, 6/03 © 2003, Cisco Systems, Inc. All rights reserved. 34 Bidirectional Floating Route Phantom RP S P ip multicast-routing ! interface Loopback0 ip address 11.0.0.1 255.255.255.255 ip pim sparse-mode ! router ospf 11 redistribute static subnets network 10.1.1.0 0.0.0.255 area 0 network 10.1.2.0 0.0.0.255 area 0 ! ip route 1.1.1.1 255.255.255.255 Loopback0 ip pim bidir-enable ip pim rp-address 1.1.1.1 bidir-grp bidir IP Multicast, 6/03 RP: 1.1.1.1 © 2003, Cisco Systems, Inc. All rights reserved. ip multicast-routing ! interface Loopback0 ip address 11.0.0.2 255.255.255.255 ip pim sparse-mode ! router ospf 11 redistribute static subnets network 10.1.1.0 0.0.0.255 area 0 network 10.1.2.0 0.0.0.255 area 0 ! ip route 1.1.1.0 255.255.255.254 Loopback0 ip pim bidir-enable ip pim rp-address 1.1.1.1 bidir-grp bidir 35 Unified Floating Route Phantom RP (Netmask Method) RP: 1.1.1.2 S P ip multicast-routing ! interface Loopback0 ip address 1.1.1.1 255.255.255.252 ip pim sparse-mode ip ospf network point-to-point ! router ospf 11 network 1.1.1.0 0.0.0.3 area 0 network 10.1.1.0 0.0.0.255 area 0 network 10.1.2.0 0.0.0.255 area 0 ! ip pim bidir-enable ip pim rp-address 1.1.1.1 sm-grp ip pim rp-address 1.1.1.2 bidir-grp bidir IP Multicast, 6/03 © 2003, Cisco Systems, Inc. All rights reserved. ip multicast-routing ! interface Loopback0 ip address 1.1.1.1 255.255.255.248 ip pim sparse-mode ip ospf network point-to-point ! router ospf 11 network 1.1.1.0 0.0.0.7 area 0 network 10.1.1.0 0.0.0.255 area 0 network 10.1.2.0 0.0.0.255 area 0 ! ip pim bidir-enable ip pim rp-address 1.1.1.1 sm-grp ip pim rp-address 1.1.1.2 bidir-grp bidir 36 Unified Floating Route Phantom RP (Conditional Routing Method) RP: 1.1.1.2 S P ip multicast-routing ! interface Loopback0 ip address 1.1.1.1 255.255.255.252 ip pim sparse-mode ip ospf network point-to-point ! router ospf 11 network 1.1.1.0 0.0.0.3 area 0 network 10.1.1.0 0.0.0.255 area 0 network 10.1.2.0 0.0.0.255 area 0 ! ip pim bidir-enable ip pim rp-address 1.1.1.1 sm-grp ip pim rp-address 1.1.1.2 bidir-grp bidir IP Multicast, 6/03 © 2003, Cisco Systems, Inc. All rights reserved. ip multicast-routing ! interface Loopback0 ip address 1.1.1.1 255.255.255.252 ip pim sparse-mode ip ospf network point-to-point [conditional] ! router ospf 11 network 1.1.1.0 0.0.0.3 area 0 [conditional] network 10.1.1.0 0.0.0.255 area 0 network 10.1.2.0 0.0.0.255 area 0 ! ip pim bidir-enable ip pim rp-address 1.1.1.1 sm-grp ip pim rp-address 1.1.1.2 bidir-grp bidir 37 Agenda • Trends and roadmap • Addressing and scoping • Interface Configuration Mode/Auto-RP Listener • RP Redundancy • PIM scalability/convergence • Summary • Open discussion IP Multicast, 6/03 © 2003, Cisco Systems, Inc. All rights reserved. 38 Multicast Sub-Second Convergence Seconds Multicast convergence Time 100 75 Multicast Sub-Second Convergence Time 50 25 Multicast Sub-Second Convergence provides almost instantaneous recovery of Multicast paths following unicast routing recovery Platforms 12000 0 10000 Previous Environment IP Multicast, 6/03 Sub-Second Convergenc e © 2003, Cisco Systems, Inc. All rights reserved. 7500 6500 39 Multicast Scalability - Issues • Maintaining large amount of state • Dealing with PIM protocol updates • Periodic updates to refresh state • Timers to maintain state Passive timers Managed timers Active timers (timer wheel) IP Multicast, 6/03 © 2003, Cisco Systems, Inc. All rights reserved. 40 Multicast Sub-Second Convergence • Enhancement: deliver sub-second convergence and world-class reliability for business-critical multicast applications. • Problem: reduce the time it takes for Multicast routing to converge after a failure in a large network • Solution 1. Make Triggered RPF Checks 2. Enhance Timer Management 3. Enhance IGMP Capabilities 4. Make Designated Router Failover in 300 msec 5. Decrease Join/Prune Forwarding Handle Times 6. Make Join/Prune Aggregation IP Multicast, 6/03 © 2003, Cisco Systems, Inc. All rights reserved. 41 Multicast Sub-Second Convergence: CSCdw13674 PIM scalability & convergence • Join/Prune aggregation Used to send one PIM packet per (S,G) or (*,G) entry after a Rendezvous Point failover These are now aggregated into a few PIM packets with multiple entries • New PIM HELLO option New option advertises the hold time in milliseconds Enables sub-second failover of Designated Router (Cisco proprietary) • Triggered RPF checks Follows unicast convergence After unicast is converged, it causes an instantaneous start of RPF checks (previous default was five seconds) ip pim query-interval <interval> [msec] IP Multicast, 6/03 © 2003, Cisco Systems, Inc. All rights reserved. 42 Agenda • Trends and roadmap • Addressing and scoping • Interface Configuration Mode/Auto-RP Listener • RP Redundancy • PIM scalability/convergence • Summary • Open discussion IP Multicast, 6/03 © 2003, Cisco Systems, Inc. All rights reserved. 43 Updated Design Guidance - Summary • Interface Config Mode PIM Sparse Mode Auto-RP Listener • RP Mapping and Discovery Static for Deterministic/Change-averse Networks Auto-RP when a dynamic protocol is needed • Administrative Scoping Static IP Multicast Boundary Filter-Autorp • RP Placement Core by default • RPT or SPT IP Multicast, 6/03 © 2003, Cisco Systems, Inc. All rights reserved. 44 Updated Design/Reference Documents • Design Guidelines Update • Bidirectional Design Guide • Guidelines for Enterprise IP Multicast Address Allocation • E2E Test Results • Multicast VPN Design Guide • Security (coming soon) IP Multicast, 6/03 © 2003, Cisco Systems, Inc. All rights reserved. 45 Possible Additional Topics • Multicast VPN • Multicast Netflow • Multicast v6 • Reliable Multicast - PGM • Multicast Security • Multicast Management and tools • E2E System Test Results for 12.1(13) • Financial Test Lab Enhancements IP Multicast, 6/03 © 2003, Cisco Systems, Inc. All rights reserved. 46 IP Multicast, 6/03 © 2003, Cisco Systems, Inc. All rights reserved. 47