The hold-off timer, configured by means of the holdoff-time command, is used in each ERN to prevent unnecessary Signal Fail (SF) events caused by port flapping. If you configure a non-zero hold-off timer value, when a link error occurs, the event is not reported immediately. When the hold-off timer expires, ERP checks to see whether the error still exists.
The hold-off timer is used in every ERN. When a new defect occurs (new SF), this event is not reported immediately to trigger protection switching if the provisioned hold-off timer value is non-zero. Instead, the hold-off timer is started. When the hold-off timer expires, the trail that started the timer is checked as to whether a defect still exists. If one does exist, that defect is reported and protection switching is triggered.
You can configure the hold-off timer in 100-ms increments from 0 to 10,000 ms (10 seconds); the default value is 0 ms. The hold-off timer value cannot be stopped through the CLI.
The following example configures a holdoff-time of 100 ms.
device# configure terminal device(config)# erp 1 device(config-erp-1)# holdoff-time 100
Use the no holdoff-time command to clear the configuration, restoring it to the default value.
The message interval time of R-APS messages continuously sent within an ERP ring can be configured by means of the message-interval command. You can configure the interval in 100-ms increments from 100 to 5000 ms (5 seconds); the default value is 5000 ms.
The following example configures a message interval of 100 ms.
device# configure terminal device(config)# erp 1 device(config-erp-1)# message-interval 100
Use the no message-interval command to clear the configuration, restoring it to the default value.