Configure IGMP SSM Mapping

With Source-Specific Multicast (SSM) mapping, a host receives multicast traffic directly from identified sources.
  1. Enter global configuration mode.
    device# configure terminal
  2. Enter VLAN configuration mode.
    device (config)# vlan 101 
  3. Configure the IGMP query interval for the VLAN.
    device (config-vlan-101)# ip igmp snooping query-interval 101
  4. Configure the prefix list, which contains the IP addresses to map.
    device (config)# ip igmp ssm-map ?
    Possible completions:
                   <Word:1-32>   IP prefix-list name
                   enable        Enables IGMPv2 SSM Mapping
    
  5. Configure SSM mapping, which associates an IGMPv1 or IGMPv2 report packet with the configured source address, which is 203.0.0.1 in this example.
    device (config-vlan-101)# ip igmp ssm-map enab
    device (config-vlan-101)# ip igmp ssm-map prefix-list1 203.0.0.1
    device (config-vlan-101)# show ip igmp ssm-map
    Fri Jul  21 11:30:06.878 UTC-07:00
    +------------------------------------+-------------------+
    |         PrefixList Name            |   Source Address  |
    +------------------------------------+-------------------+
      prefix-list1                         203.0.0.1
  6. Specify the SSM group range, which is 238.0.0.0/8 in this example.
    device (config-router-pim-vrf-default-vrf)# router pim
    device (config-router-pim-vrf-default-vrf)# ssm-enable
    device (config-router-pim-vrf-default-vrf)# ssm-enable range prefix-list1
    device# show ip pim settings
    Fri Jul  21 11:31:45.333 UTC-07:00
    vrf : default-vrf
      Maximum mcache              : 32768     Current Count                : 0         
      Hello interval              : 30        Neighbor timeout             : 105       
      Join/Prune interval         : 60        Inactivity interval          : 180       
      Hardware drop enabled       : 1         Prune wait interval          : 3         
      Register Suppress Time      : 60        Register Probe Time          : 10        
      Register Stop Delay         : 0         Register Suppress interval   : 0         
      SSM Enabled                 : Yes       SPT Threshold                : 1         
      SSM Group Range             : 232.0.0.0/8
      SSM Range Prefix_name       : prefix-list1
      Route Precedence            : uc-non-default uc-default none

Example

This example sends an IGMPv2 report for group 238.0.0.1.

device # show ip igmp group
Total Number of Groups: 1
IGMP Connected Group Membership
Group Address    Interface            Uptime      Expires    Last Reporter     Version
238.0.0.1        vlan101              00:04:40    00:03:31   101.0.0.10        3      
  Member Ports:  eth0/2

device # show ip igmp group detail 
Group : 238.0.0.1
        Interface        vlan101
        Uptime           00:04:53
        Expires:         00:03:18
        Last Reporter:   101.0.0.10
        Member Ports:    eth0/2
        Last Reporter Mode: 3
        Interface : eth0/2      
                INCL_SRC_LIST: 203.0.0.1
                EXCL_SRC_LIST: Nil

device # show ip pim mc
Fri Jul  21 11:58:17.278 UTC-07:00
Total entries in mcache: 1
1    (203.0.0.1, 238.0.0.1) in Eth 0/16, Uptime 00:05:23
     SSM=1, RPT=0 SPT=1 Reg=0 RegSupp=0 RegProbe=0 JDUp=1 LSrc=0 LRcv=1
     upstream neighbor=91.0.0.2
     AgeSltMsk: 0 KAT timer: Expired 
     num_oifs = 1
           Ve101(00:05:23/0) Flags: MI
     Flags (0x080684d4)
         ssm=1 needRte=0