Targeted-Peer - HPE 12500 Series Command Reference Manual

Mpls, routing switch series
Table of Contents

Advertisement

When you enable the session protection function, you can specify the session protection duration.
If the Link Hello adjacency does not recover within the duration, LDP deletes the Targeted Hello
adjacency and the LDP session. If you do not specify the session protection duration, the two peers
always maintain the LDP session over the Targeted Hello adjacency.
Examples
# Enable protection for the session to the peer 3.3.3.3, and set the session protection duration to
120 seconds.
<Sysname> system-view
[Sysname] ip prefix-list protected-peer-list index 1 permit 3.3.3.3 32
[Sysname] mpls ldp
[Sysname-ldp] session protection duration 120 peer protected-peer-list
Related commands
display mpls ldp peer

targeted-peer

Use targeted-peer to allow sending Targeted Hellos to and receiving Targeted Hellos from the
specified peer, and to enter LDP peer view.
Use undo targeted-peer to cancel the configuration.
Syntax
targeted-peer peer-lsr-id
undo targeted-peer peer-lsr-id
Default
The device does not send Targeted Hellos to or receive Targeted Hellos from any peer.
Views
LDP view
Predefined user roles
network-admin
mdc-admin
Parameters
peer-lsr-id: Specifies the LSR ID of a peer.
Usage guidelines
This command is used in the LDP over MPLS TE network to establish a unidirectional MPLS TE
tunnel. You must configure the targeted-peer command on the egress node of the MPLS TE tunnel
and specify the peer-lsr-id as the LSR ID of the ingress node, so that the egress node can receive
Targeted Hellos from the ingress and sends Targeted Hellos to the ingress to establish an LDP
session over the MPLS TE tunnel.
The switch does not support MPLS TE tunnels.
Examples
# Configure the device to send Targeted Hellos to the peer 3.3.3.3, and enter LDP peer view.
<Sysname> system-view
56

Advertisement

Table of Contents
loading

Table of Contents