Configure IGMP on a VRF
You configure IGMP on a VRF instance the same way you configure IGMP for the Global Router, except that you must use VRF Router Configuration mode.
Procedure
Example
For the VRF Red context, configure a new IP multicast group address and create an SSM map table entry for the multicast group and the source at 192.32.99.151. Configure the administrative state to enable all the static SSM map table entries.
Switch:1>enable Switch:1#configure terminal Enter configuration commands, one per line. End with CNTL/Z. Switch:1(config)#router vrf red Switch:1(router-vrf)#ip igmp ssm group-range 232.1.1.10/32 WARNING: Changing the SSM range will cause all spb-multicast and spb-pim-gw enabled interfaces to be internally bounced. Do you wish to continue? (y/n) ? (y/n)? y Switch:1(router-vrf)#ip igmp ssm-map 232.1.1.10 192.32.99.151 Switch:1(router-vrf)#ip igmp ssm-map all
Variable definitions
Use the definitions in the following table to use the ip igmp command on a VRF.
Variable |
Value |
---|---|
generate-log |
Enables the generation of IGMP log messages. The default is disabled. |
generate-trap |
Enables the generation of IGMP traps. The default is disabled. |
immediate-leave-mode {multiple-user|one-user} |
|
ssm dynamic-learning |
Enables dynamic learning from IGMPv3 reports. The default is enabled. |
ssm group-range {A.B.C.D/X} |
Changes the SSM range group to define the SSM range. The SSM range parameter extends the default SSM range of 232/8 to include an IP multicast address. This parameter specifies an IP multicast address within the range of 224.0.0.0 and 239.255.255.255. The default is 232.0.0.0. The address mask is the IP address mask of the multicast group. The default is 255.0.0.0. |
ssm-map <all | {A.B.C.D} {A.B.C.D} enable |
Creates a static SSM channel table entry by specifying the group and source IP addresses. The IP address is an IP multicast address within the SSM range. The source IP address is an IP host address that sends traffic to the group. Enables the administrative state for a specific entry (group). This variable does not affect the dynamically learned entries. This state determines whether the switch uses the static entry or saves it for future use. The default is enable for each entry. |