Professional Documents
Culture Documents
Multicast Concepts
BRKIPM-3018
Steve Simlo
BRKIPM-3018 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 1
HOUSEKEEPING
We value your feedback, don’t forget to complete your online
session evaluations after each session and complete the Overall
Conference Evaluation which will be available online from Friday.
BRKIPM-3018 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 3
Agenda
Multicast IPv6
Multi Topology Routing (MTR)
Multicast Triple Play
BRKIPM-3018 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 4
Agenda
Multicast IPv6
Multi Topology Routing (MTR)
Multicast Triple Play
BRKIPM-3018 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 5
MBGP Overview
MBGP: Multiprotocol BGP
Defined in RFC 2283 (extensions to BGP)
Can carry different types of routes: IPv4/v6 Unicast/Multicast
May be carried in same BGP session
No multicast state propagated: still need PIM
Path selection and validation rules: AS-Path, LocalPref, MED
BRKIPM-3018 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 7
MBGP — Capability Negotiation
AS 321
AS 123
.1 192.168.100.0/24 .2
Receiver
Sender
BRKIPM-3018
If there is no match, notification is sent and peering doesn’t come up8
© 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential
MBGP—NLRI Information
Unicast BGP Table
Network Next-Hop Path
*>i160.10.1.0/24 192.20.2.2 i
*>i160.10.3.0/24 192.20.2.2 i
*>i192.192.2.0/24 192.168.200.2 300 200 i
BGP Update from Peer
MP_REACH_NLRI:
MP_REACH_NLRI: 192.192.2/24
192.192.2/24
AFI:
AFI: 1,
1, Sub-AFI:
Sub-AFI: 11 (unicast)
(unicast)
AS_PATH:
AS_PATH: 300300 200
200 Multicast BGP Table
MED:
MED: Network Next-Hop Path
Next-Hop:
Next-Hop: 192.168.200.2
192.168.200.2 *>i160.10.1.0/24 192.20.2.2 i
*>i160.10.3.0/24 192.20.2.2 i
BRKIPM-3018 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 9
MBGP—NLRI Information
Unicast BGP Table
Network Next-Hop Path
*>i160.10.1.0/24 192.20.2.2 i
*>i160.10.3.0/24 192.20.2.2 i
MP_REACH_NLRI:
MP_REACH_NLRI: 192.192.2/24
192.192.2/24
AFI:
AFI: 1,
1, Sub-AFI:
Sub-AFI: 22 (multicast)
(multicast)
AS_PATH:
AS_PATH: 300300 200
200 Multicast BGP Table
MED:
MED: Network Next-Hop Path
Next-Hop:
Next-Hop: 192.168.200.2
192.168.200.2 *>i160.10.1.0/24 192.20.2.2 i
*>i160.10.3.0/24 192.20.2.2 i
*>i192.192.2.0/24 192.168.200.2 300 200 i
BRKIPM-3018 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 10
MBGP—NLRI Information
Incongruent Topologies
AS 321
AS 123 Unicast Traffic
.1 192.168.100.0/24 .2
.1 Multicast Traffic .2
192.168.200.0/24
192.192.25.0/24
BRKIPM-3018 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 11
MBGP Syntax Change
NLRI Syntax
router bgp 5
network 171.69.214.0 mask 255.255.255.0 nlri unicast multicast
neighbor 171.69.214.38 remote-as 2 nlri unicast
neighbor 171.69.214.50 remote-as 2 nlri multicast
Address-Family Syntax
router bgp 5
no bgp default ipv4-unicast
neighbor 171.69.214.38 remote-as 2
neighbor 171.69.214.50 remote-as 2
!
address-family ipv4 unicast
neighbor 171.69.214.38 activate
network 171.69.214.0 mask 255.255.255.0
exit-address-family
!
address-family ipv4 multicast
neighbor 171.69.214.50 activate
network 171.69.214.0 mask 255.255.255.0
exit-address-family
BRKIPM-3018 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 12
Agenda
Multicast IPv6
Multi Topology Routing (MTR)
Multicast Triple Play
BRKIPM-3018 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 13
MSDP Overview
MSDP Example Domain E
MSDP Peers
Source Active SA RP
Messages
SA r
Domain C
RP
SA RP
SA Domain D
SA Message
192.1.1.1, 224.2.2.2
RP
SA Message
192.1.1.1, 224.2.2.2 s
Domain A
Register
192.1.1.1, 224.2.2.2
BRKIPM-3018 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 14
MSDP Overview
MSDP Example Domain E
MSDP Peers
RP
r
Domain C
.2.2.2)
RP
(S, 224 n
Jo i
Domain B
RP
RP
Domain D
RP
s
Domain A
BRKIPM-3018 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 15
MSDP Overview
MSDP Example Domain E
MSDP Peers
Multicast Traffic RP
r
Domain C
RP
Domain B
RP
RP
Domain D
RP
s
Domain A
BRKIPM-3018 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 16
MSDP Overview
MSDP Example Domain E
MSDP Peers
Multicast Traffic RP
r
Domain C Join
.2)
(S, 224.2.2
RP
Domain B
RP
RP
Domain D
RP
s
Domain A
BRKIPM-3018 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 17
MSDP Overview
MSDP Example Domain E
MSDP Peers
Multicast Traffic RP
r
Domain C
RP
Domain B
RP
RP
Domain D
RP
s
Domain A
BRKIPM-3018 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 18
MSDP SA Messages
BRKIPM-3018 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 19
MSDP commands
Filtering
Can filter SA in/out, groups, (acls or route-maps)
Multicast IPv6
Multi Topology Routing (MTR)
Multicast Triple Play
BRKIPM-3018 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 21
Source Specific Multicast (SSM)
Assumes One-to-Many model.
Most Internet multicast fits this model (IP/TV also)
A B C D
Out-of-band
(S, G) Join
source directory,
example: web server
Receiver
BRKIPM-3018 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 23
PIM Source Specific Mode
Source
Result: Shortest path tree rooted
at the source, with no shared tree.
A B C D
Out-of-band
source directory,
example: web server
E F
Receiver
BRKIPM-3018 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 24
SSM Configuration
Global command
ip pim ssm {default | <acl>}
Defines SSM address range
Default range = 232.0.0.0/8
Prevents Shared Tree Creation
(*, G) Joins never sent or processed
PIM Registers never sent or processed
Available starting in IOS versions
12.1(5)T, 12.2, 12.0(15)S, 12.1(8)E
BRKIPM-3018 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 25
SSM Mapping
Customers want to deploy SSM
Hosts in network don’t support IGMPv3
Host OS is outside of network operators control
Network operators don’t control content
No knowledge about S,G mapping
Bring Source to Group mapping from host to router
Use an external or internal database for Source to
Group mapping
Allows content providers to provide the mapping
Independent from network operators
Database is chosen to be static or DNS
Allows only for one source per Group
BRKIPM-3018 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 26
SSM Mapping – DNS Example
Reverse DNS
lookup for
PIM (S,G) join group G
DNS response:
IGMPv2 join Group G -> Source S
Set Top
Box (STB)
BRKIPM-3018 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 27
SSM Mapping - 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
BRKIPM-3018 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 28
Agenda
Multiprotocol BGP (MBGP)
Multicast Source Discovery Protocol (MSDP)
Source Specific Multicast (SSM)
Multicast VPN (MVPN)
Multicast IPv6
Multi Topology Routing (MTR)
Multicast Triple Play
BRKIPM-3018 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 29
Multicast VPN – Challenges
Multicast not supported with MPLS
Workaround has been point-to-point GRE tunnels from CE to CE
Not scalable with many CE routers
Traffic overhead
Administration overhead
CE CE
CE
CE
MPLS Core
CE
CE
CE CE
BRKIPM-3018 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 30
Multicast VPN – Requirements
Service provider may have a preferred PIM operating mode in the
core.
VPN customer may have a preferred PIM operating mode in
his/her network.
PIM mode used in the core and VPN should be independent.
Implementation must support any PIM operating mode in customer
and provider networks.
PIM Bidirectional (PIM-BIDIR)
PIM Source Specific Multicast (PIM-SSM)
PIM Sparse-Mode (PIM-SM)
BRKIPM-3018 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 31
Cisco’s Implementation
Based on Multicast Domains in draft-ietf-l3vpn-2547bis-mcast-
03.txt
Provider builds independent multicast network in the core.
All arriving customer multicast traffic is encapsulated and multicast
across Provider Network.
A separate multicast group is used inside of Provider Network for each
customer VPN.
Provider’s multicast address space is independent of all customer
address space.
Avoids VPN overlap of customers’ multicast addresses.
MVPN in 12.2(13)T and 12.0(23)S on 3600, 7200 and 7500. 10k in
12.0(25)S. 12K in 12.0(26)S. 7600 in 12.2S.
BRKIPM-3018 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 32
mVPN : Concept & Fundamentals
Receiver 4 Join high • Customer CE devices
CE
bandwidth source
A
joins the MPLS Core
CE Receiver 1 through provider’s PE
CE B2
New
New York
York CE devices
B1 PE
A E
San
San • The MPLS Core forms a
PE
Francisco
Francisco
Default MDT for a given
PE B MPLS VPN
Core
E Customer
Default CE
MDT • A High Bandwidth
F
For Low
source for that
Bandwidth &
control Data customer starts
traffic only. MDT sending traffic
Los
Los
PE For High
• Interested receivers 1 &
Bandwidth
Angeles D
Angeles traffic only.
2 join that High
CE C
PE Dallas
Dallas Bandwidth source
D
BRKIPM-3018 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 35
MVPN Extensions - SSM for Default-MDT
Before 12.0(29)S:
Use extended community BGP message - no config
Since 12.0(29)S:
IPv4/MDT address/subaddress family reachability.
Requires config of MDT-SAFI per neighbor
BRKIPM-3018 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 37
Inter-AS MPLS/VPN Options - rfc2547bis
BRKIPM-3018 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 38
Inter-AS MVPN support
Resolves two RPF-issues
Build (Sj,Gi) tree across P node where Sj is PE from
remote AS not redistributed into local IGP
Problem with InterAS option B,C without IGP route redistribute between
AS
Resolved with InterAS-RPF-Vector
Adds (RD, ASBR) to PIM (S,G) joins. P node RPFs towards ASBR,
ASBR find next ASBR (or ultimate PE) by (RD,S) BGP lookup.
Note: RPF-Vector (without InterAS) for BGP-free core of native IP
multicast (eg: for IPTV services).
Even though PE1 is not This MVRF has the same The same unicast routing
connected to any sites of MDT Default Group as the policy is configured to
VPN-Y, create an MVRF MVRF created on PE2 for import routes from VPN-
VPN-X
on PE1 VPN-
VPN-Y
CE
VPN-Y
PE2
MVRF For VPN-X Receiver
P
PE1
PE3
Source CE1 CE
VPN-X VPN-X
Receiver
MDT For VPN-X MVRF For VPN-X
BRKIPM-3018 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 41
Extranet MVPN Configuration Option #1
Packet Flow
Packets received in MVRF Independently replicated PE2 and PE3 decapsulate
for VPN-
VPN-X from the and encapsulated in the and forward the packet to
source MVRF for VPN-
VPN-X and the respective MVRFs
VPN-
VPN-Y
CE
VPN-Y
PE2
MVRF For VPN-X Receiver
P
PE1
PE3
Source CE1 CE
VPN-X VPN-X
Receiver
BRKIPM-3018 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 42
Extranet MVPN Configuration Option #1
Using a Common MDT Data Group
PE1 can optionally The result is that packets PE2 and PE3 decapsulate
choose to use to same are only replicated once and forward the packet to
MDT Data Group to in the core independent the respective MVRFs
encapsulate packets of the number of different
receiver MVRFs
CE
VPN-Y
PE2
MVRF For VPN-X Receiver
P
PE1
PE3
Source CE1 CE
VPN-X VPN-X
Receiver
BRKIPM-3018 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 43
Extranet MVPN Configuration Option #2
Configuration
Even though PE2 is not
connected to any sites of VPN-
VPN-
X, create an MVRF on PE2
MVRF For VPN-X
Configure the same routing
policy to export routes from
VPN-
VPN-X to VPN-
VPN-Y
MVRF For VPN-Y
CE
VPN-Y
PE2
MVRF For VPN-X Receiver
P
PE1
PE3
Source CE1 CE
VPN-X VPN-X
Receiver
BRKIPM-3018 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 44
Extranet MVPN Configuration Option #2
Packet Flow
Packets are received and They are
replicated in the MVRF for decapsulated
VPN-
VPN-X on PE1 and replicated MVRF For VPN-X
in the MVRF
They are replicated to PE2
for VPN-
VPN-Y on
and PE3 as both are
PE2
connected to receivers in MVRF For VPN-Y
VPN-
VPN-X
CE
VPN-Y
PE2
MVRF For VPN-X Receiver
P
PE1
PE3
Source CE1 CE
VPN-X VPN-X
Receiver
BRKIPM-3018 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 45
LSM framework
BRKIPM-3018 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 46
Cisco Status – LSM
LSM Protocols Distinct properties
MLDP Dynamic Tree Building suitable for broad set Multicast
Applications
draft-ietf-mpls-ldp-p2mp-02.txt
FRR as optional capability
Receiver driven dynamic tree building approach
BRKIPM-3018 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 47
MLDP : Transiting PIM SSM (IPv4 non-VPN)
PIM-V4
PIM-V4 JOIN:
JOIN:
Source=
Source= 10.10.10.1
10.10.10.1
M-LDP Group = 232.0.0.1
Group = 232.0.0.1
M-LDP Label
Label
Advertisement:
Advertisement:
M-LDP
M-LDP Label
Label FEC=
FEC= FEC200
FEC200
Advertisement:
Advertisement:
FEC= RPFv=PE-1
RPFv=PE-1
FEC= FEC200
FEC200
RPFv=PE-1
RPFv=PE-1
Label=(20)
Label=(20) IPv4 CE-2
PIM-V4
PIM-V4 Join:
Join: Label=(100)
Label=(100) Content
Source=
Source= 10.10.10.1
10.10.10.1 Receiver
Group = 232.0.0.1
Group = 232.0.0.1
IPv4 PE-2
PE-1 P-4
CE-1
MPLS Core
Content M-LDP
M-LDP Label
Label
Source Advertisement:
Advertisement:
FEC=
FEC= FEC200
FEC200
P2MP LSP RPFv=PE-1
RPFv=PE-1 PE-3
Label=(30)
Label=(30)
“Root” PIM-V4
PIM-V4 JOIN:
JOIN: IPv4
Source=
Source= 10.10.10.1
10.10.10.1
Group
Group == 232.0.0.1
232.0.0.1
CE-3
Content
Receiver
BRKIPM-3018 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 48
mLDP : Transiting PIM SSM (IPv4 non-VPN)
“Life of a Packet”
• PE-1 (Root) receives IPv4 multicast and “Pushes” label towards P-4.
• PE-2 & PE-3 “Pop” outer labels and replicate multicast to CEs.
IPv4 CE-2
IPv4 L20 Content
IPv4 Receiver
IPv4 IPv4 L100
IPv4 PE-2
“Pop”
PE-1 P-4
CE-1
MPLS Core
Content
Source IPv4 L30
IPv4
“Push” PE-3
IPv4
“Swap”
CE-3
Content
Receiver
BRKIPM-3018 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 49
Multicast LDP based Multicast VPN (Default-MDT)
MP2MP Tree Setup Summary
• All PE’s configured for same VRF derive FEC from configured
MDT type, VPN id and Root ID
VPNv4 CE-2
VPNv4 PE-2
PE-1 P-4
CE-1
MPLS Core
MP2MP LSP
PIM-V4
PIM-V4 VRFVRF Config:
Config: PE-3
“Root”
ip vrf demo-mldp-pagent
ip vrf demo-mldp-pagent VPNv4
rd
rd 1:1
1:1
vpn
vpn idid 1:1
1:1
route-target
route-target export
export 1:1
1:1 CE-3
route-target
route-target import
import 1:1
1:1
mdt
mdt default mldp mp2mp 4.4.4.4
default mldp mp2mp 4.4.4.4
BRKIPM-3018 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 50
MLDP : MPLS mapping
BRKIPM-3018 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 51
MLDP : Mapping to the FEC
PIM-V4
PIM-V4 VRF
VRF Config:
Config:
ip
ip vrf
vrf demo-mldp-pagent
demo-mldp-pagent
rd 1:1
rd 1:1
vpn
vpn id
id 1:1
1:1
route-target
route-target export
export 1:1
1:1
route-target
route-target import
import 1:1
1:1
mdt
mdt default
default mldp
mldp mp2mp
mp2mp
4.4.4.4
4.4.4.4
BRKIPM-3018 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 52
Multicast LDP based Multicast VPN (Default-MDT)
MP2MP Tree Setup Summary
M-LDP
M-LDP Label
Label VPNv4 CE-2
M-LDP
M-LDP Label
Label
Advertisement:
Advertisement: Content
FEC=
FEC= FEC-MDT
FEC-MDT
Advertisement:
Advertisement: Receiver
FEC=
FEC= FEC-MDT
FEC-MDT Root=P-4
Root=P-4
Root=P-4 Label=(20)
Label=(20)
Root=P-4
Label=(20)
Label=(20) (21)
(21) Upstrm
Upstrm PE-2
VPNv4 (21)
(21) Upstrm
Upstrm
PE-1 P-4
CE-1
MPLS Core
M-LDP
M-LDP Label
Label
Content Advertisement:
Advertisement:
Source FEC=
FEC= FEC-MDT
FEC-MDT
MP2MP LSP
Root=P-4
Root=P-4
PE-3
Label “Root”
Label =(30)
=(30)
Label
Label =(31)
=(31) Upstrm
Upstrm VPNv4
CE-3
Content
Receiver
BRKIPM-3018 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 53
P2MP RSVP TE
Requirements drafts
draft-ietf-l3vpn-ppvpn-mcast-reqts-00.txt
BRKIPM-3018 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 54
Terminology
Tail-end
PE2
Mid-point and Head-end/source: Node
Head- branch point
end where LSP signaling is
initiated
Mid-point: Transit node where
PE1 P
PE3 LSP signaling is processed
(not a head-end, not a tail-
end)
Tail-end/leaf/destination:
node where LSP signaling is
PE2
S2L sub-LSP
terminated
Branch point: node where
packet replication is
PE1 P
performed
S2L sub-LSP PE3
Source-to-leaf (S2L) sub-
LSP: P2MP TE LSP segment
that runs from source to one
leaf
BRKIPM-3018 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 55
P2MP TE LSP Setup
PE2
PATH
P2MP TE is defined as a
collection of S2L sub-LSPs
PATH
Each sub-LSP signaled
PE1 PATH P independently
PE3
PATH
Label replication state built
during label distribution
when two or more sub-
LSPs diverge
PE2
RESV
Sub-LSPs on same path
RESV receive the same label
during label distribution
RESV
PE1 P
PE3
RESV
BRKIPM-3018 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 56
Agenda
Multicast IPv6
Multi Topology Routing (MTR)
Multicast Triple Play
BRKIPM-3018 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 57
IPv4 and IPv6 Multicast Comparison
Service IPv4 Solution IPv6 Solution
MSDP across
Single RP within Globally
Interdomain Solutions Independent PIM
Shared Domains
Domains
BRKIPM-3018 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 58
IPv6 Multicast Addresses (RFC 3513)
128 bits
Group ID (112 bits)
BRKIPM-3018 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 59
Multicast Deployment Options
With and Without Rendezvous Points (RP)
SSM, No RPs
R S
DR
R S
DR RP
He is the RP He is the RP He is the RP
R S
DR RP
BRKIPM-3018 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 60
Source Specific Multicast (SSM)
NO configuration required other router#show ipv6 pim range-list
than enabling config SSM Exp: never Learnt from : ::
ipv6 multicast-routing FF33::/32 Up: 1d00h
FF34::/32 Up: 1d00h
SSM group ranges are
automatically defined FF35::/32 Up: 1d00h
FF36::/32 Up: 1d00h
Very few applications support FF37::/32 Up: 1d00h
MLDv2…yet
FF38::/32 Up: 1d00h
FF39::/32 Up: 1d00h
FF3A::/32 Up: 1d00h
FF3B::/32 Up: 1d00h
FF3C::/32 Up: 1d00h
FF3D::/32 Up: 1d00h
FF3E::/32 Up: 1d00h
FF3F::/32 Up: 1d00h
BRKIPM-3018 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 61
SSM-Mapping
core-1#show ipv6 mroute | begin 2001:DB8:CAFE:11::11 2001:DB8:CAFE:11::11
(2001:DB8:CAFE:11::11, FF33::DEAD), 00:01:20/00:03:06, flags: sT
Incoming interface: GigabitEthernet3/3 FF33::DEAD
RPF nbr: FE80::20E:39FF:FEAD:9B00 Corporate
Immediate Outgoing interface list: Network
GigabitEthernet5/1, Forward, 00:01:20/00:03:06 Source
Static Mapping:
ipv6 multicast-routing
!
ipv6 mld ssm-map enable
ipv6 mld ssm-map static MAP 2001:DB8:CAFE:11::11
no ipv6 mld ssm-map query dns SSM
!
ipv6 access-list MAP
permit ipv6 any host FF33::DEAD
BRKIPM-3018 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 62
IPv6 Multicast Static RP
Easier than before as PIM is auto-
enabled on every interface Corporate
Network
Source
L0
ipv6 multicast-routing
!
RP
interface Loopback0
description IPV6 IPmc RP
no ip address IP
ipv6 address 2001:DB8:C003:110A::1/64 WAN
!
ipv6 pim rp-address 2001:DB8:C003:110A::1/64
ipv6 multicast-routing
!
ipv6 pim rp-address 2001:DB8:C003:110A::1/64
BRKIPM-3018 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 63
Embedded RP Addressing (rfc3956)
8 4 4 4 4 8 64 32
FF Flags Scope Rsvd RPadr Plen Network-Prefix Group-ID
Network-Prefix::RPadr = RP address
BRKIPM-3018 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 64
Embedded RP Addressing – Example
Multicast Address with Embedded RP address
8 4 4 4 4 8 64 32
FF Flags Scope Rsvd RPadr Plen Network-Prefix Group-ID
FF76:0130:1234:5678:9abc::4321
1234:5678:9abc
1234:5678:9abc::1
Resulting RP address
BRKIPM-3018 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 65
Embedded-RP
Configuration Example
RP to be used as an
Corporate Embedded-RP needs to
Network
Source
be configured with
L0 address/ group range
RP
All other non-RP
routers require no
IP
WAN
special configuration
BRKIPM-3018 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 66
IPv6mc Deployment SSM / ASM
SSM
- Use SSM whenever MLDv2 / MLD mapping is available
- Intradomain and/or Interdomain deployment
ASM
- Bidir-PIM and/or PIM-SM
- Intradomain and/or Interdomain deployment
- RP-announcement: static-config, BSR, embedded-RP
- RP-redundancy: BSR, anycast/prioritycast-RP
BRKIPM-3018 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 67
IPv6mc Deployment – Inter / Intra Domain
Interdomain ASM
- Use Embedded-RP with PIM-SM
Intradomain ASM
Bidir-PIM
- Best scalable solution, no data-triggered events,
arbitrarily many sources
-use static-RP or BSR for announce and prioritycast-
phantom-rp for redundancy
PIM SM
- only required when routers not supporting Bidir-PIM are
used
-use BSR for RP announce and redundancy
BRKIPM-3018 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 68
IPv6 Multicast Applications
Microsoft Windows Media Server/Player (9 and 10)
http://www.microsoft.com/windows/windowsmedia/default.
aspx
VideoLAN—www.videolan.org
DVTS (Digital Video Transport System)
http://www.sfc.wide.ad.jp/DVTS/
http://www.dvts.jp/en/dvts.html
Internet radio stations over IPv6
http://www.ipv6.ecs.soton.ac.uk/virginradio/
Supported on iTunes 4.5, Windows Media Player, XMMS
1.2.8, etc…
Many more applications…Google is your friend :-)
BRKIPM-3018 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 69
Agenda
Multicast IPv6
Multi Topology Routing (MTR)
Multicast Triple Play
BRKIPM-3018 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 70
Conceptual View of MTR
BRKIPM-3018 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 71
Multi-Topology Routing
Defining Topologies
Base Topology
Voice Topology
Start with a Base Topology
Multicast Topology Includes all routers and all links
Video Topology
BRKIPM-3018 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 72
Incongruent IPv4 Unicast and Multicast
Topologies
Restrict traffic
Restrict multicast only to designated areas of the network
BRKIPM-3018 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 73
MTR Multicast Changes
Pre-MTR mBGP
mBGP No single database for Multicast RPF
SAFI=2
SAFI=2
Multicast consults multiple sources of
“unicast” routes
RPF
check Selects result according to custom
Multicast Unicast
table preference rule
(PIM,
forwarding)
RIB Standard unicast routes (uRIB)
always considered.
Static No way to exclude them completely
Static
Mroute
Mroute
BRKIPM-3018 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 74
MTR Multicast Changes
BRKIPM-3018 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 75
MTR / MiMTR Overview
• Functionality:
•Ability to run parallel multiple instances of IGP. Each instance
commits routes into different RIB/(FIB). Each “class” of traffic is
assigned to be routed against particular RIB/FIB.
BRKIPM-3018 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 76
MTR/MiMTR application - Cost optimization
Rcvr Rcvr
Src1 Rcvr
B1 A2
Core Core
Region1 POP1 POP2 Region2
Src2 Rcvr
WAN
Links
A1 B2
Rcvr Rcvr
A3 B3
Core POP3
Rcvr Rcvr
Region3
Rcvr Rcvr
BRKIPM-3018 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 77
MTR/MiMTR application - Cost optimization
Rcvr Rcvr
Src1 Rcvr
B1 A2
Core Core
Region1 POP1 POP2 Region2
Src2 Rcvr
A1 B2
Rcvr Rcvr
Rcvr Rcvr
IGP metric are set to achieve good load distribution across redundant core.
Manual IGP metric setting and/or tools (Cariden)
Assume in the idealized topology cost of 1 on all links.
Result: Unicast traffic is load split across redundant core links
BRKIPM-3018 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 78
MTR/MiMTR application - Cost optimization
Rcvr Rcvr
Src1 Rcvr
B1 A2
Core Core
Region1 POP1 POP2 Region2
Src2 Rcvr
A1 B2
Rcvr Rcvr
Unnecessary use of
WAN
Links
A3 B3
Core POP3
Rcvr Rcvr
Region3
Rcvr Rcvr
The same metric good for unicast load splitting causes multicast
traffic to go unnecessarily across both A and B WAN links.
10 Gbps WAN links, 1..2 Gbs multicast => 10..20% WAN waste
(cost factor)
Cannot resolve problem without multicast specific topology
BRKIPM-3018 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 79
MTR/MiMTR application - Cost optimization
Rcvr Rcvr
Src1 Rcvr
B1 A2
Core Core
Region1 POP1 POP2 Region2
Src2 Rcvr
A1 B2
Rcvr Rcvr
Efficient use of
WAN
Links
A3 B3
Core POP3
Rcvr Rcvr
Region3
Rcvr Rcvr
Multicast IPv6
Multi Topology Routing (MTR)
Multicast Triple Play
BRKIPM-3018 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 82
Relevance of Multicast for IPTV delivery
Distribute information to large audiences over an IP network Multicast
Unicast
l e TV
ty r I P
8 s
Network Traffic
b le s fo
6
c a me
4 ver h o
e li o f t
d
2
o 0 illio n e n
t
y m ym
w a p l o
Y t o 1 20
e 40 60 80 100
N L ent s t D # Clients
O n t a
Multicast he o c o lt i c
t u Multicast Benefits
1. Efficiently Controls t is ide traffic = M
network
a s tv t =
l ti c a s en • Increase Productivity & Save Cost
2. Reduces server c
and CPU loads
Mu oad l o ym
3. Eliminates b r redundancy
traffic ep • Generate New Revenue Stream
V D
4. Makes MultipointTapplications possible
IP
BRKIPM-3018 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 83
Video Source Redundancy : Two Approaches
Primary-Backup Hot-Hot
Two sources, One is active and src’ing content, Second Two sources, both are active and src’ing multicast into
is in standby mode (not src’ing content) the network
Heartbeat mechanism used to communicate with each No Protocol between the two sources
other
Only one copy is on the network at any instant Two copies of the multicast packets will be in the network
at any instant
Single Multicast tree is built per the unicast routing table
Two Multicast tree on almost redundant Infrastructure
This approach requires the network to have fast IGP and This approach does not require fast IGP and PIM
PIM convergence convergence
BRKIPM-3018 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 84
End to End Recovery Models
Hot-Hot Video Delivery Model
Source Service Edge National Backbone Regional Backbone
Source 1
Source 1
PE
PE P P PE PE PE
PE
PE
PE P P PE
Source 2 PE PE
Source 2
P PE
P
Source 3
Source 3
BRKIPM-3018 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 85
End to End Recovery Models
Video Hot-Hot Delivery Model Zoom in on Regional Network
Hub
Regional Network
BRKIPM-3018 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 86
Multicast Source Redundancy
Using Anycast Sources
How is source redundancy achieved
in the network? Anycast Sources
• Enable SSM on all routers
X
SF NY
• Have R1 and R2 advertise same 1.1.1.1 1.1.1.1
prefix for each source segment.
• R3 and R4 follow best path R1 R2
towards source based on IGP
v2 join
metrics.
• Let’s say R3’s best path to SF is R3 R4
through R1. The source in SF
now suddenly fails.
I will send join
• R3’s IGP will reconverge and to the nearest
1.1.1.1/32
trigger SSM joins towards R2 STB STB
in NY.
BRKIPM-3018 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 87
Native IP Multicast Video Triple Play
Redundancy : Source Router Failure
Source Service Edge National Backbone Regional Backbone Residence
Primary
Source 1
Heartbeat
Regional
Backbone
Secondary
Source 1
Primary
Source 2 X PE
P
P P
P PE
PE
Heartbeat
Regional Backbone PE
P P PE
PE
Secondary PE
Source 2
P P
Primary
Source 3
Regional
Backbone
Heartbeat
Secondary
Source 3
BRKIPM-3018 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 88
Native IP Multicast Video Triple Play
Redundancy : Video Source Failure
Source Service Edge National Backbone Regional Backbone Residence
Primary
X
Source 1
Heartbeat
Regional
Backbone
Secondary
Source 1
P P
Primary PE
Source 2
PE
P P PE
Heartbeat
Regional Backbone PE
P P PE
PE
Secondary PE
Source 2
P P
Primary
Source 3
Regional
Backbone
Heartbeat
Secondary
Source 3
BRKIPM-3018 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 89
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
BRKIPM-3018 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 90
Multicast Fast Join/Leave for
Faster Channel Change
“David” “John”
• Relies on IGMPv3
• Router tracks both User and Channel(s)
being watched
igm
• When user leaves channel no one else
p
p
igm
is watching, router immediately prunes
the channel off the interface compared
to IGMPv2 (up to 3 seconds) and
igmp
igmp
E0
IGMPv1 (up to 180 seconds)!
Configuration:
interface
interfaceEthernet
Ethernet00 Int Channel User
ipippim
pimsparse-mode
sparse-mode
ipipigmp
igmpversion
version33
E0 10.0.0.1, 239.1.1.1 “David”
ipipigmp
igmpexplicit-tracking
explicit-tracking
E0 10.0.0.1, 239.2.2.2 “John”
First introduced in 12.0(29)S E0 10.0.0.1, 239.3.3.3 “David”
BRKIPM-3018 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 91
Questions ?
BRKIPM-3018 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 92
Summary of session
Advanced multicast topics associated with inter-domain
The fundamentals of MBGP and MSDP
Source-specific multicast and how this mode solves
many problems associated with traditional inter-domain
multicast
Building multicast VPNs in an MPLS VPN environment
using multicast domains and multipoint LSP solutions
A brief overview of IPv6 multicast
Multicast using multi-topology routing (MTR)#
Multicast for a ‘Triple play’ deployment
BRKIPM-3018 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 93
Multicast Sessions / more information
Multicast Techtorial
Management and Security Breakouts
Multicast BoF
MTE: Beau Williamson, Toerless Eckert, Andy Kessler, Dino
Farinacci, Steve Simlo
Multicast CCO Page: www.cisco.com/go/multicast
Questions: cs-ipmulticast@cisco.com
Customer Support Mailing List: tac@cisco.com
RTFB
BRKIPM-3018 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 94
Meet the Experts
IP and MPLS Infrastructure Evolution
Andy Kessler
Technical Leader
Beau Williamson
Consulting Engineer
Benoit Lourdelet
IP services Product manager
Bertrand Duvivier
Consulting Systems Engineer
Bruce Davie
Cisco Fellow
Bruce Pinsky
Distinguished Support Engineer
BRKIPM-3018 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 95
Meet the Experts
IP and MPLS Infrastructure Evolution
John Evans
Distinguished Systems Engineer
Oliver Boehmer
Network Consulting Engineer
Patrice Bellagamba
Consulting Engineer
Shannon McFarland
Technical Leader
BRKIPM-3018 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 96
Meet the Experts
IP and MPLS Infrastructure Evolution
Andres Gasson
Consulting Systems Engineer
Steve Simlo
Consulting Engineer
Toerless Eckert
Technical Leader
Dino Farinacci
Cisco Fellow & Senior Software Engineer
BRKIPM-3018 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 97
Recommended Reading
BRKIPM -3018
BRKIPM-3018 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 99
99
BRKIPM-3018 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 100