To set the number of collection attempts, complete the following steps.
device# configure
device(config)# router mpls
device(config-router-mpls)# policy
device(config-mpls-policy)# retry-limit 20
In the following example, the retry limit is configured with a value of 20.
device# configure device(config)# router mpls device(config-router-mpls)# policy device(config-router-mpls-policy)# retry-limit 20
Once the connection is established, the retry counter is reset to zero. In the example above, when an LSP needs to be established again, the ingress LER makes 20 attempts to establish a connection to the egress LER.