The data-link command configures a data-link mapped to a TE-link.
The undo data-link command deletes the configuration of a data-link.
By default, no data-link is configured for a TE-link.
Parameter | Description | Value |
---|---|---|
interface-name |
Specifies the name of an interface. |
- |
interface-type |
Specifies the type of an interface. |
- |
interface-number |
Specifies the number of an interface. |
- |
local |
Specifies the local identifier of a data-link. |
- |
interface-id |
Specifies the ID of an interface. |
- |
loccalIpAddr |
Specifies the ID of a local interface. |
The value is in dotted decimal notation. |
remote |
Specifies the remote identifier of a data-link. |
- |
remoteIpAddr |
Specifies the ID of a remote interface. |
The value is in dotted decimal notation. |
interface |
Specifies the type and number of a local interface bound to a data-link. |
- |
Usage Scenario
Data-links that directly connect IP and optical layer devices are bundled into a TE-link. LMP discovers and manages both TE-links and their data-links. The device only supports static LMP. Static LMP can discover a TE-link and data-links between LMP neighbors only after the TE-link and data-links are configured. To configure a data-link and its identifiers in a TE-link, run the data-link command.
Prerequisites
A TE-link has been configured using the te-link command.
<HUAWEI> system-view [~HUAWEI] lmp [*HUAWEI-lmp] peer rta [*HUAWEI-lmp-peer-rta] lmp static [*HUAWEI-lmp-peer-rta] te-link 1 [*HUAWEI-lmp-peer-rta-Te-Link-1] link-id local ip 192.168.1.1 [*HUAWEI-lmp-peer-rta-Te-Link-1] link-id remote ip 192.168.1.2 [*HUAWEI-lmp-peer-rta-Te-Link-1] data-link interface GigabitEthernet0/1/0 local interface-id 192.168.1.2 remote interface-id 192.168.1.1