The mpls te link administrative group command sets the value of the administrative-group attribute for an interface.
The undo mpls te link administrative group command restores the default setting.
The default administrative-group attribute is 0x0.
Parameter | Description | Value |
---|---|---|
value | Specifies the link attributes compared with affinity bits during the selection of a path. | The value is in hexadecimal notation and is of 32 bits with each bit representing an attribute. The value ranges from 0x0 to 0xFFFFFFFF. |
VLANIF interface view, GE interface view, XGE interface view, MultiGE interface view, 25GE interface view, 40GE interface view, 100GE interface view, Eth-trunk interface view
After being advertised globally, interface attributes can work as a standard for the ingress of a tunnel to select a path.
The modification on the administrative-group attributes takes effect only on the LSPs created after the modification and does not affect the established LSPs.
The mpls te link administrative group command can be run on the outgoing interface of the link through which a TE tunnel passes.
# Set the administrative-group attribute to 0x0101 on interface VLANIF100.
<HUAWEI> system-view [HUAWEI] interface vlanif 100 [HUAWEI-Vlanif100] mpls [HUAWEI-Vlanif100] mpls te [HUAWEI-Vlanif100] mpls te link administrative group 101
<HUAWEI> system-view [HUAWEI] interface gigabitethernet 0/0/1 [HUAWEI-GigabitEthernet0/0/1] undo portswitch [HUAWEI-GigabitEthernet0/0/1] mpls [HUAWEI-GigabitEthernet0/0/1] mpls te [HUAWEI-GigabitEthernet0/0/1] mpls te link administrative group 101