R0106-HP MSR Router Series MPLS Command Reference(V7)

69
Views
LDP view
Predefined user roles
network-admin
Parameters
peer-lsr-id: Specifies the LSR ID of a peer.
Usage guidelines
This command implements LDP over MPLS TE unidirectional tunnels.
To implement LDP over MPLS TE, you must configure this command on the egress node of the MPLS TE
tunnel, and specify the peer-lsr-id as the LSR ID of the ingress node. This enables the egress node to
receive Targeted Hellos from the ingress and send Targeted Hellos to the ingress to establish an LDP
session over the MPLS TE tunnel.
Examples
# Configure the device to send Targeted Hellos to the peer 3.3.3.3, and enter LDP peer view.
<Sysname> system-view
[Sysname] mpls ldp
[Sysname-ldp] targeted-peer 3.3.3.3
[Sysname-ldp-peer-3.3.3.3]
Related commands
display mpls ldp discovery
display mpls ldp peer
vpn-instance
Use vpn-instance to enable LDP for a VPN instance and enter LDP-VPN instance view.
Use undo vpn-instance to delete the LDP-VPN instance.
Syntax
vpn-instance vpn-instance-name
undo vpn-instance vpn-instance-name
Default
LDP is disabled for a VPN instance.
Views
LDP view
Predefined user roles
network-admin
Parameters
vpn-instance-name: Specifies a VPN instance by its name, a case-sensitive string of 1 to 31 characters.
Usage guidelines
Enabling LDP for VPNs is used for the Carrier's Carrier network that uses LDP between the Level 1 carrier
and Level 2 carrier PEs. In such a network, you must enable LDP for each VPN on each Level 1 carrier PE.