R3303-HP HSR6800 Routers MPLS Command Reference

55
If the interface is bound to a VPN instance, use the mpls ldp vpn-instance command to enable LDP for the
VPN instance. For more information about the mpls ldp vpn-instance command, see "MPLS L3VPN
commands."
Examples
# Enable LDP for interface GigabitEthernet 2/1/1.
<Sysname> system-view
[Sysname] interface gigabitethernet 2/1/1
[Sysname-GigabitEthernet2/1/1] mpls
[Sysname-GigabitEthernet2/1/1] mpls ldp
mpls ldp remote-peer
Use mpls ldp remote-peer to create a remote peer entity and enter MPLS LDP remote peer view.
Use undo mpls ldp remote-peer to remove a remote peer entity.
Syntax
mpls ldp remote-peer remote-peer-name
undo mpls ldp remote-peer remote-peer-name
Views
System view
Default command level
2: System level
Parameters
remote-peer-name: Specify a name for the remote peer, a case-insensitive string of 1 to 32 characters.
Examples
# Create a remote peer entity named BJI and enter MPLS LDP remote peer view.
<Sysname> system-view
[Sysname] mpls ldp remote-peer BJI
[Sysname-mpls-ldp-remote-bji]
Related commands
remote-ip
mpls ldp timer hello-hold
Use mpls ldp timer hello-hold to set a Hello timer.
Use undo mpls ldp timer hello-hold to restore the default.
Syntax
mpls ldp timer hello-hold value
undo mpls ldp timer hello-hold
Default
The value of the link Hello timer is 15 seconds and that of the targeted Hello timer is 45 seconds.