100
[Sysname] mpls ldp remote-peer BJI
[Sysname-mpls-ldp-remote-bji] remote-ip 3.3.3.3
[Sysname-mpls-ldp-remote-bji] mpls ldp timer keepalive-hold 1000
mpls ldp transport-address
Description
Use the mpls ldp transport-address command to configure an LDP transport address.
Use the undo mpls ldp transport-address command to restore the default.
By default, a transport address takes the value of the MPLS LSR ID.
In interface view, you configure the link hello transport address. In MPLS LDP remote peer view, you
configure the targeted hello transport address.
Syntax
In interface view:
mpls ldp transport-address { ip-address | interface }
undo mpls ldp transport-address
In MPLS LDP remote peer view:
mpls ldp transport-address ip-address
undo mpls ldp transport-address
View
Interface view, MPLS LDP remote peer view
Default level
2: System level
Parameters
ip-address: Specifies the IP address for LDP to use as the LDP transport address.
interface: Specifies that LDP use the IP address of the current interface as the LDP transport address.
Examples
# On interface VLAN-interface 1, configure the link hello transport address as the IP address of the
current interface.
<Sysname> system-view
[Sysname] interface vlan-interface 1
[Sysname-Vlan-interface1] mpls
[Sysname-Vlan-interface1] mpls ldp
[Sysname-Vlan-interface1] mpls ldp transport-address interface
# Configure the targeted hello transport address to be 10.1.1.1.
<Sysname> system-view
[Sysname] mpls ldp remote-peer BJI
[Sysname-mpls-ldp-remote-bji] remote-ip 3.3.3.3
[Sysname-mpls-ldp-remote-bji] mpls ldp transport-address 10.1.1.1