Configuring SRLG
Context
A shared risk link group (SRLG) is a set of links which are likely to fail concurrently because they share a physical resource (for example, an optical fiber). In an SRLG, if one link fails, the other links in the SRLG also fail.
An SRLG enhances CR-LSP reliability on an MPLS TE network with CR-LSP hot standby or TE FRR enabled. Two or more links are at the same risk level if they share physical resources. For example, sub-interfaces share risks with their interface. These sub-interfaces will go Down if the interface goes Down. If the links of a primary tunnel and a backup or bypass tunnel are in the same SRLG, the links of the backup or bypass tunnel share risks with the links of the primary tunnel. The backup or bypass tunnel will go Down if the primary tunnel goes Down. After SRLG is configured, CSPF must calculate a bypass CR-LSP or a hot-standby CR-LSP according to the SRLG attribute. The link that the primary path uses and the link that the bypass CR-LSP or hot-standby CR-LSP uses cannot be in the same SRLG.
The configuration of SRLG takes effect only on the new CR-LSP, without affecting the existing CR-LSPs.
On a TE FRR-enabled network, modifying the SRLG configuration may result in an FRR bypass tunnel protection failure. To prevent this problem, the upgrade mpls te bypass command is used to forcibly upgrade FRR protection and repair bypass tunnel protection.
Perform the following configurations according to actual networking.