mpls te link administrative group name

Function

The mpls te link administrative group name command allows you to specify bit names for a link administrative group on an interface.

The undo mpls te link administrative group name command deletes the link administrative group names.

By default, a link administrative group is 0x0, and no bit names are specified for it.

Format

mpls te link administrative group name { bit-name } &<1-32>

undo mpls te link administrative group name { bit-name } &<1-32>

undo mpls te link administrative group name

Parameters

Parameter Description Value
bit-name

Specifies names of link administrative group bits. A node compares an affinity with a link administrative group to determine whether a path passes though links with specified attributes.

The value is a string of 1 to 31 case-sensitive characters.

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

A link administrative group is a 128-bit vector representing a link attribute. Currently, a name can be configured for a link administrative group. When a device establishes an MPLS TE tunnel, it uses the link administrative group and affinity attributes together to determine the link used by the tunnel.

Prerequisites

  • MPLS TE has been enabled on the interface using the mpls te command.
  • Mappings between names and bit values in an affinity have been configured using the attribute command.

Configuration Impact

Changed link administrative group configurations take effect on new LSPs, not on existing LSPs.

Precautions

The mpls te link administrative group name command is run on the outbound interface of a link through which a TE tunnel passes.

Example

# Set bit names for a link administrative group to yellow and brown.
<HUAWEI> system-view
[~HUAWEI] mpls
[*HUAWEI-mpls] mpls te
[*HUAWEI-mpls] quit
[*HUAWEI] path-constraint affinity-mapping
[*HUAWEI-pc-af-map] attribute yellow bit-sequence 3
[*HUAWEI-pc-af-map] attribute brown bit-sequence 4
[*HUAWEI-pc-af-map] quit
[*HUAWEI] interface GigabitEthernet0/1/0
[*HUAWEI-GigabitEthernet0/1/0] mpls
[*HUAWEI-GigabitEthernet0/1/0] mpls te
[*HUAWEI-GigabitEthernet0/1/0] mpls te link administrative group name yellow brown
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >