Multicast primer. Per Jensen, per@cisco.com December 2006. Session Number Presentation_ID. 2005 Cisco Systems, Inc. All rights reserved.



Similar documents
diversifeye Application Note

Using Multicast Call Admission Control for IPTV Bandwidth Management

MPLS Quality of Service What Is It? Carsten Rossenhövel EANTC (European Advanced Networking Test Center)

The Picture must be Clear. IPTV Quality of Experience

Demonstrating the high performance and feature richness of the compact MX Series

ICTTEN4215A Install and configure internet protocol TV in a service provider network

Data Networking and Architecture. Delegates should have some basic knowledge of Internet Protocol and Data Networking principles.

Hands on Workshop. Network Performance Monitoring and Multicast Routing. Yasuichi Kitamura NICT Jin Tanaka KDDI/NICT APAN-JP NOC

- Multicast - Types of packets

Juniper Networks EX Series/ Cisco Catalyst Interoperability Test Results. May 1, 2009

Juniper / Cisco Interoperability Tests. August 2014

Competitive Performance Testing Results Carrier Class Ethernet Services Routers

Virtual PortChannels: Building Networks without Spanning Tree Protocol

A Study on Video Over IP and the Effects on FTTx Architectures. Patrick J. Sims, RCDD Principal Engineer

Multicast for Enterprise Video Streaming

Efficient Video Distribution Networks with.multicast: IGMP Querier and PIM-DM

Internet Protocol Television (IPTV)

Traffic load and cost analysis for different IPTV architectures

Innovations for Lossless Video Delivery Architecture

IPTV Primer. August Media Content Team IRT Workgroup

Market Data Network Architecture (MDNA) Overview

Cisco Dynamic Multipoint VPN: Simple and Secure Branch-to-Branch Communications

BUILDING MPLS-BASED MULTICAST VPN SOLUTION. DENOG3 Meeting, /Frankfurt Carsten Michel

ICTTEN6172A Design and configure an IP- MPLS network with virtual private network tunnelling

QOS Requirements and Service Level Agreements. LECTURE 4 Lecturer: Associate Professor A.S. Eremenko

WAN Traffic Management with PowerLink Pro100

Configuration Examples. D-Link Switches L3 Features and Examples IP Multicast Routing

Chapter 3. Enterprise Campus Network Design

Cisco ASR 9000 Series: Carrier Ethernet Architectures

Demonstration of Internet Protocol Television(IPTV) Khai T. Vuong, Dept. of Engineering, Oslo University College.

Business Case for the Brocade Carrier Ethernet IP Solution in a Metro Network

The necessity of multicast for IPTV streaming

How To Set Up & Manage an IPTV System WHITE PAPER

OVERLAYING VIRTUALIZED LAYER 2 NETWORKS OVER LAYER 3 NETWORKS

IPTV hit primetime. Main Topic

Voice Peering: Interworking SIP and BGP

RESILIENT NETWORK DESIGN

MPLS L3 VPN Supporting VoIP, Multicast, and Inter-Provider Solutions

SSVVP SIP School VVoIP Professional Certification

NETWORK ISSUES: COSTS & OPTIONS

Cisco Exam CCIE Service Provider Written Exam Version: 7.0 [ Total Questions: 107 ]

Ensuring Reliable Delivery of Triple Play Bundled Services Over FTTx By John Williams

Designing and Developing Scalable IP Networks

Applications that Benefit from IPv6

IPTV and its transportation...

IP Multicasting. Applications with multiple receivers

REAL TIME VISIBILITY OF IPTV SUBSCRIBER EXPERIENCE AND VIEWING ACTIVITY. Alan Clark CEO, Telchemy Incorporated

Outline Computer Networking Lecture 25: Last Mile Technologies Peter Steenkiste. Fall

IP Telephony Deployment Models

Introduction to Automatic Multicast Tunneling as a Transition Strategy for Local Service Providers

Multi Protocol Label Switching (MPLS) is a core networking technology that

Fast Reroute for Triple Play Networks

White Paper Three Simple Ways to Optimize Your Bandwidth Management in Video Surveillance

IxLoad: Testing Microsoft IPTV

Fundamentals of MPLS for Broadcast Applications

> Technical Configuration Guide for Microsoft Network Load Balancing. Ethernet Switch and Ethernet Routing Switch Engineering

Ingenieur Büro Unterbusch Tel: +49 (0) Fax: +49 (0) TelLink

Microsoft TV Test. Technology Background. ICC Technology. Application Note. by John Williams

Interconnecting Cisco Networking Devices Part 2

Transforming Evolved Programmable Networks

QoS Switching. Two Related Areas to Cover (1) Switched IP Forwarding (2) 802.1Q (Virtual LANs) and 802.1p (GARP/Priorities)

Achieving Low-Latency Security

IPv6 Fundamentals, Design, and Deployment

Fujitsu Gigabit Ethernet VOD Solutions

The Next Generation Network:

ADVANTAGES OF AV OVER IP. EMCORE Corporation

Networking 4 Voice and Video over IP (VVoIP)

CCNP SWITCH: Implementing High Availability and Redundancy in a Campus Network

Can PowerConnect Switches Be Used in IP Multicast Networks?

Requirements of Voice in an IP Internetwork

Smart Tips. Enabling WAN Load Balancing. Key Features. Network Diagram. Overview. Featured Products. WAN Failover. Enabling WAN Load Balancing Page 1

Table of Contents. Cisco How Does Load Balancing Work?

Introducing Basic MPLS Concepts

Chapter 4 Connecting to the Internet through an ISP

An Introduction to VoIP Protocols

IP Telephony Management

Communications Transformations 2: Steps to Integrate SIP Trunk into the Enterprise

Octoshape s Multicast Technology Suite:

Virtual Privacy vs. Real Security

20 GE + 4 GE Combo SFP G Slots L3 Managed Stackable Switch

Overview of Voice Over Internet Protocol

Quality of Service for VoIP

Enterprise Network Simulation Using MPLS- BGP

Five Pillars: Assessing the Cisco Catalyst 4948E for Data Center Service

VMDC 3.0 Design Overview

Cisco CCNP Optimizing Converged Cisco Networks (ONT)

Cisco Catalyst 3750 Metro Series Switches

The Basics. Configuring Campus Switches to Support Voice

hp ProLiant network adapter teaming

Proactive Video Assurance through QoE and QoS Correlation

Designing Cisco Network Service Architectures ARCH v2.1; 5 Days, Instructor-led

Competitive Performance Testing Results Carrier Class Ethernet Services Routers

Cisco Configuring Basic MPLS Using OSPF

Network Services from Iformata Communications

Transcription:

Multicast primer Per Jensen, per@cisco.com December 2006 Session Number Presentation_ID 1

Agenda IP multicast why SSM Resiliency Channel changing Admission control / CAC 2

IP multicast primer (SSM) as required for IPTV 3

The key IP multicast services Network level Modes/Services: ASM The well known IP Multicast Since 1995, lots of innovations, PIM-SM -> Bidir-PIM SSM Source Specific Multicast Easier to deploy/manage, provides implicit protection. Cisco has set of transition solutions for this! Requires server/receiver applications support 4

Standard protocol model for SSM IETF Receiver host to router (eg: IP-STB) IGMPv3(IPv4) / MLDv2(IPv6) with (S,G) signaling MUST be supported in host stack and host middleware (app) Between routers PIM-SSM == subset of PIM-SM for SSM (nothing new!) Simple point to multipoint tree building == (S,G) SPTs only Cisco, (IETF?) Source redundancy (option other options too) Anycast/Prioritycast source addresses with RIPv2 signaling 5

Host-to-router signalling The issue with IGMPv3 / SSM? While SSM was invented in 1999/2000 and has been available in routers since end of 2000, support on receiver hosts has been lagging Windows XP and Linux started to support it in 2001 2003 Set Top Box Vendors need to be pushed by the SP customers, and those had in the past issues recognizing the importance of SSM. L2 IGMP snooping devices similar story 6

SSM Mapping One of three Cisco SSM transition solutions URD: If application is started from browser IGMPv3lite: Application can support SSM, but OS not SSM mapping: Host can not do SSM at all Last Hop Router maps group to source(s) More than one sources when redundancy is needed Static mapping for quick deployment / testing Mapping via DNS for operational separation Network operator of last hop router only needs to configure the feature (3 CLI lines) Application operator (TV Broadcast etc..) operates DNS server that provides the mapping Delivers simplification benefit to network operator 7

SSM Mapping DNS Example Source 172.23.20.70 DNS Record Format: PIM (S,G) join 3.2.1.232.ssm.cisco.com IN A 172.23.20.70 PIM (S,G) join Last Hop Router IGMPv2 join 232.1.2.3 DNS response: Group G -> Source S DNS Server Set Top Box (STB) 8

Configuration Enabling SSM mapping on the router ip igmp ssm-map enable For static mapping: ip igmp ssm-map static <acl-1> <source-1 IP address> ip igmp ssm-map static <acl-2> <source-2 IP address> For DNS mapping (existing commands): ip domain-server <ip address> ip domain-name <domain.com> To disable DNS mapping no ip igmp ssm-map query dns DNS Record Format: 3.2.1.232 IN A 172.23.20.70 9

End-to-end protocol view Same choices for all access technologies Different by access technology External Network Eg: Content provider Video encoder/ multiplexer First hop router Core Distribution / regional Dis. Edge Rtr Aggregation PE-AGG Access Eg: DSLAM Content injection: External, national, regional, local Home Gateway Home Net STB Headend PIM-SSM (S,G) joins IGMPv3 (S,G) membership Opt. Source Redundancy L3 Transport Options in clouds: Native: PIM-SSM or MVPN/SSM MPLS: LSM / mldp RSVP-TE PIM-SSM PIM-SSM IGMP: {Limits} {Static-fwd} PIM-SSM IGMPv3 snooping IGMPv3 proxy routing IGMPv3 SSM 10

End-to-end protocol view with L2 distribution Same choices for all access technologies Different by access technology External Network Eg: Content provider Video encoder/ multiplexer First hop router Headend Core PIM-SSM (S,G) joins Distribution / regional Dis. Edge Rtr L2 access Aggregation PE-AGG Access Eg: DSLAM Content injection: External, national, regional, local Home Gateway IGMPv3 (S,G) membership Home Net STB Opt. Source Redundancy Transport Options IGMP: {Limits} {Static-fwd} PIM-SSM IGMPv3 snooping IGMPv3 snooping IGMPv3 snooping IGMPv3 proxy routing IGMPv3 SSM 11

Resiliency 12

Redundancy models Dual streams (1+1 RTP sessions) Let the receiver decide which one to take Heartbeat Active sends periodic hello to standby (muted) source Receiver driven Same group with two sources. STB decides which one to join using IGMPv3 Anycast-Source Two (or more) sources actively sending with same origin IP address Network decides which one to use using its metrics Disaster-recovery and redundant headend applications 13

Source Redundancy Anycast/Prioritycast signaling Redundant sources announce Source Address via RIPv2 Routers redistribute (with policy) into actual IGP Easily done from IPTV middleware (UDP) No protocol machinery required only periodic announce packets. Small periodicy for fast failure detection All routers support RIPv2, but not often used as real IGP: Allows secure constrained config on routers Src RIP(v2) Report (UDP) Router 14

Source Redundancy Anycast/Prioritycast policies Policies Anycast: clients connect to the closest instance of redundant IP address Src A primary 10.2.3.4/32 Src B secondary 10.2.3.4/31 Prioritycast: clients connect to the highest-priority instance of the redundant IP address Also used in other places Eg: PIM-SM and Bidir-PIM RP redundancy, DNS Policy simply determined by routing announcement and routing config Anycast well understood Prioritycast: engineer metrics of announcements or use different prefix length. Rcvr 1 Rcvr 2 Example: prioritycast with Prefixlength annuncement 15

Source Redundancy Anycast/Prioritycast benefits Subsecond failover possible Represent program channel as single (S,G) SSM: single tree, no signaling Move source instances freely around the network Runs within IGP area Not good for regional to national encoder failover (BGP) No vendor proprietary source sync protocol required 16

Multicast Fast Convergence IP multicast Failures / topology changes are compensated for by reconverging the trees Reconvergence time is sum of: Failure detection time (only for failure cases) Unicast reconvergence time ~ No. Multicast-trees (PIM reconvergence time) Possible ~ 300 msec 400 msec for few hundred trees >= 1 sec for >= 1000 trees? 17

Stream redundancy with path separation Only solution that can guarantee 0 loss upon single network outages without adding latency Duplicate copies of multicast data Long-time use in finance market data feeds Source and receiver hosts handle creation and elimination of duplicates Two networks built: No single network failure will impact both flows 18

Stream redundancy with path separation Candidate example from broadcast-tv in cable STBs HFC Redundant Encoder/Multiplexer Redundant Edge QAM Encoder/Multiplexers generate two copies of IP multicast flows Network uses methods of path separation Multiple IGP instances, topologies, two networks, VRF-lite, RSVP-TE, Each receiver consumes both copies Remove duplicates by sequence numbers (eg: MPEG timestamp). Any single failure in network: 0 packet loss. 0 added latency Same bandwidth allocation needed as in traditional SONET rings, but solution even better: 0 loss instead of <= 50 msec. 19

GOP and network failures Group Of Pictures (GOP) and frame relevance I B B P B B P B B P B B 33% 100% 5% MPEG-2 GOP of size 12 => 480 msec (25 fps) Hitting an I-frame ( > 20% probability) affects the whole GOP < 300 msec should cause a single-gop loss, i.e. minor glitch STB vendor dependencies 20

Failure impact upon viewer experience Very hard to measure and quantify If I frames or frame-information is lost, impact will be for a whole GOP GOP can be 250 msec (MPEG2).. 10 sec (WM9) Encoding and intelligence of decoder to hide loss impact quality as well IPTV STB typically larger playout buffer than traditional non-ip STBs: Loss can cause catch-up: no black picture, but just a jump in the motion. 21

Channel changing 22

The (should be) obsolete problem IGMPv2 leave latency! Example: 4Mbps DSL link, 3.5 Mbps MPEG2 Can only receive one TV channel at a time Leave latency on channel change complex Resolved with IGMPv3/MLDv2 Ability for explicit tracking (vendor specific) Can immediately stop forwarding upon leaves 23

Static vs. dynamic trees 1. Broadcast Video static forwarding into DSLAM Fear of join latency History (ATM-DSLAM) 2. Switched Digital Video Allow oversubscription of PE- AGG/DSLAM link 3. Real Multicast dynamic tree building full path (3) IGMP joins PIM joins Static (PIM) tree IGMP joins (2) Static (PIM) tree IGMP joins (1) Source PE-AGG DSLAM Home Gateway 24

Fast Join/Leave for Faster Channel Change Problem Description: In networks where bandwidth is constrained between multicast routers and hosts (like in xdsl deployments), fast channel changes can easily lead to bandwidth oversubscription, resulting in a temporary degradation of traffic flow for all users. Solution: Reduce the leave latency during a channel change by extending the IGMPv3 protocol. Benefits: Faster channel changing without BW oversubscription Improved diagnostics capabilities 25

Multicast Fast Join/Leave for Faster Channel Change Relies on IGMPv3 David John Router tracks both User and Channel(s) being watched When user leaves channel no one else is watching, router immediately prunes the channel off the interface compared to IGMPv2 (up to 3 seconds) and IGMPv1 (up to 180 seconds)! igmp igmp E0 igmp igmp Configuration: interface interface Ethernet Ethernet 0 ip ip pim pimsparse-mode ip ip igmp igmpversion 3 ip ip igmp igmpexplicit-tracking Int E0 E0 E0 Channel User 10.0.0.1, 239.1.1.1 David 10.0.0.1, 239.2.2.2 John 10.0.0.1, 239.3.3.3 David 26

Admission control Oversubscription (eg: PE-AGG/DSLAM link) raises question of admission control Real-time! One flow too many messes up everything Vendor-specific: Router/L2-Device local config for perinterface maximum# multicast flows With more varying bandwidth (2.. 20Mbps) of TV programming, this may need to become bandwidth aware Vendor specific: Local router CLI RSVP for multicast admission control (Unicast/VoD) 27

Join Latency Static forwarding (to PE-AGG, or DSLAM) often done to avoid join latency But other reasons too (policy, ) Bogus? Join latency (PIM/IGMP) very low, eg: individual < 100 msec Relevant: worst-case zapping performance Joins stop at first router/switch in tree that already forwards tree Probability for joins to go beyond PE-AGG very low! If you zap to a channel and it takes ¼ sec more: You are the first guy watching this channel in a vicinity of eg: 50,000 people. Are you sure you want to watch this lame program? 28

GOP size and channel changing GOP size of N seconds causes channel change latency >= N seconds Can not start decoding before next I-frame Need/should-have channel change acceleration for GOP sizes > 0.5 sec? Unclear How much bandwidth is saved in different codecs by raising GOP size (same quality) Eg: WM9/AV ~ 2.5 Mbps -> GOP size 3 sec What bandwidth with 0.5 sec GOP size?? 29

Multicast CAC 30

Local policy CAC in IOS Branch ( interface ) access control for flows Ip igmp access-group <flows-acl> Ip multicast boundary <flows-acl> [ in out ] Branch ( interface ) limits for #flows Ip igmp limit <n> [ except <flows-acl> ] Output side only, IGMP only Ip multicast limit <flows-acl> <n> [ in out ] Cost factor to multicast limit Driven by customer requirements to provide fair share of bandwidth for flows from multiple content providers (See example) 31

Oversubscription on aggregation link to DSLAM Simply Not Enough BW for all the Triple Play Services Problem statement 200-250 DLAMs per 7600 1GE 250-500 users per DLAM DSLAM 1. 250 500 end users need to be supported on a 1 Gbps DSLAM uplink. 2. Triple Play Services need to support 250 500 users - Voice : 2 IP phone connections per home - Video : 200 500 cable channels - Data : Internet - VOD : 10 % users using VOD 10GE 1GE PE Cat7600 1GE DSLAM DSLAM Need Solution to Manage Video Broadcast Oversubscription! 3. If 500 homes on a single DSLAM are all watching a different channel, the total BW required for video alone would be 500 x 4Mbps = 2Gbps!!! 4. This is NOT enough BW for a good user experience in the worst case scenario. 5. And don t forget, we still need BW to accomodate Voice, VoD & Data! 6. CONCLUSION 32

Multicast Call Admission Control (CAC) phases Phases Description 12.4T/12.2S Availability 1 Single per interface mroute state limit Limits mroute state per interface. Introduced by Cisco IOS IGMP State Limit feature. CSCdt86093 12.2(15)T, 12.2(14)S 2 multiple per interface mroute state limits Limits mroute state for different ACL-classified sets multicast traffic individually on an interface. Introduced by Cisco IOS Per Interface Mroute State Limit feature. CSCdz51630 12.3(14)T Future: Cisco-7600 3 Cost-factor addition to per interface mroute state limits Allows for bandwidth based admission control on a perinterface bassis (ingress or egress). CSCej51837 Future: Cisco-7600 33

