Configuring IGMP SSM Mapping
Context
The source-specific multicast (SSM) model allows IGMPv3 hosts to specify the multicast sources which they want to receive data from. However, some hosts can only run IGMPv1 or IGMPv2. To enable these hosts to use the SSM service, configure IGMP SSM mapping on the router. IGMP SSM mapping is implemented based on static SSM mapping entries on the router. The router converts (*, G) information in IGMPv1 and IGMPv2 Report messages to (S, G) information according to static SSM mapping entries to provide the SSM service for IGMPv1 and IGMPv2 hosts. By default, SSM group addresses range from 232.0.0.0 to 232.255.255.255. You can expand this range if required. For details, see (Optional) Configuring an SSM Group Policy.
Procedure
- Run system-view
The system view is displayed.
- Run interface interface-type interface-number
The interface view is displayed.
- Run igmp ssm-mapping enable
IGMP SSM mapping is enabled on the interface.
By default, IGMP SSM mapping is disabled on an interface.
Enable IGMPv3 on router interfaces to ensure that hosts running any IGMP version on a network segment can obtain the SSM service.
- Run quit
Return to the system view.
- Run igmp [ vpn-instance vpn-instance-name ]
The IGMP view is displayed.
- Run ssm-mapping group-address { group-mask | group-mask-length } source-address
An SSM mapping rule is configured to map a group address to a multicast source.
By default, no SSM mapping rule is configured.
Verifying the Configuration
Run the following commands in any view to check the configured mapping entries and whether IGMP SSM mapping is enabled on the interface.
- Run the display igmp [ vpn-instance vpn-instance-name | all-instance ] group [ group-address | interface interface-type interface-number ]* ssm-mapping [ verbose ] command to check information about group memberships established with IGMP SSM mapping.
- Run the display igmp [ vpn-instance vpn-instance-name | all-instance ] ssm-mapping { group [ group-address ] | interface [ interface-type interface-number ] } command to check SSM mapping entries configured and whether IGMP SSM mapping is enabled on an interface.