© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public BSCI Module 7 Lesson 4 1 IP Multicasting: Multicast Configuration and Verification.

Slides:



Advertisements
Similar presentations
© 2006 Cisco Systems, Inc. All rights reserved. MPLS v Frame-Mode MPLS Implementation on Cisco IOS Platforms Troubleshooting Frame-Mode MPLS on Cisco.
Advertisements

11: IPv6 Routing Table and Static Routes
1April 16, 2002 Layer 3 Multicast Addressing IP group addresses – “Class D” addresses = high order bits of “1110” Special reserved.
Introduction to IP Multicast 1 Cisco Systems Confidential 0810_04F7_c2.
CCNA2 Module 4. Discovering and Connecting to Neighbors Enable and disable CDP Use the show cdp neighbors command Determine which neighboring devices.
1 Semester 2 Module 4 Learning about Other Devices Yuda college of business James Chen
IP Multicast Lecture 2: PIM-SM Carl Harris Communications Network Services Virginia Tech.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 10: DHCP Routing & Switching.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicBSCI Configuring EIGRP BSCI Module 2-4 – Configuring EIGRP Authentication.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Static Routing Routing Protocols and Concepts – Chapter 2.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 RIP version 1 Routing Protocols and Concepts – Chapter 5.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 10: DHCP Routing and Switching Essentials.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public BSCI Module 7 Lesson 3 1 IP Multicasting: Multicast Routing Protocols.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public BSCI Module 7 Lesson 2 1 IP Multicasting: IGMP and Layer 2 Issues.
COS 420 Day 18. Agenda Group Project Discussion Program Requirements Rejected Resubmit by Friday Noon Protocol Definition Due April 12 Assignment 3 Due.
COS 420 Day 14. Agenda Assignment 3 Posted Covers chapters Due March 23 Assignment 4 Posted Chap Due April 6 Individual Project Papers due.
IP Multicasting: Explaining Multicast
TDC375 Winter 2002John Kristoff - DePaul University1 Network Protocols IP Multicast.
Slide Set 15: IP Multicast. In this set What is multicasting ? Issues related to IP Multicast Section 4.4.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialBSCI Configuring EIGRP BSCI Module 2-2 – Implementing and Verifying EIGRP.
TDC375 Autumn 03/04 John Kristoff - DePaul University 1 Network Protocols Multicast.
MULTICASTING Network Security.
© J. Liebeherr, All rights reserved 1 IP Multicasting.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Static Routing Routing Protocols and Concepts – Chapter 2.
Speaker 2006/XX/XX Speaker 2007/XX/XX IGMP Snooping CK NG Technical Marketing.
Module 7: IP Multicasting
© 2007 Cisco Systems, Inc. All rights reserved.ICND2 v1.0—7-1 Address Space Management Scaling the Network with NAT and PAT.
1 RST-360.ppt ©2002, Cisco Systems, Inc. All rights reserved. Troubleshooting IP Multicast RST-360.
© 2006 Cisco Systems, Inc. All rights reserved. Network Security 2 Module 8 – PIX Security Appliance Contexts, Failover, and Management.
Multicasting  A message can be unicast, multicast, or broadcast.
© Janice Regan, CMPT 128, CMPT 371 Data Communications and Networking Multicast routing.
Multicast Routing Protocols NETE0514 Presented by Dr.Apichan Kanjanavapastit.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 10: DHCP Routing & Switching.
© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 1 1 © 2013 Cisco and/or its affiliates. All rights reserved. Jeff Keown Cisco.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public BSCI Module 7 Lesson 1 1 IP Multicasting: Explaining Multicast.
© 2005 Cisco Systems, Inc. All rights reserved. Course acronym vx.x—#-1 Implementing Multicast Explaining Multicast.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 Introduction to Routing and Packet Forwarding Routing Protocols and.
© 2002, Cisco Systems, Inc. All rights reserved..
Chapter 22 Network Layer: Delivery, Forwarding, and Routing Part 5 Multicasting protocol.
Introduction to IP Multicast
Multicast Routing Protocols. The Need for Multicast Routing n Routing based on member information –Whenever a multicast router receives a multicast packet.
© J. Liebeherr, All rights reserved 1 Multicast Routing.
Cisco Discovery Protocol. CDP and Router Boot Up When a Cisco device boots up, CDP starts up automatically and allows the device to detect neighbor devices.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 6: Static Routing Routing and Switching Essentials.
CS 4396 Computer Networks Lab IP Multicast - Fundamentals.
Introduction to Multicast Routing Protocols
© J. Liebeherr, All rights reserved 1 IP Multicasting.
© 2010 Cisco and/or its affiliates. All rights reserved. 1 Ruchir Jain Customer Support Engineer CCIE R&S (26911) With,
1 © 2000, Cisco Systems, Inc _05_2000_c2 Server Router Unicast Server Router Multicast Unicast vs. Multicast.
Routing and Routing Protocols
Fundamentals of IP Multicast
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 Static Routing Routing Protocols and Concepts – Chapter 2.
1 IP Multicasting Relates to Lab 10. It covers IP multicasting, including multicast addressing, IGMP, and multicast routing.
1 Version 3.1 Module 6 Routed & Routing Protocols.
Cisco Confidential © 2010 Cisco and/or its affiliates. All rights reserved. 1 Multicasting within UCS Qiese Dides.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 6: Static Routing Routing and Switching Essentials.
© 2004, Cisco Systems, Inc. All rights reserved. CSPFA 3.2—13-1 Lesson 13 Switching and Routing.
Controlling Campus Device Access Configuring IP Multicast
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 3: VLANs Routing & Switching.
IP Multicast Lecture 4: PIM-SM Carl Harris Communications Network Services Virginia Tech.
Engineering Workshops 96 ASM. Engineering Workshops 97 ASM Allows SPTs and RPTs RP: –Matches senders with receivers –Provides network source discovery.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 8: Single-Area OSPF Routing & Switching.
Instructor Materials Chapter 8: DHCP
Network Environment Management
Troubleshooting High CPU due to Multicast
© 2002, Cisco Systems, Inc. All rights reserved.
RST-120 © 2001, Cisco Systems, Inc. All rights reserved. 1.
Network Environment Management
Chapter 2: Static Routing
Implementing Multicast
Presentation transcript:

© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public BSCI Module 7 Lesson 4 1 IP Multicasting: Multicast Configuration and Verification

© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public BSCI Module 7 Lesson 4 2 Objectives  Enable PIM Sparse Mode and Sparse-Dense Mode on a router interface.  Verify the multicast routing table.  Determine if PIM neighbors are correctly configured.  Verify RP information and the IGMP group state.  Configure a router as a statically connected member.  Verify IGMP snooping.

© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public BSCI Module 7 Lesson 4 3 Multicast Configuration

© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public BSCI Module 7 Lesson 4 4 Enabling IP Multicast Routing ip multicast-routing router(config)#  Enables multicast routing.  Enabling IP multicast routing allows the Cisco IOS software to forward multicast packets.

© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public BSCI Module 7 Lesson 4 5 Enabling PIM on an Interface ip pim { sparse-mode | sparse-dense-mode } router(config-if)#  Enables PIM SM on an interface; the sparse-dense-mode option enables mixed sparse-dense groups.  Enabling PIM on an interface also enables IGMP operation on that interface.  Recommended method is to use sparse-dense-mode option.

© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public BSCI Module 7 Lesson 4 6 Announcing the RP and the Group Range It Serves ip pim send-rp-announce {interface type} scope {ttl} group-list {acl} router(config)#  Configures a router to be the RP for the local group as defined in the access list.  The following example advertises the IP address of Ethernet 0 as the RP for the administratively scoped groups: ip pim send-rp-announce ethernet0 scope 16 group-list 1 access-list 1 permit router(config)#

© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public BSCI Module 7 Lesson 4 7 Assigning the RP Mapping Agent ip pim send-rp-discovery {interface type} scope {ttl} router(config)#  The RP mapping agent is the router that tells other routers which group-to-RP range to use.  Such a role is necessary in the event of conflicts (such as overlapping group-to-RP ranges).  Find a router whose connectivity is not likely to be interrupted and assign it the role of RP-mapping agent.  All routers within ttl number of hops from the source router receive the Auto-RP Discovery messages.

© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public BSCI Module 7 Lesson 4 8 Self Check 1.What is the purpose if the ip multicast-routing command? 2.How is IGMP enabled on an interface? 3.What is the recommended method for configuring an interface for PIM-SM operation? 4.What is the potential issue when configuring an interface for sparse mode or dense mode, rather than sparse-dense? 5.What is the RP mapping agent?

© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public BSCI Module 7 Lesson 4 9 Verifying Multicast Configuration

© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public BSCI Module 7 Lesson 4 10 Inspecting Multicast Routing Table  Displays the contents of the IP multicast routing table summary: Displays a one-line, abbreviated summary of each entry in the IP multicast routing table. count: Displays statistics about the group and source, including number of packets, packets per second, average packet size, and bits per second. active: Displays the rate at which active sources are sending to multicast groups. Active sources are those sending at a rate specified in the kbps argument or higher. The kbps argument defaults to 4 kbps. show ip mroute [group-address] [summary] [count] [active kbps] router#

© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public BSCI Module 7 Lesson 4 11 show ip mroute NA-1#sh ip mroute 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, X - Proxy Join Timer Running, A - Advertised via MSDP, U - URD, I - Received Source Specific Host Report Outgoing interface flags: H - Hardware switched Timers: Uptime/Expires Interface state: Interface, Next-Hop or VCD, State/Mode (*, ), 00:07:54/00:02:59, RP , flags: S Incoming interface: Null, RPF nbr Outgoing interface list: Serial1/3, Forward/Sparse, 00:07:54/00:02:32 ( , ), 00:01:29/00:02:08, flags: TA Incoming interface: Serial1/4, RPF nbr Outgoing interface list: Serial1/3, Forward/Sparse, 00:00:57/00:02:02

© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public BSCI Module 7 Lesson 4 12 Finding PIM Neighbors show ip pim interface [type number] [count] router#  Displays information about interfaces configured for PIM show ip pim neighbor [type number] router#  Lists the PIM neighbors discovered by the router mrinfo [hostname | address] router#  Queries which neighboring multicast routers are peering with the local router or router specified

© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public BSCI Module 7 Lesson 4 13 show ip pim interface NA-2#show ip pim interface Address Interface Ver/ Nbr Query DR DR Mode Count Intvl Prior Serial0/0 v2/S Serial1/2 v2/S Serial1/3 v2/S

© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public BSCI Module 7 Lesson 4 14 show ip pim neighbor NA-2#show ip pim neighbor PIM Neighbor Table Neighbor Interface Uptime/Expires Ver DR Address Priority Serial0/0 00:01:46/00:01:28 v2 None Serial1/2 00:01:05/00:01:40 v2 1 (BD) Serial1/3 00:01:56/00:01:18 v2 1 (BD)

© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public BSCI Module 7 Lesson 4 15 Checking RP Information Displays active RPs that are cached with associated multicast routing entries. Mapping—displays all group-to-RP mappings that the router is aware of show ip pim rp [group-name | group-address | mapping] router(config)# Displays how IP multicast routing does Reverse Path Forwarding (RPF). Source Address—source address of the host for which RPF information is displayed Name—name of the host for which RPF information is displayed show ip rpf {source address | name } router(config)#

© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public BSCI Module 7 Lesson 4 16 show ip pim rp P4-2#show ip pim rp Group: , RP: , uptime 00:00:20, expires never P4-2#show ip pim rp mapping PIM Group-to-RP Mappings Group(s) /32 RP (NA-1), v1 Info source: local, via Auto-RP Uptime: 00:00:21, expires: never Group(s) /32 RP (NA-1), v1 Info source: local, via Auto-RP Uptime: 00:00:21, expires: never Group(s): /4, Static RP: (NA-1)

© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public BSCI Module 7 Lesson 4 17 show ip rpf (towards the RP) NA-2#show ip rpf RPF information for NA-1 ( ) RPF interface: Serial1/3 RPF neighbor: ? ( ) RPF route/mask: /32 RPF type: unicast (ospf 1) RPF recursion count: 0 Doing distance-preferred lookups across tables (towards the source) NA-2#show ip rpf RPF information for ? ( ) RPF interface: Serial0/0 RPF neighbor: ? ( ) RPF route/mask: /25 RPF type: unicast (ospf 1) RPF recursion count: 0 Doing distance-preferred lookups across tables

© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public BSCI Module 7 Lesson 4 18 Checking the Group State show ip igmp interface [type number] router#  Displays multicast-related information about an interface show ip igmp groups [group-address | type number] router#  Displays the multicast groups that are directly connected to the router and that were learned via IGMP

© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public BSCI Module 7 Lesson 4 19 Configure a Router as a Group Member ip igmp join-group group address Router (config-if)#  Configure a router to join a specific multicast group and enable IGMP on an interface. ip igmp static-group group-address Router (config-if)#  Configures the router as a statically connected member of a group

© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public BSCI Module 7 Lesson 4 20 show ip igmp interface rtr-a>show ip igmp interface e0 Ethernet0 is up, line protocol is up Internet address is , subnet mask is IGMP is enabled on interface Current IGMP version is 2 CGMP is disabled on interface IGMP query interval is 60 seconds IGMP querier timeout is 120 seconds IGMP max query response time is 10 seconds Inbound IGMP access group is not set Multicast routing is enabled on interface Multicast TTL threshold is 0 Multicast designated router (DR) is (this system) IGMP querying router is (this system) Multicast groups joined:

© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public BSCI Module 7 Lesson 4 21 show ip igmp groups rtr-a>sh ip igmp groups IGMP Connected Group Membership Group Address Interface Uptime Expires Last Reporter Ethernet0 6d17h 00:01: Ethernet0 6d17h never

© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public BSCI Module 7 Lesson 4 22 Verifying IGMP Snooping on a Switch Displays information about multicast groups. If igmp keyword is used, only IGMP-learned information is shown. show multicast group [igmp] [mac_addr] [vlan_id] switch> Displays information on dynamically learned and manually configured multicast router ports. If igmp keyword is used, only IGMP-learned information is shown. show multicast router [igmp] [mod_num/port_num] [vlan_id] switch>

© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public BSCI Module 7 Lesson 4 23 Verifying IGMP Snooping—Example

© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public BSCI Module 7 Lesson 4 24 Switch> show igmp statistics 10 IGMP enabled IGMP statistics for vlan 10: Transmit: General Queries: 0 Group Specific Queries: 0 Reports: 0 Leaves: 0 Receive: General Queries: 1 Group Specific Queries: 0 Reports: 2 Leaves: 0 Total Valid pkts: 4 Total Invalid pkts: 0 Other pkts: 1 MAC-Based General Queries: 0 Failures to add GDA to EARL: 0 Topology Notifications: 0 Verifying IGMP Snooping—Example (Cont.)

© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public BSCI Module 7 Lesson 4 25 Switch> show multicast router igmp Port Vlan /1 10 Total Number of Entries = 1 '*' - Configured '+' - RGMP-capable Switch> show multicast group igmp VLAN Dest MAC/Route Des [CoS] Destination Ports or VCs / [Protocol Type] e / e /1-2 Total Number of Entries = 2 Verifying IGMP Snooping—Example (Cont.)

© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public BSCI Module 7 Lesson 4 26 Activity Lab 7-1 Implementing IGMP and IGMP Snooping  Learning Objectives Configure IGMP to join interfaces to a multicast group Verify the operation of IGMP at Layer 3 Analyze IGMP packets and packets sent to multicast groups Enable PIM-DM Verify the operation of IGMP snooping on a Catalyst switch

© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public BSCI Module 7 Lesson 4 27 Activity Lab 7-2 Routing IP Multicast with PIM Dense Mode  Learning Objectives Implement IGMP Review configuration of EIGRP Implement and verify PIM-DM operation and adjacencies Verify IGMP operation of PIM-DM flooding and pruning Explore the multicast routing table

© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public BSCI Module 7 Lesson 4 28 Activity Lab 7-3 Routing IP Multicast with PIM Sparse Mode  Learning Objectives Implement and verify PIM-SM operation and adjacencies Implement and verify the use of a static rendezvous point Observe the shared tree and source tree Debug the PIM-SM operation to discover SPT shared tree to shortest-path tree transition

© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public BSCI Module 7 Lesson 4 29 Activity Lab 7-4 Routing IP Multicast with PIM Sparse-Dense Mode  Learning Objectives Configure multiple multicast sources and groups via IGMP Configure and verify PIM sparse-dense mode operation and adjacencies Configure and verify automatic rendezvous points and mapping agents Force PIM sparse-dense mode to fail over to dense mode operation

© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public BSCI Module 7 Lesson 4 30 Self Check 1.What command can be used to view the multicast routing table? 2.What commands can be used with PIM-SM to check PIM-enabled interfaces? 3.Why should the show ip pim rp mapping command be used instead of the show ip pim rp command? 4.Why might you configure a router to be a multicast group member?

© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public BSCI Module 7 Lesson 4 31 Summary  Configuring a simple multicast network requires a global multicast command, a multicast command for each interface, and the specification of an RP discovery method.  Effective methods for verifying a multicast network include checking the multicast routing table and checking PIM neighbors.  Configuring IGMP snooping on an Ethernet switch avoids the problem of multicast frame flooding.

© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public BSCI Module 7 Lesson 4 32 Q and A

© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public BSCI Module 7 Lesson 4 33 Resources  Cisco IOS IP Multicast Configuration Guide guration_guide_book09186a b9f.html  IP Multicast Deployment Fundamentals 00e9952.html  Multicast Quick-Start Configuration Guide te09186a shtml  Basic Multicast Troubleshooting Tools te09186a f21.shtml

© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public BSCI Module 7 Lesson 4 34