Create an IP SPB Multicast Policy

Before you begin

  • Configure Multicast Label Switching Virtual Private Network (MVPN) on VRF.

  • Enable IP Multicast over Fabric Connect globally.

  • Configure IP prefix list in GRT/VRF.

About this task

Perform this procedure to create the IP SPB Multicast Policy globally.

Note

Note

  • You can also configure the IP SPB Multicast Policy on a VRF instance in the same way as you configure on the GlobalRouter, except that you must use the VRF Router Configuration mode and create the route-map in VRF Router Configuration mode. Not all parameters are configurable on non0 VRFs.

  • This configuration does not apply to IGMP snooping and DvR Leaf.

  • Multi-area SPB boundary nodes with remote IS-IS enabled do not support IP SPB Multicast Policy .

Procedure

  1. Enter Route-Map Configuration mode:

    enable

    configure terminal

    route-map WORD<1-64> <1-65535>

  2. Enable the route policy:

    enable

  3. Match the IP SPB Multicast Policy to the multicast group:

    match multicast-group WORD<0-259>

  4. Optional: Set the data flow for the IP SPB Multicast Policy :

    set {rx-only | tx-only}

  5. Configure the data I-SID:

    set data-isid <1-15999999>

  6. Permit the route:

    permit

  7. Exit to Global Configuration mode:

    exit

  8. Associate the IP SPB Multicast Policy with the route-map:

    ip spb-multicast-policy route-map WORD<0-64>

  9. Enable the IP SPB Multicast Policy :

    ip spb-multicast-policy enable

  10. Verify the configuration:

    show ip spb-multicast-policy

  11. Apply the IP SPB Multicast Policy instance:

    ip spb-multicast-policy apply

Example

Creating an IP SPB Multicast Policy globally.

Switch:1>enable
Switch:1#configure terminal
Switch:1(config)#route-map rtest 210
Switch:1(route-map)#enable
Switch:1(route-map)#match multicast-group McastGroup
Switch:1(route-map)#set data-isid 210
Switch:1(route-map)#permit
Switch:1(route-map)#exit
Switch:1(config)#ip spb-multicast-policy route-map rtest
Switch:1(route-map)#ip spb-multicast-policy enable
Switch:1(config)#show ip spb-multicast-policy
==========================================================================
            SPB ROUTED IP MULTICAST POLICY - GlobalRouter 
==========================================================================
ENABLE     RPOLICY 
--------------------------------------------------------------------------
TRUE       rtest 
Switch:1(route-map)#ip spb-multicast-policy apply

Creating an IP SPB Multicast Policy on VRF1.

Switch:1>enable
Switch:1#configure terminal
Switch:1(config)#router vrf VRF1
Switch:1(router-vrf)#route-map rtest 210
Switch:1(router-vrf-routemap)#enable
Switch:1(router-vrf-routemap)#match multicast-group McastGroup
Switch:1(router-vrf-routemap)#set data i-sid 5679
Switch:1(router-vrf-routemap)#permit
Switch:1(router-vrf-routemap)#exit
Switch:1(router-vrf)#ip spb-multicast-policy route-map rtest
Switch:1(router-vrf)#ip spb-multicast-policy enable
Switch:1(router-vrf)#exit
Switch:1(config)#show ip spb-multicast-policy vrf VRF1
==========================================================================
            SPB ROUTED IP MULTICAST POLICY - VRF VRF1
==========================================================================
ENABLE    RPOLICY
--------------------------------------------------------------------------
TRUE        rtest
Switch:1(config)#ip spb-multicast-policy apply vrf VRF1