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.
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.
<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