bind interface

Function

The bind interface command binds a GMPLS UNI tunnel to a service interface.

The undo bind interface command removes the binding between a GMPLS UNI tunnel and a service interface.

By default, a GMPLS UNI tunnel is not bound to a service interface.

Format

bind interface { interface-type interface-number | interface-name }

undo bind interface

Parameters

Parameter Description Value
interface-type

Specifies the type of interface.

-

interface-number

Specifies the number of interface.

-

interface-name

Specifies the name of interface.

-

Views

GMPLS tunnel view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
gmpls-te write

Usage Guidelines

Usage Scenario

On the device, a GMPLS UNI tunnel is bound to a service interface using the bind interface command so that data services can be transmitted along the GMPLS UNI tunnel.

Both forward (ingress EN to egress EN) and reverse (egress EN to ingress EN) GMPLS UNI tunnels need to be bound to specific interfaces.

Prerequisites

The gmpls-tunnel command has been run to create a GMPLS UNI tunnel.

Configuration Impact

After the bind interface command is run to bind a GMPLS UNI tunnel to an interface, the protocol status of the interface is the same as the GMPLS UNI tunnel status. The protocol of the interface will go Up only when the GMPLS UNI tunnel goes Up.

Example

# Bind a GMPLS UNI tunnel named toRt1 to a service interface.
<HUAWEI> system-view
[~HUAWEI] mpls
[*HUAWEI-mpls] mpls te
[*HUAWEI-mpls] quit
[*HUAWEI] interface Gmpls-Uni 1
[*HUAWEI-Gmpls-Uni1] ip address 10.2.1.2 24
[*HUAWEI-Gmpls-Uni1] quit
[*HUAWEI] gmpls-tunnel toRt1
[*HUAWEI-gmpls-tunnel-toRt1] bind interface Gmpls-Uni1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >