Professional Documents
Culture Documents
BRKARC-3322 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public
Multicast Overview (~5-10m)
Multicast Architecture (~15-20m)
Multicast Forwarding (~10-15m)
Multicast Replication (~10-15m)
Remember, this is YOUR session:
Multicast Packet Walks (~20-30m) Please Ask
Multicast on VSS (~15-20m) Questions!
Multicast Debugging (~10-15m)
BRKARC-3322 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public
PIM Distribution Modes
IGMP / MLD & Snooping
Multicast VPN & Extranet
Multicast High-Availability
Multicast Management
Catalyst 6500 & IP Multicast
Source Tree Source Tree
Flood & Prune (S,G based) multicast Rooted at
Source1
Rooted at
Source2
distribution protocol
Source1 Source2
Designed with assumption that receivers
are densely populated in the network...
Uses only Source-based Trees
Distribution trees are unidirectional (RPF-based)
BRKARC-3322 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public
PIM Distribution Modes
IGMP / MLD & Snooping
Multicast VPN & Extranet
Multicast High-Availability
Multicast Management
Catalyst 6500 & IP Multicast
Purpose: Signal & refresh Multicast group
membership, on receiver subnets
Internet Group Management Protocol
(IGMP)
host membership reporting in IPv4
Multicast Listener Discovery (MLD)
host membership reporting in IPv6
IGMP v1 & v2 support for PIM-SM & PIM-
BiDir
IGMP v3 support for PIM-SSM
Option for SSM Mapping, which translates all IGMPv2
(*,G) joins into PIM-SSM (S,G) joins
MLD v1 & v2 support for IPv6 PIM-SM
MLD v2 protocol support for IPv6 PIM-SSM Remember: IGMP & MLD
Option for SSM Mapping to translate MLDv1 (*,G) joins actually operate @ Layer 3
into IPv6 PIM-SSM (S,G) joins
BRKARC-3322 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public
IGMP for IPv4 & MLD for IPv6
Source Source
BRKARC-3322 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public
PIM Distribution Modes
IGMP / MLD & Snooping
Multicast VPN & Extranet
Multicast High-Availability
Multicast Management
Catalyst 6500 & IP Multicast
Receiver
CE Data MDT Provides Multicast
CE Used for
high-bandwidth distribution over an
data stream MPLS core
Join
Overlay model encapsulates
VPN multicast traffic in GRE
Enterprise tunnels, for transport over core
PE MPLS Core
Receiver MVPN tunnels connect remote
Default MDT PEs via Multicast Distribution
Trees (MDTs)
Creates fully meshed PE-PE
Default MDTs for control-plane
Join data & low-bandwidth streams
Can also create on-demand
Data MDTs to constrain high-
Default MDT bandwidth streams to only PEs
Used for Receiver with interested receivers
low-bandwidth
Traffic & control-traffic
High-Rate only Shared / Source Tree
Source Rooted at RP or Source:
MVPN Source Tree controls multicast distribution
Rooted at Source PE: within individual VPN/VRF
controls multicast distribution
within MPLS VPN core
BRKARC-3322 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public
Join Receiver
Extranet MVPN
Same mroute,
extranet OIF
MPLS Core
Join
Traffic
Receiver
Source
how to interpret GenID field in PIM hellos Hello with new GenID
Triggered PIM Joins
BRKARC-3322 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public
PIM Distribution Modes
IGMP / MLD & Snooping
Multicast VPN & Extranet
Multicast High-Availability
Multicast Management
Catalyst 6500 & IP Multicast
Provides wire-rate statistics NetFlow
Collector
collection for IPv4 Multicast
data flows
Support for both ingress &
egress multicast statistics
Ingress NetFlow tracks multicast traffic
received on the Incoming Interface (IIF) S1,G1 NetFlow v9
Egress NetFlow tracks multicast traffic S2,G1 Export
replicated on each Outgoing Interface
(OIF) S1,G2
Egress
S3,G1
Netflow Sampling support, to Voice
reduce export load Ingress
vlan100
BRKARC-3322 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public
Up to 256K Multicast Entries in the FIB-XL Provides for unparalleled Hardware
Multicast Scaling!
PIM Source Register in Hardware: all register frames Saves CPU & Memory usage & minimizes
are encapsulated & de-encapsulated by PFC Source Register time!
PIM Dual-RPF in Hardware: which allows SPT switch- Saves CPU & Memory usage & minimizes
over (RP to Source) to occur w/o software SPT Switchover time!
New MFIB & EDC (+ LTL & MET sharing) designs: which Optimized HW Infrastructure, designed
Incorporate the new LIF & BD capabilities for L2/L3 Scalability!
New Global IGMP Snooping & Optimized Multicast Flood Enhanced Layer 2 multicast processing
(OMF) designs: for L2 multicast & forwarding!
Store IPv6 (*,G) & (S,G) entries in FIB (vs. Netflow) Much faster forwarding of IPv6!
Hardware IGMPv3 & MLDv2 Snooping support Faster updates of L2 IPv4 & IPv6
PIM-SSM host tables!
BRKARC-3322 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public
Multicast Control-Plane
Supervisor Components
Module Components
Route Processor - Layer 3 Switch Processor - Layer 2
control-plane functions: control-plane functions:
Multicast Protocols: PIM, IGMP / MLD, Managing PFC / DFC hardware tables
AutoRP / BSR, MSDP, MVPN, etc. IGMP / MLD Snooping packet processing
Calculating RPF interfaces PIM Snooping / RGMP packet processing
Managing software IP mroute table IGMP / MLD Querier functions
Downloads IP mroute entries to SP (for Statistics Collection & Reporting
installation into PFC / DFC hardware)
IP Mroute
Table
RP
Group
1 Gbps (Route Processor) Membership
CPU
Inband RP & Source
Advertisement
Channels
SP IGMP / MLD
1 Gbps (Switch Processor) Snooping
CPU PIM
Snooping
BRKARC-3322 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public
720Gbps Switch Fabric & PFC3 (XL)
Multicast Replication Engine Forwarding Engine
Route Processor
(RP)
Switch Processor
(SP)
BRKARC-3322 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public
Route Processes - Layer 3 Switch Processes - Layer 2
control-plane functions: control-plane functions:
Multicast Protocols: PIM, IGMP / MLD, Managing PFC / DFC hardware tables
AutoRP / BSR, MSDP, MVPN, etc. IGMP / MLD Snooping packet processing
Calculating RPF interfaces
Same Basic Principle:
PIM Snooping / RGMP packet processing
ManagingSeparate
software IP Routing
mroute table & Switching IOS processes
IGMP / MLD Querier functions
Downloads IP mroute entries(with Single RP CLI) Statistics Collection & Reporting
to SP (for
installation into PFC / DFC hardware)
IP Mroute
Table
RP
Group
1 Gbps (Route
Single Process)
(Dual-Core) Membership
Functions
Inband RP & Source
Channel Control-Plane
SP
Advertisement
Processor
(Switch Process)
IGMP / MLD
Snooping
Functions PIM
Snooping
BRKARC-3322 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public
2Tbps Switch Fabric &
PFC4 (XL)
Multicast Replication Engine
Forwarding Engine
Combined (SP/RP)
Control-Plane
Processor
BRKARC-3322 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public
Multicast Control-Plane
Supervisor Components
LAN Module Components
PFC3 provides Hardware 4 entry Bidir RP RP & SP CPUs are housed on
L2-L3/L4 forwarding, using TCAMs & table for DF the same Daughter Board
ASICs Interface check
SP CPU programs
FIB contains ADJ contains RP CPU maintains
hardware and performs
(S,G) & (*,G) entries, and Rewrite info & MET routes & state, and
IGMP/MLD & PIM
RPF VLAN index downloads tables
snooping
Supervisor 720 Baseboard 1GE Uplinks
Counter QoS FIB RP (MSFC3)
ADJ 1 Gbps DRAM
FPGA TCAM TCAM CPU
Port ASIC
Bidir RP 1 Gbps SP (NMP) DRAM
ACL L3/4 CPU
TCAM Engine NetFlow
MET CPU Daughter Card
Protocol PFC3
Redirection
L2 Engine Integrated
L2 CAM Daughter Fabric 20 Gbps 720 Gbps
Logic
Card Interface & Switch Fabric
Replication
Engine
18 x 20Gbps
Protocol Fabric Channels
32 Gbps Bus
Redirection DBUS Central Replication Engine for
captures 64K L2 CAM contains MET contains OILs RBUS Bus-based cards and uplink
IGMP/MLD & PIM 16 Gbps
multicast MAC entries for replication ports
BRKARC-3322 Bus 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public
RP and SP CPUs
PFC3C serves same basic perform all control
functions as PFC3A/B plane functions
Join
Join
Join
Join
Broker Broker Broker Broker
C D B A
t0
or
t0
or
or
t0
P
or
N
or
P
P
N
or
P
P
t
t
(Tx)
(Rx)
(Tx)
(Rx)
(Tx)
(Rx)
FE
RE
FE
RE
FE
RE
CP
CP
CP
U
U
U
Fabric ASIC Fabric ASIC Fabric ASIC
S
C
H
CPU E
Port
RE (Tx) D
Fabric ASIC
0
U
Source L
Port
N
RE (Rx) E
Stock R
Exchange
Host
BRKARC-3322 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public
Multicast Control-Plane
Supervisor Components
LAN Module Components
DBUS Example: WS-X6416-GBIC
RBUS
Classic Module
Port Port Port Port
ASIC ASIC ASIC ASIC
12xGE 12xGE 12xGE 12xGE
Example: WS-X6148A-RJ-45
Port ASIC for Physical DBUS
Connectivity, Buffering, and RBUS
Queuing
Classic Module
Port
ASIC
48x10/100
No multicast-specific components on these modules
BRKARC-3322 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public
Example: WS-X6516-GBIC
DBUS 8 Gbps
RBUS Fabric Channel
CEF256
Fabric / Bus Module
Interface
Fabric Interface
Connects to Fabric LC-DBUS
and Bus LC-RBUS
Replication
MET
Engine Port Port Port Port
ASIC ASIC ASIC ASIC
MET Contains 4xGE 4xGE 4xGE 4xGE
OILs for Multicast Replication Engine - Port ASIC for Physical
Replication Replicates Packets to each OIF Connectivity, Buffering, and
Queuing
BRKARC-3322 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public
Layer 2 Engine for MAC Example: WS-X6516-GBIC with WS-F6K-DFC
learning, Security / QoS
ACL Lookups, and
Protocol Redirection 8 Gbps
Layer 3 Engine
Fabric Channel for FIB/ADJ and
CEF256 NetFlow
Layer 2 L3/L4 Module Lookups
Fabric / Bus
Engine Engine with DFC
Interface
DFC2/3
LC-DBUS
LC-RBUS
Replication
MET
Engine Port Port Port Port
ASIC ASIC ASIC ASIC
4xGE 4xGE 4xGE 4xGE
BRKARC-3322 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public
Example: WS-X6748-SFP
DBUS
20 Gbps RBUS 20 Gbps
Fabric Channel Fabric Channel
Complex A Complex B CEF720
Fabric Fabric Module
Bus Bus
Interface & Interface Interface Interface &
MET Replication Replication MET
Engine Engine
20 Gbps 20 Gbps
Fabric Channel Fabric Channel
Complex A Complex B CEF720
Module
Fabric Layer 2 Layer 2 Fabric
Interface & Interface & + DFC
Engine Engine
MET Replication Replication MET
Engine L3/4 Engine
Engine
Port Port DFC Port Port
ASIC ASIC ASIC ASIC
12xGE 12xGE 12xGE 12xGE
BRKARC-3322 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public
Example: WS-X6908-10G with WS-F6K-DFC4-E
Layer 2 Engine for
L2 Lookups and
Protocol Layer3/4 Engine for FIB/ADJ, ACL,
Redirection QoS, and NetFlow Lookups
40 Gbps 40 Gbps
Fabric Channel Fabric Channel
Fabric Complex A Complex B Fabric CEF2T
MET ASIC MET MET ASIC MET
Layer 2 Module
Fabric Fabric
Engine Fabric Fabric + DFC
Interface & Interface & Interface & Interface &
Replication Replication Replication Replication
Engine Engine L3/4 Engine Engine
Engine
Port Port Port Port DFC4 Port Port Port Port
ASIC ASIC ASIC ASIC ASIC ASIC ASIC ASIC
1x10G 1x10G 1x10G 1x10G 1x10G 1x10G 1x10G 1x10G
BRKARC-3322 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public
Hardware Forwarding
Multicast FIB Processing
PIM BiDir Processing
Multicast Expansion Table
RP (MSFC) RP CPU derives 3 important data
IP Mrouting,
structures from the IP Multicast routing
PIM, IGMP table
MMLS-RP MDSS & MLD
Multicast FIB: Contains (S,G) & (*,G) entries,
RPF VLAN, and BiDir RP index
SCP / ICC Adjacency Table: Contains L2 rewrite MAC
information and MET index
Multicast Expansion Table (MET): Contains
SP (PFC) MET Manager, Output Interface Lists (OILs), i.e. Interfaces
IGMP & PIM requiring replication
MMLS-SP Snooping RP CPU downloads tables to SP
SP CPU installs tables into the
SCP appropriate hardware
MET installed in replication engines
LC (CFC) LC (DFC) Multicast FIB and Adjacency tables installed in
MET FIB/ADJ MET PFC/DFC hardware
SP CPU also maintains L2 tables for
MMLS-LC MMLS-LC IGMP/MLD & PIM snooping
BRKARC-3322 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public
6500# sho ip mroute 239.1.1.101 When the RPF Multicast Fast
IP Multicast Routing Table Drop (RPF_MFD) flag is set, no
matching traffic will be sent to RP
Flags: D - Dense, S - Sparse, B - Bidir Group, s - SSM Group, C - Connected, CPU
L - Local, P - Pruned, R - RP-bit set, F - Register flag,
The SP periodically updates
T - SPT-bit set, J - Join SPT, M - MSDP created entry, E - Extranet,
multicast statistics allowing RP to
X - Proxy Join Timer Running, A - Candidate for MSDP Advertisement, refresh activity timers
U - URD, I - Received Source Specific Host Report,
Z - Multicast Tunnel, z - MDT-data group sender,
Y - Joined MDT-data group, y - Sending to MDT-data group
V - RD & Vector, v - Vector
Outgoing interface flags: H - Hardware switched, A - Assert winner
Timers: Uptime/Expires
Interface state: Interface, Next-Hop or VCD, State/Mode
BRKARC-3322 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public
(S,G) Packet
Statistics
6500#
(S,G) Byte & Packet
Statistics
BRKARC-3322 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public
MSFC RP CPU derives 3 important data
IPv4 & v6 IGMP & MET MGR structures from the Multicast routing
PIM MLD
LTL MGR
table
Multicast FIB: Contains (S,G) & (*,G) entries,
RPF VLAN, and BiDir RP index
MRIB EDC Server Adjacency Table: Contains L2 rewrite MAC
information and MET index
I Multicast Expansion Table (MET): Contains
P Output Interface Lists (OILs), i.e. Interfaces
C requiring replication
EDC PFC
MFIB Client RP builds MRIB state in software
&
MFIB uses MRIB to program
I MET MGR LTL RAM forwarding information in hardware
C Multicast FIB & Adjacency tables installed in
PFC/DFC hardware
C
MET MGR LTL RAM
DFC EDC uses MRIB to program hardware
(OIF) port information
MFIB EDC Client
MET defines per-module OIFs
BRKARC-3322 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public
6500#sho ip mroute 239.124.1.1
IP Multicast Routing Table
Flags: D - Dense, S - Sparse, B - Bidir Group, s - SSM Group, C - Connected,
L - Local, P - Pruned, R - RP-bit set, F - Register flag,
T - SPT-bit set, J - Join SPT, M - MSDP created entry, E - Extranet,
X - Proxy Join Timer Running, A - Candidate for MSDP Advertisement,
U - URD, I - Received Source Specific Host Report,
Z - Multicast Tunnel, z - MDT-data group sender,
Y - Joined MDT-data group, y - Sending to MDT-data group, NOTE: the RPF_MFD flag no
longer applies, because all flows
V - RD & Vector, v - Vector are completely hardware
Outgoing interface flags: H - Hardware switched, A - Assert winner switched
Timers: Uptime/Expires
Interface state: Interface, Next-Hop or VCD, State/Mode
6500#
BRKARC-3322 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public
6500#sho ip mfib 239.124.1.1
Entry Flags: C - Directly Connected, S - Signal, IA - Inherit A flag,
ET - Data Rate Exceeds Threshold, K - Keepalive
DDE - Data Driven Event, HW - Hardware Installed
I/O Item Flags: IC - Internal Copy, NP - Not platform switched,
NS - Negate Signalling, SP - Signal Present,
A - Accept, F - Forward, RA - MRIB Accept, RF - MRIB Forward,
MA - MFIB Accept
Forwarding Counts: Pkt Count/Pkts per second/Avg Pkt Size/Kbits per second
Other counts: Total/RPF failed/Other drops
I/O Item Counts: FS Pkt Count/PS Pkt Count
Default
(*,239.124.1.1) Flags: C HW
SW Forwarding: 0/0/0/0, Other: 0/0/0
HW Forwarding: 0/0/0/0, Other: 0/0/0 Hardware Flag
Tunnel1 Flags: A (S,G) Byte & Packet
Vlan148 Flags: F NS Statistics
Pkts: 0/0
(124.1.1.1,239.124.1.1) Flags: HW
SW Forwarding: 0/0/0/0, Other: 6/0/6
HW Forwarding: 182188/1001/1318/10307, Other: 0/0/0
Vlan124 Flags: A (S,G) IIF
Vlan148 Flags: F NS denoted by the A
Pkts: 0/0 (S,G) OIFs flag
denoted by the F
& NS flags
6500#
BRKARC-3322 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public
Hardware Forwarding
Multicast FIB Processing
PIM BiDir Processing
Multicast Expansion Table
Compare 3
Generate
Lookup 2010::1, FF05::1
Key 2000::1, FF02::1 1
Lookup Key 2 2001::1, FF02::1 2
2003::1, FF05::1 3
(S,G) FFFFFFFF FFFFFFFF
1 2010::1, FF05::1 2002::1, FF05::1 4
2003::1, FF06::1 5 Result
Multicast
Packet HIT! 46 RPF VLAN
2010::1, FF05::1 Adj Index
2010::1, FF06::1 7
2020::1, FF05::1 8
S,G compares all
bits in Source IP Masks FIB TCAM Patterns
and Group IP
Replication Engine(s)
MAC, MET Index
OIL #1
OIL #2 MAC, MET Index
6 5
OIL #3 MAC, MET Index
OIL #4
MAC, MET Index
MET
BRKARC-3322 2013 Cisco and/or its affiliates. All rights reserved. Adjacency
Cisco Public Table
Multicast
6500-sp#sho mls cef ip multicast source 192.168.6.2 group 226.1.1.1 detail
Multicast CEF Entries for VPN#0 Source &
(192.168.6.2, 226.1.1.1) Group
Primary Input Entry Flag
IOSVPN:0 (1) PI:1 (1) CR:0 (1) Recirc:0 (1) address
Vlan:1019 AdjPtr:376832 FibRpfNf:1 FibRpfDf:1 FibAddr:0x4060
RPF rwvlans:1019 rwindex:0x7FFA adjmac:000b.45a8.1280 rdt:1 E:0 CAP1:0 MET
VLAN fmt:Mcast l3rwvld:1 DM:0 mtu:1518 rwtype:L2&L3 met2:0x4 met3:0x1746 indexes
packets:0000750657305 bytes:000000549260903076
Starting Offset: 0x0004 Adjacency index
V E C:1014 I:0x07F09 associated with the
Packets & Bytes switched
Starting Offset: 0x1746 Multicast FIB entry
on the adjacency
V C:1022 I:0x00A2D P->2C4C
V C: 11 I:0x0219F MET blocks for SP
V E C: 12 I:0x019CF replication engine
Replication Engine(s)
MAC, MET Index
OIL #1
OIL #2 MAC, MET Index
7 6
OIL #3 MAC, MET Index
OIL #4
MAC, MET Index
MET
BRKARC-3322 2013 Cisco and/or its affiliates. All rights reserved. Adjacency Table
Cisco Public
Hardware Forwarding
Multicast FIB Processing
PIM BiDir Processing
Multicast Expansion Table
Index OIF VLAN Port List
BRKARC-3322 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public
6500-sp#sh mls cef ip multi source 192.168.6.2 group 226.1.1.1 detail
Multicast CEF Entries for VPN#0
(192.168.6.2, 226.1.1.1)
IOSVPN:0 (1) PI:1 (1) CR:0 (1) Recirc:0 (1)
Vlan:1019 AdjPtr:376832 FibRpfNf:1 FibRpfDf:1 FibAddr:0x4060
rwvlans:1019 rwindex:0x7FFA adjmac:000b.45a8.1280 rdt:1 E:0 CAP1:0
fmt:Mcast l3rwvld:1 DM:0 mtu:1518 rwtype:L2&L3 met2:0x4 met3:0x39E
packets:0000716098029 bytes:000000632810218228
OIF VLAN Starting Offset: 0x0004
V E C:1014 I:0x07F09
Starting Offset: 0x039E
MET Indexes
V C: 11 I:0x0219F P->2C48
V E C: 12 I:0x019CF Port Indexes
BRKARC-3322 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public
Replication Overview
Ingress Replication Mode
Egress Replication Mode
Egress-Local Optimization
It is the process of creating copies of multicast
packets, one for each Layer 3 OIF
For example: An (S,G) mroute, with 3 OIFs - replication hardware creates
three egress copies of every one ingress packet received from source (S) &
destined to group (G)
There are 3 basic types of hardware replication
BRKARC-3322 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public
The Replication mode refers to exactly
where within the system multicast
replication occurs
Replication occurs in one or more hardware
replication-engine ASICs
In a Classic (bus) system, replication
occurs centrally on the Supervisor
replication-engine ASIC
In a Fabric-enabled system, there are two
possible replication modes:
Ingress replication
Egress replication
BRKARC-3322 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public
Replication Overview
Ingress Replication Mode
Egress Replication mode
Egress-Local Optimization
Supported on Supervisor 720s Three Packets Cross
& Supervisor 2 + SFM. Switch Fabric
BRKARC-3322 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public
6500#sho mls ip multicast capability
Current mode of replication is Ingress
Configured replication mode is Ingress
Egress Local is Disabled
Slot Multicast replication capability Egress Local
1 Egress No Three Packets Cross
2 Egress Yes Switch Fabric
3 Egress No
4 Egress Yes
6500#sho mls ip multicast summary B
15422 MMLS entries using 9869888 bytes of memory RE
Number of partial hardware-switched flows: 0
Number of complete hardware-switched flows: 15422
Directly connected subnet entry install is enabled A
Hardware shortcuts for mvpn mroutes supported C
Current mode of replication is Ingress Switch
Consistency checker is enabled RE
Bidir gm-scan-interval: 10 RE
IPv6 Multicast Hardware Uplinks: Disabled Fabric
6500-sp#sho mls cef ip multi gro 239.1.1.101 det D
Multicast CEF Entries for VPN#0
(101.1.1.1, 239.1.1.101)
IOSVPN:0 (1) PI:1 (1) CR:0 (1) Recirc:0 (1) RE
Vlan:101 AdjPtr:31 FibRpfNf:1 FibRpfDf:1 FibAddr:0x4044
rwvlans:101 rwindex:0x9D9 adjmac:0013.5f1d.cb80 rdt:1 E:0 CAP1:0
fmt:Mcast l3rwvld:1 DM:0 mtu:1518 rwtype:L3 met2:0x0 met3:0x3C RE = Replication Engine
packets:0000000000000 bytes:000000000000000000
Starting Offset: 0x003C
V E C: 201 I:0x00A1F
Found 1 entries. 1 are mfd entries
6500-sp#
BRKARC-3322 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public
Replication Overview
Ingress Replication Mode
Egress Replication mode
Egress-Local Optimization
Supported on egress-capable One Packet Crosses
Fabric modules Switch Fabric
e.g. WS-X6900, WS-X6700 & WS-X6548A-GETX
BRKARC-3322 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public
6500#sho mls ip multicast capability
Current mode of replication is Egress
Configured replication mode is Auto
Egress Local is Enabled
Slot Multicast replication capability Egress Local
1 Egress No One Packet Crosses
2 Egress Yes Switch Fabric
3 Egress No
4 Egress Yes
6500-sp#show mls cef ip multicast group 225.10.10.10 detail B
Multicast CEF Entries for VPN#0
(172.16.25.1, 225.10.10.10) A RE
IOSVPN:0 (1) PI:1 (1) CR:0 (1) Recirc:0 (1) C
Vlan:20 AdjPtr:30 FibRpfNf:1 FibRpfDf:1 FibAddr:0x30080 Switch
rwvlans:20 rwindex:0x939 adjmac:001d.a29a.1f00 rdt:1 E:0 CAP1:0 RE RE
fmt:Mcast l3rwvld:1 DM:0 mtu:1518 rwtype:L2&L3 met2:0x8A met3:0x8B
packets:0000000000049 bytes:000000000000005782 Fabric D
Starting Offset: 0x008A RE
V E L0 C:1015 I:0x0080B
Starting Offset: 0x008B
V E C: 10 I:0x0091B
IOSVPN:0 (1) PI:0 (1) CR:1 (1) Recirc:0 (1)
Vlan:1015 AdjPtr:65536 FibRpfNf:0 FibRpfDf:1 FibAddr:0x30082 RE = Replication Engine
rwvlans:1015 rwindex:0x7FFA adjmac:001d.a29a.1f00 rdt:1 E:0 CAP1:0
fmt:Mcast l3rwvld:1 DM:0 mtu:1518 rwtype:L3 met2:0x0 met3:0x8B
packets:0000000000000 bytes:000000000000000000
Starting Offset: 0x008B
V E C: 10 I:0x0091B
Found 1 entries. 1 are mfd entries
6500-sp#
BRKARC-3322 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public
Replication Overview
Ingress Replication Mode
Egress Replication mode
Egress-Local Optimization
Entry OIF Dest Index
Egress Local for SVI & EtherChannel extends the original
optimizations to Logical interfaces (with multiple ports), by Valid 1 2/1 2/1
including only the physical port index that should receive... Index
2 2/2 2/2
* On by DEFAULT for Sup2T Module B
Source
1 2/3 2/3
RE = Replication Engine Post-SXI
MET Contents
BRKARC-3322 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public
Centralized Replication
Ingress Replication
Egress Replication
IGMP/MLD/PIM Snooping
Supervisor
L3/4 Engine Engine 32
Orange Green Red Purple
MET R R R R
L2 Engine Port ASIC Port ASIC
2 Replication
3
Classic A B
PFC3 Engine
Module B
DBUS
RBUS
Source S
Classic Port ASIC Port ASIC Receiver R
Module A Blue VLAN
A B4
1 Orange VLAN
Blue S Blue R Green VLAN
Red VLAN
Purple VLAN
Entire Packet
Packet Header
BRKARC-3322 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public
Supervisor
L3/4 Engine Engine 32
Orange Green Red Purple
MET R R R R
8 8 8 8
L2 Engine Port ASIC Port ASIC
6 Replication
7 Classic A B
PFC3 Engine
5
Module B
DBUS
RBUS
Source S
Classic Port ASIC Port ASIC Receiver R
Module A Blue VLAN
A B
Orange VLAN
Blue S Blue R Green VLAN
Red VLAN
Purple VLAN
Entire Packet
Packet Header
BRKARC-3322 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public
Orange Green Red Purple
R R R R
Supervisor
Engine 720 Port ASIC Port ASIC
L3/4 Engine
A B
LC-RBUS
LC-DBUS
L2 Engine 720 Gbps
3 Switch Fabric Replication
8 Gbps MET CEF256
PFC3 Fabric Interface Engine
Module B
DBUS
RBUS
2
Fabric CEF256 Source
8 Gbps S
Interface Module A Receiver
4 R
Blue VLAN
LC-DBUS Orange VLAN
LC-RBUS
Green VLAN
Replication Red VLAN
MET
Engine Port ASIC Port ASIC Purple VLAN
A B
1
Entire Packet
Blue S Blue R
Packet Header
BRKARC-3322 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public
Orange Green Red Purple
R R R R
Supervisor
Engine 720 Port ASIC Port ASIC
L3/4 Engine
A B
LC-RBUS
720 Gbps LC-DBUS
L2 Engine
7 Switch Fabric
9 Replication
8 Gbps MET CEF256
PFC3 Fabric Interface Engine
Module B
DBUS
RBUS
6 CEF256
Fabric Source S
8 8 Gbps Module A
Interface Receiver R
Blue VLAN
LC-DBUS Orange VLAN
LC-RBUS
Green VLAN
5
Replication
MET Red VLAN
Engine Port ASIC Port ASIC Purple VLAN
A B
Entire Packet
Blue S Blue R
Packet Header
BRKARC-3322 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public
Orange Green Red Purple
R R R R
20 Gbps
CEF720 Source S
2 Module A Receiver R
Fabric Interface & L2 Engine w/DFC3 Blue VLAN
MET 3
Replication Engine Orange VLAN
4
Green VLAN
L3/4 Engine Red VLAN
Port ASIC Port ASIC DFC3 Purple VLAN
1 Entire Packet
Blue S R Blue Packet Header
BRKARC-3322 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public
Orange Green Red Purple
R R R R
20 Gbps
7
CEF720 Source S
5 Module A Receiver R
Fabric Interface & L2 Engine w/DFC3 Blue VLAN
MET 6
Replication Engine Orange VLAN
Green VLAN
L3/4 Engine Red VLAN
Port ASIC Port ASIC DFC3 Purple VLAN
Entire Packet
Blue S R Blue Packet Header
BRKARC-3322 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public
Orange Green Red Purple
R R R R
20 Gbps
CEF720 Source S
Module A Receiver R
Fabric Interface & L2 Engine w/DFC3 Blue VLAN
MET
Replication Engine Orange VLAN
Green VLAN
L3/4 Engine Red VLAN
Port ASIC Port ASIC DFC3 Purple VLAN
Entire Packet
Blue S R Blue Packet Header
BRKARC-3322 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public
Centralized Replication
Ingress Replication
Egress Replication
IGMP/MLD/PIM Snooping
Purpose: Constrain unnecessary (default)
multicast flooding on Layer 2 switch-ports
IGMP/MLD Snooping code leverages both
Hardware & Software information:
Switch snoops L3 contents of IGMP / MLD packets
PFC/DFC ASICs recognize IGMP / MLD packets and redirects them
to SP CPU (protocol redirection logic)
Switch installs static Layer 2 forwarding entries for each multicast
group MAC address
Multicast data traffic forwarded to appropriate Interfaces according to
MAC address table entries (per VLAN)
BRKARC-3322 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public
6500#sho ip igmp group vlan 201
IGMP Connected Group Membership
Group Address Interface Uptime Expires Last Reporter Group Accounted
239.1.1.101 Vlan201 05:09:00 stopped 201.1.1.2
6500#sho ip igmp snoop stat int vlan 201
6500#
BRKARC-3322 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public
Purpose: Constrain unnecessary multicast
(default) flooding on Layer 2 switch-ports
Mainly used in PIM-connected Layer 2 Core
PIM Snooping code also leverages both
Hardware and Software information:
Switch snoops the L3 contents of PIM packets
PFC/DFC ASICs recognize PIM packets and redirects them to SP
CPU (protocol redirection logic)
Switch installs / removes Layer 2 forwarding entries for interfaces
which send PIM Joins / Prunes
Multicast data traffic only forwarded to appropriate Interfaces
according to PIM Snooping mroute table entries (per VLAN)
BRKARC-3322 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public
6500#sho ip pim snoop neigh vlan 146
IP Address Mac address Port Uptime/Expires Flags
VLAN 146: 3 neighbors
1.46.1.6 000b.45b7.0900 Gi2/3/16 00:21:14/00:01:42
1.46.1.4 0005.74e2.b340 Po202 01:50:22/00:01:41
1.46.1.1 0001.6444.5fc0 Router 01:50:23/00:01:31 DR DF
6500#sho ip pim snoop mroute vlan 146
Flags: J/P - (*,G) Join/Prune, j/p - (S,G) Join/Prune
SGR-P - (S,G,R) Prune
BRKARC-3322 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public
VSS Control-Plane
VSS Benefits
VSS FIB & MET Programming
VSS Packet Walks
BRKARC-3322 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public
VSS Control-Plane operates ONLY on the Active Supervisor
Multicast Control-Plane traffic ( IGMP / MLD, PIM hellos, PIM Joins / Prunes, etc... ) received by VSS
Standby are redirected to VSS Active via VSL
Control traffic is redirected to Active VSS SP/RP
Supervisor SP RP RP SP Supervisor
PIM Hellos
MEC MEC
BRKARC-3322 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public
VSS Control-Plane
VSS Benefits
VSS FIB & MET Programming
VSS Packet Walks
Stand-Alone Virtual Switch
DR Non-DR Switch1: Active Switch2: Standby
DR
STP/HSRP
PIM/IGMP VSL
L3 L3
2 3
L2/L3 L2/L3
Receivers Receivers
BRKARC-3322 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public
VSS Control-Plane
VSS Benefits
VSS FIB & MET Programming
VSS Packet Walks
VS ACTIVE VS STANDBY
The VSS Standby SP is
treated the same as a DFC MET CFC
module from a FIB & ADJ DFC FIB/ADJ
programming perspective. MET
FIB/ADJ DFC
MET
BRKARC-3322 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public
VS ACTIVE VS STANDBY
The VSS Standby SP is treated
MET
as a Supervisor from a MET CFC
DFC MET
The Local SP (on each Chassis)
CFC MET CFC MET
manages & programs its own
MET, and also the METs of all
local CFC modules Active Standby
SP MET SP MET
VSL
DFC modules manage and ACTIVE SCP MET STANDBY SCP MET
MCAST GROUP MCAST GROUP
program their own METs
BRKARC-3322 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public
VSS Control-Plane
VSS Benefits
VSS FIB & MET Programming
VSS Packet Walks
All forwarding lookups & replication occurs on the Ingress modules
Subsequent modules only perform L2 egress lookup.
Multiple replications cross the Ingress Cores Switch Fabric and / or VSL
Ingress Core Egress Core
M0 R R M0 R3
E E
1 M1 R R M1
S MET2 LC2 LC 1 LC 3
2
MET3
M0 R R M0
R1 E R4
6 7 8
E VSL E
LC1 (Ingress)
3 R5
M1 R R M1 9 10
LC3 4 LC 4
LC2
Switch 1 Switch 2
MEC
E E
M1 R R M1
1
S MET3 LC 3
2 LC2 (Egress) LC 1
MET2
M0 R R M0 R4
E
R1 6 7 8
E VSL E
LC1 (Ingress) R5
3 M1 R R M1 9
4 10
LC3 (Egress) LC2 LC 4
Switch 1 Switch 2
MEC
MET2 MET3
Access Switch
I-E-E-E (Ingress-VSL-VSL-Egress)
Multicast packets may cross up to 4 DFCs
5 Ingress DFC performs L2-L4 forwarding lookup
R2 Up to 3 DFCs (Cross VSL) perform L2 egress lookup
BRKARC-3322 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public
High-Level Flow
Verifying Multicast Routing
Verifying Group Membership
Scalability Notes
Protocols EIGRP/OSPF PIM/IGMP IGMP snooping
If PIM-SM and / or PIM-BiDir, then verify the RP configuration (AutoRP, BSR, Phantom, Anycast, Static)
Hardware MMLS/MFIB and IGMP Snooping enabled (enabled by default, but can be disabled)
Watch out for TTL, Multicast Boundary, Router Guard, IGMP Filters, RACLs, VACLs, QoS
Policers, etc.
Watch for proper SSM / BiDir address-range configuration (Requires prior address planning & coordination)
Verify that Unicast Routing is enabled & that the RPF information is correct
BRKARC-3322 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public
6500#show ip pim rp mapping
PIM Group-to-RP Mappings
Group(s): 224.0.0.0/4, Static
RP: 10.255.255.3 (6509.cisco.com)
6500#show ip pim rp
Group: 239.1.1.10, RP: 10.255.255.3, v2, uptime 00:01:10, expires never
Group: 239.1.1.11, RP: 10.255.255.3, v2, uptime 00:01:10, expires never
Group: 239.1.1.12, RP: 10.255.255.3, v2, uptime 00:01:10, expires never
Group: 239.1.1.13, RP: 10.255.255.3, v2, uptime 00:01:10, expires never
Group: 224.0.1.40, RP: 10.255.255.3, v2, uptime 00:01:10, expires never
6500#
BRKARC-3322 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public
show ip pim interface - identifies DR for each Interface
BRKARC-3322 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public
6500#show ip igmp interface vlan 100
Vlan100 is up, line protocol is up
Internet address is 10.100.1.2/24
IGMP is enabled on interface
Current IGMP host version is 2
Current IGMP router version is 2
IGMP query interval is 60 seconds
IGMP querier timeout is 120 seconds
IGMP L3 Interface
IGMP max query response time is 10 seconds State
Last member query count is 2
Last member query response interval is 1000 ms
Inbound IGMP access group is not set
IGMP activity: 3 joins, 2 leaves
...
IGMP Packet
Statistics
BRKARC-3322 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public
...
Multicast routing is enabled on Interface
Multicast TTL threshold is 0
DR & Querier
Multicast designated router (DR) is 10.100.1.3 Information
IGMP querying router is 10.100.1.2 (this system)
No multicast groups joined by this system
IGMP snooping is globally enabled
IGMP snooping is enabled on this interface
IGMP snooping fast-leave is disabled and querier is disabled
IGMP snooping explicit-tracking is enabled
IGMP snooping last member query response interval is 1000 ms
IGMP snooping report-suppression is disabled
6500#
BRKARC-3322 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public
6500#show mac-address-table multicast igmp
6500#
List of Receiver Ports (Also
Includes Any Multicast
Router Ports in VLAN)