R3303-HP HSR6800 Routers MPLS Command Reference

58
Default command level
2: System level
Parameters
ip-address: Specifies the IP address to be used as the LDP transport address.
interface: Uses the IP address of the current interface as the LDP transport address.
Usage guidelines
In interface view, you configure the link Hello transport address. In MPLS LDP remote peer view, you
configure the targeted Hello transport address.
If two LSRs have multiple links in between and you want to establish an LDP session on each link, make
sure all the links use the same transport address.
Examples
# On interface GigabitEthernet 2/1/1, configure the link Hello transport address as the IP address of the
current interface.
<Sysname> system-view
[Sysname] interface gigabitethernet 2/1/1
[Sysname-GigabitEthernet2/1/1] mpls
[Sysname-GigabitEthernet2/1/1] mpls ldp
[Sysname-GigabitEthernet2/1/1] 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
mpls lspv
Use mpls lspv to enable the LSP verification function and enter MPLS LSPV view.
Use undo mpls lspv to disable the LSP verification function.
Syntax
mpls lspv
undo mpls lspv
Default
LSP verification is disabled.
Views
System view
Default command level
2: System level
Examples
# Enable LSP verification and enter MPLS LSPV view.
<Sysname> system-view
[Sysname] mpls lspv