© 2006 Cisco Systems, Inc. All rights reserved. BSCI v3.07-1 Implementing Multicast Multicast Configuration and Verification.

Презентация:



Advertisements
Похожие презентации
© 2006 Cisco Systems, Inc. All rights reserved. BSCI v Implementing Multicast IGMP and Layer 2 Issues.
Advertisements

© 2003, Cisco Systems, Inc. All rights reserved. CSPFA Chapter 9 Routing.
© 2006 Cisco Systems, Inc. All rights reserved. BSCI v Implementing Multicast Explaining Multicast Routing Protocols.
© 2006 Cisco Systems, Inc. All rights reserved. BSCI v Configuring OSPF Configuring OSPF Routing.
© 2006 Cisco Systems, Inc. All rights reserved. BSCI v Configuring EIGRP Implementing and Verifying EIGRP.
© 2006 Cisco Systems, Inc. All rights reserved. BSCI v Manipulating Routing Updates Implementing Advanced Cisco IOS Features: Configuring DHCP.
© 2006 Cisco Systems, Inc. All rights reserved. BSCI v Configuring OSPF Configuring OSPF Special Area Types.
© 2006 Cisco Systems, Inc. All rights reserved.ISCW v Implementation of Frame Mode MPLS Implementing Frame Mode MPLS.
© 2006 Cisco Systems, Inc. All rights reserved. BCMSN v Minimizing Service Loss and Data Theft in a Campus Network Protecting Against Spoof Attacks.
© 2006 Cisco Systems, Inc. All rights reserved.BCMSN v Defining VLANs Propagating VLAN Configurations with VTP.
© 2006 Cisco Systems, Inc. All rights reserved. BCMSN v Implementing Inter-VLAN Routing Enabling Routing Between VLANs on a Multilayer Switch.
© 2006 Cisco Systems, Inc. All rights reserved. MPLS v MPLS VPN Implementation Configuring Small-Scale Routing Protocols Between PE and CE Routers.
© 2006 Cisco Systems, Inc. All rights reserved. MPLS v Frame-Mode MPLS Implementation on Cisco IOS Platforms Troubleshooting Frame-Mode MPLS on Cisco.
© 2007 Cisco Systems, Inc. All rights reserved.SNRS v Layer 2 Security Examining Layer 2 Attacks.
© 2006 Cisco Systems, Inc. All rights reserved. ICND v Determining IP Routes Enabling RIP.
© 2006 Cisco Systems, Inc. All rights reserved. BCMSN v Implementing High Availability in a Campus Environment Configuring Layer 3 Redundancy with.
© 2006 Cisco Systems, Inc. All rights reserved. BCMSN v Implementing Inter-VLAN Routing Describing Routing Between VLANs.
© 2005 Cisco Systems, Inc. All rights reserved. BGP v BGP Overview Monitoring and Troubleshooting BGP.
© 2006 Cisco Systems, Inc. All rights reserved. MPLS v MPLS TE Overview Configuring MPLS TE on Cisco IOS Platforms.
© 2006 Cisco Systems, Inc. All rights reserved. BSCI v Configuring OSPF Configuring OSPF Authentication.
Транксрипт:

© 2006 Cisco Systems, Inc. All rights reserved. BSCI v Implementing Multicast Multicast Configuration and Verification

© 2006 Cisco Systems, Inc. All rights reserved. BSCI v PIM-SM Configuration Commands ip multicast-routing router(config)# Enables multicast routing. 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. ip pim send-rp-announce {interface type} scope {ttl} group-list {acl} ip pim send-rp-discovery {interface type} scope {ttl} router(config)# Configures the ability of a group of routers to be and discover RPs dynamically.

© 2006 Cisco Systems, Inc. All rights reserved. BSCI v 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. BSCI v 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. BSCI v 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 Cisco IOS software mrinfo [hosthanme | address] router# Queries which neighboring multicast routers are peering with the local router or router specified

© 2006 Cisco Systems, Inc. All rights reserved. BSCI v 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. BSCI v 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. BSCI v Checking RP Information Displays active RPs that are cached with associated multicast routing entries –Mappingdisplays 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) –AddressIP address of a source of an RP show ip rpf {address | name } router(config)#

© 2006 Cisco Systems, Inc. All rights reserved. BSCI v 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. BSCI v 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. BSCI v 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. BSCI v 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. BSCI v 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. BSCI v Verifying IGMP Snooping 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. BSCI v Verifying IGMP SnoopingExample

© 2006 Cisco Systems, Inc. All rights reserved. BSCI v 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 SnoopingExample (Cont.)

© 2006 Cisco Systems, Inc. All rights reserved. BSCI v 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 SnoopingExample (Cont.)

© 2006 Cisco Systems, Inc. All rights reserved. BSCI v 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. BSCI v