Cisco IOS "ip igmp join-group" and "ip igmp static-group" Command Use

Similar documents
IPv6 Multicast Listener Discovery Protocol

IPv6 Multicast Listener Discovery Protocol

Configuring Multicast VPN Extranet Support

Verifying IPv4 Multicast Forwarding Using the MFIB

Basic Multicast Troubleshooting Tools

Lab 7-3 Routing IP Multicast with PIM Sparse Mode

MulticastForwardingInformationBaseOverview

BASIC MULTICAST TROUBLESHOOTING. Piotr Wojciechowski (CCIE #25543)

Multicast Troubleshooting

Configuring VRF-lite. Information About VRF-lite

How well do you know PIM Assert Mechanism?

VRRP Aware PIM with PIM NonDR Join Feature Configuration Example

Module 7 Implementing Multicast

Configuring IP Multicast

CCIE Service Provider v3.0 Sample Lab

Next Generation MULTICAST In-band Signaling (VRF MLDP: Profile 6)

show ipv6 eigrp topology

LISP Multicast. Finding Feature Information. Prerequisites for LISP Multicast

A Methodology for Troubleshooting Interdomain IP Multicast

Copyright 2009 Internetwork Expert i

Router Does Not Forward Multicast Packets to Host Due to RPF Failure

Lab 7-1 Implementing IGMP and IGMP Snooping

Physical topology. Cat6k_2. Cat6k_1. g1/1. g1/1. g2/2. g3/18. g1/2 g3/17. g2/18. g1/2. e2/18 e3/1. e2/24. e2/24. e2/46. e2/46. e2/2. e2/6. f0/3.

ASM. Engineering Workshops

Monitoring and Maintaining IP Multicast

IGMP Static Group Range Support

Multicast Communications

IP Multicast Survival Guide Part 2

IP Multicast Optimization: Optimizing PIM Sparse Mode in a Large IP Multicast Deployment

UDLR Unidirectional Link Routing overview and examples

IPv6 PIM. Based on the forwarding mechanism, IPv6 PIM falls into two modes:

Configuring Router-Port Group Management Protocol

Configuring PIM Snooping

What is IPv4 multicast? Deference between Unicast & Multicast Simulate Multicast Streaming using one Machine

Chapter 24 PIM Commands

IGMP Static Group Range Support

Configuring Multicast VPN Extranet Support

IP Multicasting: Explaining Multicast Cisco Systems, Inc. All rights reserved. Cisco Academy

This module describes how to configure IPv6 Multicast PIM features.

Implementing IPv6 Multicast

Multicast Protocol Configuration Examples H3C S7500 Series Ethernet Switches Release Table of Contents

IP Multicast: Multicast Optimization Configuration Guide

IGMP Proxy. Finding Feature Information. Prerequisites for IGMP Proxy

IP NAT Troubleshooting. Solutions. Luke Bibby, CCIE #45527

PIM Configuration. Page 1 of 9

OSPF, MTU and LSA Packing Tech Note

Implementing Multicast Service Reflection

IPv6 Multicast: PIM Sparse Mode

Configuring IP Multicast Routing

FSOS Multicast Configuration Guide

Configuring Bidirectional PIM

Multicast Configuration

Implementing IPv6 Multicast

IPv6 Multicast: PIM Sparse Mode

The information in this document is based on Cisco IOS Software Release 15.4 version.

IP Multicast: Multicast Optimization Configuration Guide, Cisco IOS Release 12.4T

Table of Contents 1 IGMP Configuration 1-1

v Number: Passing Score: 800 Time Limit: 120 min File Version:

Configuring IP Multicast over Unidirectional Links

PIM Allow RP. Finding Feature Information. Restrictions for PIM Allow RP

Multicast Overview. IP Multicasting: Explaining Multicast. Lesson Cisco Systems, Inc. All rights reserved. Cisco Public. BSCI Module 7 Lesson 1

Configuring PIM. Information About PIM. Send document comments to CHAPTER

Implement Static Routes for IPv6 Configuration Example

Topic: Multicast routing

Hardware Compatibility Matrix for Cisco cbr Series Routers

Advanced Network Training Multicast

ICS 351: Today's plan. routing protocol comparison encapsulation network dynamics multicasting in general IP multicasting IGMP PIM

Multicast Deployment and Troubleshooting in Datacenter environment

Configuring IP Multicast Routing

This chapter describes how to configure the Cisco ASA to use the multicast routing protocol.

Easy Virtual Network Configuration Example

Configuring IP Multicast over Unidirectional Links

Implementing IPv6 Multicast

show ip mroute [group-name group-address] [source] [summary] [count] [active kbps]

Layer 3 IP Multicast Architecture and Design in Cisco ACI Fabric

Multicast H3C Low-End Ethernet Switches Configuration Examples. Table of Contents

ipv6 mobile home-agent (global configuration)

Multicast Subsecond Convergence

Table of Contents 1 PIM Configuration 1-1

IP Multicast. Falko Dressler Regionales Rechenzentrum Grundzüge der Datenkommunikation IP Multicast

Table of Contents Chapter 1 Multicast Routing and Forwarding Configuration

Monitoring and Maintaining Multicast HA Operations (NSF/SSO and ISSU)

FiberstoreOS IPv6 Multicast Configuration Guide

Cisco Nexus 9000 Series NX-OS Multicast Routing Configuration Guide, Release 6.x

Multicast Subsecond Convergence

IP Multicast: Multicast Services Configuration Guide, Cisco IOS XE Release 3S

Contents. Configuring MSDP 1

Dynamic Multipoint VPN (DMVPN) Troubleshooting Scenarios

Multicast only Fast Re-Route

Configuring Multicast Routing

Customizing IGMP. Finding Feature Information. Last Updated: December 16, 2011

IP Multicast Load Splitting across Equal-Cost Paths

Nexus 7000 and 7700 Series Switches Optimized ACL Logging Configuration Example

Exercises to Communication Systems

Multicasting in Intra and Inter Domain Networks

Implementing IPv6 Multicast

Stateless Multicast with Bit Indexed Explicit Replication

Configuring IPv6 multicast routing and forwarding 1

Troubleshoot Hardware Program for Multicast on 6500/7600 Devices

IP Multicast Technology Overview

Transcription:

Cisco IOS "ip igmp join-group" and "ip igmp static-group" Command Use Document ID: 119383 Contributed by Luc De Ghein, Cisco TAC Engineer. Dec 02, 2015 Contents Introduction Statically Join the IGMP Group Receiver is Active IGMP Join Command IGMP Static Command PIM DR Role Safe Use of the ip igmp join-group Command Important Notes About Command Use Introduction This document describes how the ip igmp join-group and ip igmp static-group commands function within the Cisco IOS. Statically Join the IGMP Group If the router has the ip igmp join-group command on any of the interfaces, the router itself becomes a receiver for the multicast stream. This command is used in order to move multicast traffic to this router without a real directly-connected receiver or without a Protocol Indepent Multicast (PIM) neighbor downstream that ss PIM Join requests for the multicast flow. However, because this router joins the multicast stream, all of the multicast packets are punted to the CPU. This can cause high CPU, or it can cause the rate-limiters (if any) or the Control Plane Protection (CoPP) to be hit. A better alternative that you can use in order to attract the multicast stream for this router is to configure the ip igmp static-group interface command. With this command, the router can still attract the multicast stream and forward it out on the interface, but the router itself does not become a receiver for the stream. Both the ip igmp join-group interface command and the ip igmp static-group command cause the PIM to s Join requests upstream towards the source or towards the Rezvous Point (RP), but this only occurs if the router with this command is the PIM Designated Router (DR) on that interface. In order to ensure that the command takes effect and attracts the multicast traffic, use the command on the router that is the DR for that particular network. Alternatively, you can make the router that uses the command the PIM DR. In order to do this, configure the ip pim dr-priority command on the interface and ensure that it has the highest PIM DR priority value of any PIM router on that network. Here is an example:

In this example, there is a source with IP address 10.1.3.3 and a receiver for the group 232.1.1.1. Receiver is Active Here is the multicast forwarding entry on the router R1: (10.1.3.3, 232.1.1.1), 01:54:48/00:02:54, flags: st Ethernet0/0, Forward/Sparse-Dense, 01:54:48/00:02:54 As shown in the output, the is in the Outgoing Interface List (OIL), and the (10.1.3.3, 232.1.1.1) multicast traffic is forwarded to the. This can also be observed in the Multicast Forwarding Information Base (MFIB) entry: R1#show ip mfib 232.1.1.1 10.1.3.3 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: I/O Item Counts: Default (10.1.3.3,232.1.1.1) Flags: SW Forwarding: 0/0/0/0, Other: 0/0/0 Total/RPF failed/other drops FS Pkt Count/PS Pkt Count

Ethernet1/0 Flags: A Ethernet0/0 Flags: F NS Pkts: 0/0 IGMP Join Command If the router R1 does not receive a PIM Join request for the multicast stream from the router R4 (for any reason), then the multicast stream does not flow. One possible reason is that the PIM is not allowed to form a neighborship between the routers R1 and R4 because the routers belong to a different administrative domain. A solution is to forward the traffic from the router R1 towards the router R4 in a static fashion. The ip igmp join-group command is used on on the router R1. This allows the router R1 to s a PIM Join request upstream (to the source or RP) and attract the multicast stream (10.1.3.3, 232.1.1.1). This traffic is then forwarded to the, as this interface is in the OIL. However, the traffic is also punted to the CPU. ip igmp join-group 232.1.1.1 source 10.1.3.3 (10.1.3.3, 232.1.1.1), 00:09:30/00:02:19, flags: slti Ethernet0/0, Forward/Sparse-Dense, 00:00:40/00:02:19 The L flag means that the multicast traffic is punted. The is in the OIL, so the traffic is punted to the CPU and forwarded to the. The MFIB entry shows the Internal Copy (IC) flag. This means that the packets for this flow are punted to the CPU. R1#show ip mfib 232.1.1.1 10.1.3.3 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 (10.1.3.3,232.1.1.1) Flags: SW Forwarding: 0/0/0/0, Other: 0/0/0 Ethernet1/0 Flags: A Ethernet0/0 Flags: F IC NS Pkts: 0/0 Because all of the traffic for this multicast stream is punted, it can cause unwanted side effects, as previously described. Warning: Do not use the ip igmp join-group command unless it is used in a test environment. IGMP Static Command The ip igmp static-group command is used as a solution in order to forward the traffic from the router R1 towards the router R4 in a static fashion. In this scenario, the router R1 ss a PIM Join request upstream (to the source or RP) and attracts the multicast stream (10.1.3.3, 232.1.1.1). This traffic is then forwarded to the, as this interface is in the OIL, but the traffic is not punted to the CPU. ip igmp static-group 232.1.1.1 source 10.1.3.3 (10.1.3.3, 232.1.1.1), 00:07:41/stopped, flags: sti Ethernet0/0, Forward/Sparse-Dense, 00:05:06/00:00:53 The L flag no longer appears. The traffic is not punted on this router, but it is forwarded to the interfaces in the OIL. Similarly, the MFB entry does not show the IC flag: R1#show ip mfib 232.1.1.1 10.1.3.3 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 (10.1.3.3,232.1.1.1) Flags: SW Forwarding: 0/0/0/0, Other: 0/0/0 Ethernet1/0 Flags: A Ethernet0/0 Flags: F NS Pkts: 0/0 PIM DR Role Neither the ip igmp static-group command nor the ip igmp join-group command takes effect if the router R1 is not the PIM DR for the interface Etherent0/0. Here is an example: ip igmp static-group 232.1.1.1 source 10.1.3.3 Note: The command allows a source to be specified (PIM SSM), or no source to be specified (PIM Sparse Mode/PIM BiDIR mode). (10.1.3.3, 232.1.1.1), 00:00:30/00:02:29, flags: spt Null The is not in the OIL. This is because the router R1 is not the PIM DR on the link with the ip igmp static-group command: R1#show ip pim interface ethernet 0/0 Address Interface Ver/ Nbr Query DR DR Mode Count Intvl Prior 10.1.1.1 Ethernet0/0 v2/sd 1 30 1 10.1.1.4 The router R1 also does not s a PIM Join request upstream. This is evident on the router R2, as the multicast entry is missing:

R2#show ip mroute 232.1.1.1 10.1.3.3 Group 232.1.1.1 not found Here is the output that can be observed as soon as the router R1 is the PIM DR on the : R1#show ip pim interface ethernet 0/0 Address Interface Ver/ Nbr Query DR DR Mode Count Intvl Prior 10.1.1.1 Ethernet0/0 v2/sd 1 30 1 10.1.1.1 (10.1.3.3, 232.1.1.1), 00:02:39/00:02:55, flags: sti Ethernet0/0, Forward/Sparse-Dense, 00:00:04/00:02:55 Safe Use of the ip igmp join-group Command In order to troubleshoot issues, you might desire to perform a test with multicast, even outside of the lab. In such a case, ensure that you use the ip igmp join-group command in a safe manner. The reason that you should use the ip igmp join-group command over the ip igmp static-group command is because the multicast packets are punted. As such, if you perform a ping with a multicast destination, the router with the command is a receiver for the multicast flow and can reply to the ping. Here is an example: The source 10.1.3.3 is an IP address on the router R3. If you place the command on the Ethernet0/0 interface on the router R1 and ping from the router R3, then the router R1 can reply to the ping. As such, you can perform tests as if there was a directly-connected receiver on the router R1. The ip igmp join-group command is placed on the Ethernet0/0 interface on the router R1, and the source is specified in order to ensure

that the router R1 only punts traffic from that source (and responds to it). ip igmp join-group 232.1.1.1 source 10.1.3.3 R3#ping 232.1.1.1 source 10.1.3.3 Type escape sequence to abort. Sing 1, 100-byte ICMP Echos to 232.1.1.1, timeout is 2 seconds: Packet sent with a source address of 10.1.3.3 Reply to request 0 from 10.1.1.1, 2 ms R3# The debug ip icmp command on the router R1 indicates that the ping arrived and that the router R1 ss a reply: R1#debug ip icmp ICMP packet debugging is on R1# *Oct 30 11:35:41.133: ICMP: echo reply sent, src 10.1.1.1, dst 10.1.3.3, topology BASE, dscp 0 topoid 0 Important Notes About Command Use The best practice is not to use the ip igmp join-group command unless it is for test purposes in the lab or a temporary test on a live network. Remove the command after all tests are complete. If the multicast traffic must be forwarded only statically, use the ip igmp static-group command instead. Updated: Dec 02, 2015 Document ID: 119383