Phase 1 Feature: (Single) Per Interface Mroute State Limit Example CAC use: 1. Say the total number of SDTV channels offered by a Service Provider is 300. 2. Each SDTV channel is approximately 4Mbps. Cisco IOS IGMP State Limit Feature interface Gig0/0 description --- Interface towards DSLAM ---... ip igmp limit 125 3. 50% of each outgoing 1Gbps link (500Mbps) needs to be provisioned for multicast video leaving the remaining 50% for Voice, Internet & VoD. 4. The required CAC needed per interface comes out to: 500Mbps/4Mbps = 125 mroutes Supports ASM and SSM IGMPv2/v3, but not PIM. Receiver side only. 300 SDTV channels 10GE PE Cat7600 1GE Multicast Video (50%) Voice, Internet & VoD (50%) 1GE 1GE DSLAM DSLAM DSLAM 250-500 users per DLAM 300 channels x 4Mbps = 1.2Gbps > 1GE 34

Phase 2 Feature: (multiple) Per Interface Mroute State Limit Generic interface multicast route limit feature with support for Ingress, egress, PIM/IGMP, ASM/SSM. Example CAC use: 1. Say the total number of SDTV channels offered by a Service Provider is 300. 2. Each SDTV channel is ~ 4Mbps. 3. Service Provider will offer three TV bundles (Basic, Premium, Gold). Each bundle will have 100 channels. 4. 50% of 1Gbps link for mcast video Rest for Voice, Internet & VoD. 5. Within this provisioned 50%: 60% will be for Basic (300Mbps) 20% will be for Premium (100Mbps) 20% will be for Gold (100Mbps) 6. The required CAC needed per interface comes out to: Basic mroute limit = 300/4 = 75 Premium mroute limit = 100/4 = 25 Gold mroute limit = 100/4 = 25 Cisco IOS Per Interface Mroute State Limit interface Gig0/0 description --- Interface towards DSLAM ---... ip multicast limit out 75 acl-basic ip multicast limit out 25 acl-premium ip multicast limit out 25 acl-gold Basic (100 channels) Premium (100 channels) Gold (100 channels) 10GE PE Cat7600 Gig0/0 1GE Multicast Video (50%) 1GE Voice, Internet & VoD (50%) 1GE 300 channels offered 300 channels x 4Mbps = 1.2Gbps DSLAM DSLAM DSLAM 250-500 users per DLAM 35

Phase 3 Cost factor for per-interface Mroute State Limits Example CAC use: 1. Consider the following. Three Content Providers (CPs) are providing multicast content. 2. Multiple CP will have TV programs w/ different BW: - MPEG2 SDTV: 4 Mbps - MPEG2 HDTV: 18 Mbps - MPEG4 SDTV: 1.6 Mbps - MPEG4 HDTV: 6 Mbps 3. Service Provider (SP) would like to provision fair sharing of bandwidth between these three content providers to its consumers across 1Gbps links. 4. 250Mbps for each CP, 250 Mbps for Voice/Internet/VoD. 5. Simple extension of multicast limits: global cost factor config. Content Providers Content...! Provider! CAC 1 Content Provider 2 Content Provider 3 10GE 10GE 10GE Service Provider!! Global ip ip multicast limit cost acl-mp2sd-channels 4000! from any provider ip ip multicast limit cost acl-mp2hd-channels 18000! from any provider ip ip multicast limit cost acl-mp4sd-channels 1600! from any provider ip ip multicast limit cost acl-mp4hd-channels 6000! from any provider!! interface Gig0/0 description --- Interface towards DSLAM ---... ip ip multicast limit out 250000 acl-cp1-channels ip ip MPEG2 multicast SDTVlimit out 250000 acl-cp2-channels MPEG2 HDTV ip ip multicast MPEG4 SDTV limit out 250000 acl-cp3-channels MPEG4 SDTV MPEG2 SDTV MPEG2 HDTV MPEG4 SDTV MPEG4 SDTV MPEG2 SDTV MPEG2 HDTV MPEG4 SDTV MPEG4 SDTV PE Cat7600 1GE CP-1 (250Mbps) CP-2 (250Mbps) CP-3 (250Mbps) Voice/Int/VoD (250Mbps) 1GE 1GE Paying Customers 250-500 users per DLAM DSLAM DSLAM DSLAM 36

37