The value is an integer that ranges from 1 to 32768.
Views
Tunnel interface view
Default Level
2: Configuration level
Task Name and Operations
Task Name
Operations
mpls-te
write
Usage Guidelines
Usage Scenario
A tunnel ID must be set for a tunnel; otherwise, the tunnel fails to be established. A tunnel ID is unique on a local device. Tunnels on the same device must have different tunnel IDs.
Example
# Set the tunnel ID to 100.
<HUAWEI> system-view
[~HUAWEI] mpls
[*HUAWEI-mpls] mpls te
[*HUAWEI-mpls] quit
[*HUAWEI] interface Tunnel10
[*HUAWEI-Tunnel10] tunnel-protocol mpls te
[*HUAWEI-Tunnel10] mpls te tunnel-id 100
[*HUAWEI-Tunnel10] destination 2.2.2.2