Configure an MPLS CSPF Fate-Sharing Group

To configure a CSPF fate-sharing group, perform the following steps.

  1. Enable the device for configuration.
    device# configure
  2. Enable the MPLS router.
    device(config)# router mpls
  3. Enable the policy mode.
    device(config-router-mpls)# policy
  4. Specify the CSPF group computation mode for a fate-sharing group, and enable the penalty option by entering the following command in MPLS policy mode.
    device(config-router-mpls-policy)# cspf-group computation-mode add-penalty
    
  5. Configure a CSPF fate-sharing group by assigning a name to the group. Enter the following command in router MPLS mode.
    device(config-router-mpls)# cspf-group group3
    
  6. Set the penalty value for the CSPF fate-sharing group. Enter the following command.
    device(config-router-mpls-cspf-group-group3)# penalty 100
    
  7. Configure the local address of the CSPF fate-sharing group. Enter the following command.

    device(config-router-mpls-cspf-group-group3)# from 10.1.1.1
    
  8. Configure the local address and remote address on a point-to-point link of the CSPF fate-sharing group, enter the following command.
    device(config-router-mpls-cspf-group-group3)# link 10.1.1.1  10.1.1.2
    
  9. Configure the local Subnet IP address with the subnet mask length. Enter the following command.
    device(config-router-mpls-cspf-group-group3)# subnet 10.1.2.0/24
  10. To penalize all links from the node IP address, enter the following command.
    device(config-router-mpls-cspf-group-group3)# node 10.1.1.1
    

The following example configures a CSPF fate-sharing group.

device# configure
device(config)# router mpls
device(config-router-mpls)# policy
device(config-router-mpls-policy)# cspf-group computation-mode add-penalty
device(config-router-mpls)# cspf-group group3
device(config-router-mpls-cspf-group-group3)# penalty 100
device(config-router-mpls-cspf-group-group3)# from 10.1.1.1
device(config-router-mpls-cspf-group-group3)# link 10.1.1.1  10.1.1.2
device(config-router-mpls-cspf-group-group3)# subnet 10.1.2.0/24
device(config-router-mpls-cspf-group-group3)# node 10.1.1.1