te-class-mapping

Function

The te-class-mapping command creates TE-class mapping table or displays the TE-class mapping view.

The undo te-class-mapping command deletes TE-class mapping table.

By default, no TE-class mapping table is configured.

Format

te-class-mapping

undo te-class-mapping

Parameters

None

Views

System view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
mpls-te write

Usage Guidelines

Usage Scenario

The TE-class mapping table takes effect only in IETF mode. The TE-class mapping table can be configured but cannot take effect in non-IETF mode.

A TE-class mapping table must be configured using the te-class-mapping command before configuring this table.

All configured TE-classes are deleted after the undo mpls command is run in the system view or the undo mpls te command is run in the MPLS view.

A TE-class mapping table exists by default in IETF mode.

Example

# Create a TE-class mapping table.
<HUAWEI> system-view
[~HUAWEI] mpls
[*HUAWEI-mpls] mpls te
[*HUAWEI-mpls] quit
[*HUAWEI] te-class-mapping
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >