Checking for SID error before programming ILM and NHLFE

If any of the following conditions are true, the router records a trap message, generates a syslog error message, and does not program the ILM and NHLFE for the prefix SID.