Escolar Documentos
Profissional Documentos
Cultura Documentos
RST-2263
RST-2263
12683_05_2006_X3 © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 1
IP Multicast at Networkers 2006
RST-2263
12683_05_2006_X3 © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 2
Session Goal
RST-2263
12683_05_2006_X3 © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 3 3
Session Assumptions
• Working understanding of
IPv4 multicast
• General knowledge of
Troubleshooting concepts
• Basic understanding of
Network Management
facilities
RST-2263
12683_05_2006_X3 © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 4 4
Agenda
• IP Multicast MIBs
• IP Multicast Syslogs
• IP Multicast NetFlow
• Network Management
Systems for IP Mcast
• IP SLAs for IP Multicast
• Monitoring and Trouble
shooting Examples
RST-2263
12683_05_2006_X3 © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 5
What Is Network Management ?
• Monitoring
Do you know what your network is doing right now ?
Do you know where your packets are ?
• Configuration Management
Which routers are included in that routing domain ?
Are there any obvious misconfigurations ?
RST-2263
12683_05_2006_X3 © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 6
What Is Network Management for IPmc?
RST-2263
12683_05_2006_X3 © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 7
Multicast MIBs
RST-2263
12683_05_2006_X3 © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 8
Multicast MIBS
RST-2263
12683_05_2006_X3 © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 9
Multicast MIBS
IGMP-MIB.my
IGMP
IGMP-STD-MIB.my
CISCO-IGMP-SNOOPING-MIB.my
IGMP Snooping (CatOS only)
IPMROUTE-MIB.my
Mroute IPMROUTE-STD-MIB.my
CISCO-IPMROUTE-MIB.my
PIM-MIB.my
PIM
CISCO-PIM-MIB.my
MSDP MSDP-MIB.my
mVPN CISCO-MVPN-MIB.my
RST-2263
12683_05_2006_X3 © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 10
Multicast MIBS IOS Support
• IPMROUTE-STD-MIB
• CISCO-IETF-IPMROUTE-MIB
Based on RFC 2932 with IPv6 support
• CISCO-IETF-PIM-MIB
Based on RFC 2934 with IPv6 support
• CISCO-IETF-PIM-EXT-MIB
Extensions to the PIM MIB to support Bidir, DR Priority
RST-2263
12683_05_2006_X3 © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 12
IGMP-STD-MIB
RST-2263
12683_05_2006_X3 © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 13
PIM-MIB
RST-2263
12683_05_2006_X3 © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 15
CISCO-IPMROUTE-MIB
Contains information about mroutes such
as flags and traffic counters
- The IPMROUTE-STD-MIB contains counters that are
not available in the IPMROUTE-MIB
- IPMROUTE-STD-MIB has these objects additional
as compared to the IPMROUTE-MIB:
1. ipMRouteEntryCount
2. ipMRouteHCOctets
3. ipMRouteInterfaceHCInMcastOctets
4. ipMRouteInterfaceHCOutMcastOctets
5. ipMRouteScopeNameTable (has 7 objects)
- These are available in the CISCO-IPMROUTE-MIB as:
1. ciscoIpMRouteNumberOfEntries
2. ciscoIpMRouteOctets
3. ciscoIpMRouteIfInMcastOctets
4. ciscoIpMRouteIfOutMcastOctets
5. Only available in IPMROUTE-STD-MIB
RST-2263
12683_05_2006_X3 © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 16
Packet Counters
Per-MVRF Information
• MDT default group address
• MDT Data Groups and related Variables
• Dynamic mapping between customer multicast groups and Default/Data MDT
groups
• Mapping between mVRF and MDT tunnel interface
• MDT Join TLVs being sent by a device,
• MDT-SAFI NLRI (BGP advertisements of MDT groups)
RST-2263
12683_05_2006_X3 © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 18
Traffic Reporting on 6500/7600
RST-2263
12683_05_2006_X3 © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 19
Multicast Notifications (Traps)
Mroute ciscoIpMRouteMissingHeartBeats
pimNeighborLoss
ciscoPimRPMappingChange
PIM ciscoPimInvalidRegister
ciscoPimInvalidJoinPrune
ciscoPimInterfaceUp
ciscoPimInterfaceDown
MSDP msdpEstablished1
msdpBackwardTransition
mVPN ciscoMvpnMvrfChange
1Not supported in IOS
RST-2263
12683_05_2006_X3 © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 20
Multicast Traps - Enabling
RST-2263
12683_05_2006_X3 © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 23
Multicast Heartbeat
RST-2263
12683_05_2006_X3 © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 24
Multicast VPN (MVPN)
Concept and 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
RST-2263
12683_05_2006_X3 © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 26
NOTE: VRF Aware and MIBs
RST-2263
12683_05_2006_X3 © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 27
New IETF Work on MIBs
• IP Multicast MIB
Replaces IPMROUTE-STD-MIB
Current Draft: draft-ietf-mboned-ip-mcast-mib-01.txt
Working its way through the standards process
• New Support
SSM Range Definitions
PIM-Bidir mroute types
IPv6 (Address Family Independent)
Local host information – the mib will report on
which groups are joined by router/host
RST-2263
12683_05_2006_X3 © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 29
New IETF Work on MIBs (Cont.)
RST-2263
12683_05_2006_X3 © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 30
More Info
Or
• http://www.cisco.com/go/ipmulticast
White Papers
IP Multicast Network Management
RST-2263
12683_05_2006_X3 © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 31
Multicast Syslog
Messages
RST-2263
12683_05_2006_X3 © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 32
Multicast Syslogs
Global command:
ip pim log-neighbor-changes
Alerts when the status of a PIM neighbor
changes – similar to existing log messages
for OSPF and BGP
Integrated into recent releases of 12.3, 12.3T,
12.0S, 12.2S. See CSCee02125
RST-2263
12683_05_2006_X3 © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 35
NOTE: VRF Aware and Syslogs
All the Syslog messages ARE VRF aware. They
report the name of the VRF in the error message.
Available in 12.2SX, 12.3T but not 12.0S images.
Examples of syslogs with VRF information:
%PIM-1-INVALID_RP_REG: VRF red: Received Register from
200.1.1.201 for 226.6.6.6, not willing to be RP
%PIM-5-NBRCHG: neighbor 126.1.5.14 UP on interface
GigabitEthernet3/38 (vrf default)
RST-2263
12683_05_2006_X3 © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 38
NetFlow Origination
RST-2263
12683_05_2006_X3 © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 39
Principle NetFlow Benefits
RST-2263
12683_05_2006_X3 © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 40
What is a Traditional IP Flow ?
NetFlow enabled device
Traffic
1
Inspect Packet NetFlow Cache
Source IP Address
Flow Information Packets Bytes/packet
Destination IP Address
Source Port Address, ports... 11000 1528
NetFlow 2
Destination Port
Key Fields ...
Layer 3 Protocol
TOS byte (DSCP)
Create a flow from the packet attributes 3
Input Interface NetFlow
Export
Packets
1. Inspect a packet’s 7 key fields and identify the values Reporting
2. If the set of key field values is unique create a flow
record or cache entry
3. When the flow terminates export the flow to the
collector
RST-2263
12683_05_2006_X3 © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 41
NetFlow Principles
• Unidirectional flow
• Accounts for both transit traffic and traffic destined for the
router
• Works with Cisco Express Forwarding or fast switching
Not a switching path
• Supported on all interfaces and Cisco IOS ® Software platforms
• Returns the subinterface information in the flow records
• Cisco Catalyst® 6500 Series and Cisco 7600 Series enables
NetFlow on all interfaces by default
RST-2263
12683_05_2006_X3 © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 42
Traditional Layer 3 NetFlow Cache
Key Fields in Yellow
1. Create and update flows in NetFlow cache Non-Key Fields white
Src Src Src Dst Dst Dst Bytes/
Srclf SrclPadd Dstlf DstlPadd Protocol TOS Flgs Pkts NextHop Active Idle
Port Msk AS Port Msk AS Pkt
00A
Fa1/0 173.100.21.2 Fa0/0 10.0.227.12 11 80 10 11000 00A2 /24 5 /24 15 10.0.23.2 1528 1745 4
2
Fa1/0 173.100.3.2 Fa0/0 10.0.227.12 6 40 0 2491 15 /26 196 15 /24 15 10.0.23.2 740 41.5 1
00A
Fa1/0 173.100.20.2 Fa0/0 10.0.227.12 11 80 10 10000 00A1 /24 180 /24 15 10.0.23.2 1428 1145.5 3
1
Fa1/0 173.100.6.2 Fa0/0 10.0.227.12 6 40 0 2210 19 /30 180 19 /24 15 10.0.23.2 1040 24.5 14
4. Export version
Non-Aggregated Flows—Export Version 5 or 9
Header
Export Payload
5. Transport protocol Packet (Flows)
30 Flows per 1500 byte export packet
RST-2263
12683_05_2006_X3 © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 43
Flow Timers and Expiration
1st & 3rd Flows – Src 10.1.1.1, Dst 20.2.2.2, Prot 6, Src & Dst port 15, InIF FE0/0, ToS 128
2nd Flow – Src 10.1.1.1, Dst 20.2.2.2, Prot 6, Src & Dst port 15, InIF FE0/0, ToS 192
= packet from 1st or 3rd flow
UDP Export Packet
Router Boots
= packet from 2nd flow containing 30-50 flows
(sysUpTime (sysUpTime & UTC)
timer begins)
2nd Flow Start 2nd Flow End 2nd Flow Expires
(sysUpTime) (sysUpTime) (sysUpTime)
15 seconds
Inactive
15 seconds
Inactive
Time
1st Flow Start 1st Flow End 1st Flow Expires 3rd Flow Start
(sysUpTime) (sysUpTime) (sysUpTime) (sysUpTime)
1 Original
5 Most Common
RST-2263
12683_05_2006_X3 © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 46
NetFlow v9 Principles
RST-2263
12683_05_2006_X3 © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 47
Multicast NetFlow
RST-2263
12683_05_2006_X3 © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 48
Switching Path Implications for
NetFlow Multicast
Multicast Add Input
Multicast Switching Vector
Route Lookup Flow Fields
Packets
FAST + FLOW (Fast)
Packet
Input MFIB Source AS
Buffer
dCEF (mdfs)
Eth 2
RST-2263
12683_05_2006_X3 © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 50
Multicast NetFlow Ingress (v9)
Eth 2
ip flow-export version 9
Eth 2
ip flow-export destination 10.255.1.1 9995
• There is one flow per Multicast NetFlow Egress configured output interface
• One of the Key fields that define a unique flow has changed from source interface to destination interface
• Bytes and Packets are the outgoing values
RST-2263
12683_05_2006_X3 © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 52
Multicast NetFlow: config anomalies
RST-2263
12683_05_2006_X3 © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 53
Multicast NetFlow: Minimum Config - Ingress
ip flow-export version 9
ip flow-export destination 10.255.1.1 9995
RST-2263
12683_05_2006_X3 © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 54
Multicast NetFlow: Minimum Config - Egress
ip flow-export version 9
ip flow-export destination 10.255.1.1 9995
RST-2263
12683_05_2006_X3 © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 55
Multicast NetFlow: Minimum Config - Ingress
6500/7600 - Ingress
mls flow ip interface-full
mls nde sender
!
interface Vlan10
ip flow ingress
ip multicast netflow ingress
!
ip flow-export version 9
ip flow-export destination 10.255.1.1 9995
6500/7600 - Egress
mls flow ip interface-full
mls nde sender
!
interface Vlan10
ip flow ingress # can be configured on any interface
ip multicast netflow egress
!
ip flow-export version 9
ip flow-export destination 10.255.1.1 9995
RST-2263
12683_05_2006_X3 © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 57
Multicast NetFlow: Export Format Summary
Software Based Router (e.g. 7200) – Ingress Accounting
SrcIf SrcIPadd DstIf DstIPadd Bytes Packets Obytes Opackets
Eth0 10.0.0.2 Null 224.1.1.10 23100 21 69300 63
RST-2263
12683_05_2006_X3 © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 58
Multicast NetFlow: RPF
(Reverse Path Forwarding) Failures
RST-2263
12683_05_2006_X3 © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 59
NetFlow MIB
RST-2263
12683_05_2006_X3 © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 60
Multicast NetFlow: Summary
RST-2263
12683_05_2006_X3 © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 61
Multicast NetFlow: 12000 Series
• Ingress, Non-Sampled
Engines 3 and 5 (aggregated NetFlow only)
(reporting pre-replication counters only and output i/f Null)
• Ingress, Sampled mode
Engines 2, 3, 4+, 5, 6
(reporting pre-replication counters only and output i/f Null)
• Egress, Non-Sampled
multicast packets are not reported by any engine
• Egress, Sampled mode
Engines 3, 5
(reporting flows for each replica, i.e. post replication flows)
• Netflow on Engine 0 and 1 are not recommended
RST-2263
12683_05_2006_X3 © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 62
Multicast NetFlow 6500/7600 Support
* Requires PFC3B/3B-XL
** Planned for Q1CY07
RST-2263
12683_05_2006_X3 © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 63
Multicast NetFlow Capacity – 6500/7600
Effective
Size Efficiency
Utilization
Sup2/PFC2 Multicast NetFlow Not Supported
RST-2263
12683_05_2006_X3 © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 64
More Info
http://www.cisco.com/go/netflow
RST-2263
12683_05_2006_X3 © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 65
Network Mgmt for PIM-SM
RST-2263
12683_05_2006_X3 © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 66
Network Mgmt for PIM-SSM
• No RP
No central place to check for all S,Gs
RST-2263
12683_05_2006_X3 © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 67
Network Mgmt for Bidir
RST-2263
12683_05_2006_X3 © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 68
Network Mgmt for mVPN
RST-2263
12683_05_2006_X3 © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 70
Some Multicast NMS Products
RST-2263
12683_05_2006_X3 © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 71
Cisco NetFlow Applications and Partners
Traffic Analysis
Open Source
•Flow-Tools
•FlowMon
NetFlow Collector
•Flowd
CS-Mars
RST-2263
12683_05_2006_X3 © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 73
Cisco Multicast Manager 2.3(3)
RST-2263
12683_05_2006_X3 © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 74
Custom Built 6500 Multicast Troubleshooting
Automatically:
Issues and stores relevant
commands
Draws Graphical Tree
Plots packet throughputs
RST-2263
12683_05_2006_X3 © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 75
RST-2263
12683_05_2006_X3 © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 76
Benefits of Deploying CMM
RST-2263
12683_05_2006_X3 © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 77
Cisco IP SLAs for
Multicast
RST-2263
12683_05_2006_X3 © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 78
What Is Cisco IP SLAs?
RST-2263
12683_05_2006_X3 © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 79
SA Agent (IPSLA) and Service Delivery
Service Provider
Enterprise Shared Network
Enterprise
Network Network
RST-2263
12683_05_2006_X3 © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 80
The Idea Behind IP SLA
• If you have a running Cisco IOS® router, turn it into
an active probing device
The smart approach
New Partners
2006
RST-2263
12683_05_2006_X3 © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 81
IP SLAs History
Time
Engine: Engine 1 Engine 2
Feature Name: RTR SAA IPSLA
CLI: RTR… IP SLA…
RST-2263
12683_05_2006_X3 © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 82
Comprehensive Hardware Support
Cisco 12000
Cisco Catalyst
Series
Cisco 7300 Cisco 10000 6500; Cisco
Cisco 7200 Series 7600 Series
Series
Series
Access
Cisco IOS Software Releases 12.3T and 12.4
Applications
Multiprotocol
Service Level
Network Label
VoIP Agreement Network Trouble
Availability Performance Switching
Monitoring (SLA) Assessment Shooting
Monitoring (MPLS)
Monitoring
Monitoring
Measurement Metrics
Packet Network Dist. of
Latency Connectivity
Loss Jitter Stats
Measurements
Jitter FTP DNS DHCP DLSW ICMP UDP TCP HTTP LDP H.323 SIP RTP Multicast Video
Source IP SLAs
MIB Data Active Generated Traffic to Destination
Cisco IOS measure the network IP SLAs
Software Cisco IOS
IP SLAs Software
Responder
RST-2263
12683_05_2006_X3 © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 84
IP SLAs Summary
RST-2263
12683_05_2006_X3 © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 85
IP SLAs for Multicast
Source Destination
IP SLAs Packet Receiver 1
Replication based on
Multicast Tree
Receiver 2
Multicast Distribution Tree
RST-2263
12683_05_2006_X3 © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 86
IP SLAs for Multicast: Summary
RST-2263
12683_05_2006_X3 © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 87
More Info
http://www.cisco.com/go/ipsla
RST-2263
12683_05_2006_X3 © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 88
Multicast VPN Provisioning
RST-2263
12683_05_2006_X3 © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 89
Monitoring and
Troubleshooting
Examples
RST-2263
12683_05_2006_X3 © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 90
Using CMM to Detect Multicast Faults
RST-2263
12683_05_2006_X3 © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 92
Monitoring — RPs
RST-2263
12683_05_2006_X3 © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 93
Monitoring — S,Gs
RST-2263
12683_05_2006_X3 © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 94
Polling Configuration
Configure
polling
intervals by
time and day
RST-2263
12683_05_2006_X3 © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 95
Monitoring — Multicast Trees
RST-2263
12683_05_2006_X3 © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 96
Using CMM to Detect Multicast Faults
CMM can
discover
the active
sources
and
groups
RST-2263
12683_05_2006_X3 © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 97
Using CMM to Detect Multicast Faults
The graphic
can be used to
quickly identify
• RPs
• Routers
• Interfaces
• Forwarding
state
RST-2263
12683_05_2006_X3 © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 99
CMM: Health Checks
RST-2263
12683_05_2006_X3 © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 100
CMM: Health Checks
RST-2263
12683_05_2006_X3 © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 101
Health Check: Configuration
RST-2263
12683_05_2006_X3 © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 102
Health Check: Configuration
RST-2263
12683_05_2006_X3 © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 103
Troubleshooting with CMM
RST-2263
12683_05_2006_X3 © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 104
Bidir Troubleshooting with NetFlow
RST-2263
12683_05_2006_X3 © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 105
Bidir Troubleshooting with NetFlow
One source is
sending
significantly more
traffic than others
RST-2263
12683_05_2006_X3 © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 107
Recommended Reading
RST-2263
12683_05_2006_X3 © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 109
RST-2263
12683_05_2006_X3 © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 110