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.
- Enable IPv6 PIM at the global level.
- Configure a precedence table.
device(config-ipv6-pim-router)# route-precedence mc-non-default uc-non-default mc-default uc-default
The command 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. - Configure the
none keyword to fill up the precedence table in order to ignore certain types of route.
The command configures a precedence table for multicast route selection that ignores the default route from uRTM .
- Return to global configuration mode.
- Enable IPv6 PIM for a VRF.
- 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
The command 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,. - 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
The command 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)