112Step Command Remarks3. Enable global RSVP helloextension. mpls rsvp-te hello Disabled by default.4. Enable MPLS RSVP-TE GR. mpls rsvp-te graceful-restart Disabled by default.5. Set the RSVP-TE GR restarttimer.mpls rsvp-te timer graceful-restartrestart restart-timeOptional.120 seconds by default.6. Set the RSVP-TE GR recoverytimer.mpls rsvp-te timer graceful-restartrecovery recovery-timeOptional.300 seconds by default.7. Enter interface view of MPLSTE link.interface interface-typeinterface-number N/A8. Enable RSVP hello extensionfor the interface. mpls rsvp-te hello Disabled by default.Tuning CR-LSP setupA CR-LSP is established through the signaling protocol based on the path calculated by CSPF using TEDBand constraints. MPLS TE can affect CSPF calculation in many ways to determine the path that a CR-LSPcan traverse.The configuration tasks described in this section are about CSPF of MPLS TE. You must use them inconjunction with CSPF and the dynamic signal protocol (RSVP-TE). Before performing them, be aware ofeach configuration objective and its impact on your system.Configuring route pinningRoute pinning cannot be used together with reoptimization.To configure route pinning:Step Command Remarks1. Enter system view. system-view N/A2. Enter MPLS TE tunnel interfaceview. interface tunnel tunnel-number N/A3. Enable route pinning. mpls te route-pinning Disabled by default.4. Submit current tunnelconfiguration. mpls te commit N/A.Configuring administrative group and affinity attributeThe affinity attribute of an MPLS TE tunnel identifies the properties of the links that the tunnel can use.Together with the link administrative group, it decides which links the MPLS TE tunnel can use. This isdone by ANDing the 32-bit affinity attribute with the 32-bit link administrative group attribute. Whendoing that, a 32-bit mask is used. The affinity bits corresponding to the 1s in the mask are "do care" bitswhich must be considered while those corresponding to the 0s in the mask are "don’t care" bits.For a link to be used by a TE tunnel, at least one considered affinity bit and its correspondingadministrative group bit must be set to 1.