The mpls te srlg command configures an interface as an SRLG member.
The undo mpls te srlg command deletes an interface from an SRLG.
By default, no interface is added to any SRLG.
100ge sub-interface view, 100GE interface view, 10GE sub-interface view, 10GE interface view, 25GE sub-interface view, 25GE interface view, 400GE sub-interface view, 400GE interface view, 40GE sub-interface view, 40GE interface view, 50GE sub-interface view, 50GE interface view, Eth-Trunk sub-interface view, Eth-Trunk interface view, GE optical interface view, GE sub-interface view, GE electrical interface view, GMPLS-UNI interface view, Tunnel interface view, XGE sub-interface view, XGE interface view
Usage Scenario
An SRLG, like the bandwidth and affinity property, is a constraint in path calculation. If an SRLG is configured for links, an IGP floods the TE link information along with the SRLG membership information to all devices in an IGP area. The SRLG membership information is also added into a TEDB.
If an SRLG is configured for links and the mpls te srlg path-calculation command is configured on the ingress of a primary tunnel, when calculating a path for a bypass tunnel or a hot-standby tunnel, CSPF determines whether or not the SRLG attribute is used as a constraint based on a configured SRLG calculation mode, and only the out-interface SRLG configured on the main LSP is considered. One interface can join multiple SRLGs.<HUAWEI> system-view [~HUAWEI] mpls [*HUAWEI-mpls] mpls te [*HUAWEI-mpls] quit [*HUAWEI] interface GigabitEthernet0/1/0 [*HUAWEI-GigabitEthernet0/1/0] mpls [*HUAWEI-GigabitEthernet0/1/0] mpls te [*HUAWEI-GigabitEthernet0/1/0] mpls te srlg 1 [*HUAWEI-GigabitEthernet0/1/0] mpls te srlg 2