Configuring the Route Precedence by Specifying the Route Types

Precedence tables specify how routes are selected for multicast.

IPv6 PIM must be enabled at the global level.

Configure the none keyword to fill up the precedence table and ignore certain types of routes.

  1. Enable IPv6 PIM at the global level.
    Device(config)# ipv6 router pim
    
  2. Configure a precedence table.
    Device(config-ipv6-pim-router)# route-precedence mc-non-default uc-non-default mc-default uc-default
    Configures a precedence table for multicast route selection that first looks for a non-default route from the mRTM, then a non-default route from the uRTM, then a default route from the mRTM, and then a default route from the uRTM.
  3. Configure the none keyword to fill up the precedence table in order to ignore certain types of route.
    Device(config-ipv6-pim-router)# route-precedence mc-non-default mc-default uc-non-default none
    Configures a precedence table for multicast route selection that ignores the default route from uRTM .
  4. Return to global configuration mode.
    Device(config-ipv6-pim-router)# exit
    
  5. Enable IPv6 PIM for a VRF.
    Device(config)# ipv6 router pim vrf blue
    
  6. Configure a precedence table for the VRF.
    Device (config-ipv6-pim-router-vrf-blue)# route-precedence mc-non-default uc-non-default mc-default uc-default
    Configures a precedence table that specifies a non-default route from the mRTM, then a non-default route from the uRTM, then a default route from the mRTM, and then a default route from the uRTM for the specified VRF,.
  7. Configure the none keyword to fill up the precedence table.
    Device(config-ipv6-pim-router-vrf-blue)# route-precedence mc-non-default mc-default uc-non-default none
    Configures a precedence table that specifies the unicast default route for multicast for the specified VRF.

The following examples show how to configure the route precedence and display the route-precedence setting.


device(config-ipv6-pim-router)# route-precedence mc-non-default mc-default uc-non-default uc-default 
device(config-ipv6-pim-router)# show ipv6 pim sparse

Global PIM Sparse Mode Settings
  Maximum Mcache           : 12992      Current Count               	: 2
  Hello interval           : 30         Neighbor timeout           	 : 105
  Join/Prune interval      : 60         Inactivity interval        	 : 180
  Hardware Drop Enabled    : Yes        Prune Wait Interval         	: 3
  Bootstrap Msg interval   : 60         Candidate-RP Msg interval   	: 60
  Register Suppress Time   : 60         Register Probe Time         	: 10
  Register Stop Delay      : 10         Register Suppress interval 	 : 60
  SSM Enabled              : No         SPT Threshold              	 : 1         
  Route Precedence         : mc-non-default mc-default uc-non-default uc-default
  Embedded RP Enabled      : Yes    
  
Device(config-ipv6-pim-router)# route-precedence admin-distance
Device(config-ipv6-pim-router)# show ipv6 pim sparse

Global PIM Sparse Mode Settings
  Maximum Mcache           : 12992      Current Count               	: 2
  Hello interval           : 30         Neighbor timeout           	 : 105
  Join/Prune interval      : 60         Inactivity interval        	 : 180
  Hardware Drop Enabled    : Yes        Prune Wait Interval         	: 3
  Bootstrap Msg interval   : 60         Candidate-RP Msg interval   	: 60
  Register Suppress Time   : 60         Register Probe Time         	: 10
  Register Stop Delay      : 10         Register Suppress interval 	 : 60
  SSM Enabled              : No         SPT Threshold              	 : 1         
  Route Precedence         : admin-distance
  Embedded RP Enabled      : Yes
Device(config-ipv6-pim-router)