mpls te srlg

Function

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.

Format

mpls te srlg srlg-number

undo mpls te srlg srlg-number

undo mpls te srlg all

Parameters

Parameter Description Value
srlg-number

Specifies the number of an SRLG to which an interface joins.

The value is an integer ranging from 0 to 4294967295.

all

Indicates that an interface exits from all SRLGs.

-

Views

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

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
mpls-te write

Usage Guidelines

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.

Example

# Add GE 0/1/0 to SRLG 1 and SRLG 2.
<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
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >