beautypg.com

Configuring php – H3C Technologies H3C S10500 Series Switches User Manual

Page 71

background image

60

To do…

Use the command…

Remarks

Enter system view

system-view

Create a remote peer entity and
enter MPLS LDP remote peer view

mpls ldp remote-peer
remote-peer-name

Required

Configure the remote peer IP
address

remote-ip ip-address

Required

Configure LDP to advertise
prefix-based labels through a

remote session

prefix-label advertise

Optional
By default, LDP does not advertise

prefix-based labels through a

remote session.

Set the targeted Hello timer

mpls ldp timer hello-hold value

Optional
45 seconds by default

Set the targeted Keepalive timer

mpls ldp timer keepalive-hold
value

Optional
45 seconds by default

Configure the LDP transport
address

mpls ldp transport-address
ip-address

Optional
MPLS LSR ID of the LSR by default

NOTE:

The IP address specified as the LDP transport address must be the IP address of an interface on the
device.

The remote peer IP address to be configured must be different from all existing remote peer IP addresses.

If a local adjacency exists between two peers, no remote adjacency can be established between them.
If a remote adjacency exists between two peers, you can configure a local adjacency for them. However,

the local adjacency can be established only when the transport address and keepalive settings for the

local peer and those for the remote peer match, respectively, in which case the remote adjacency is
removed. Only one remote session or local session can exist between two LSRs, and the local session

takes precedence over the remote session.

By default, LDP does not advertise any prefix-based label mapping message through a remote session,
and remote sessions are used only to transfer messages for L2VPNs. For more information about remote
session applications, see the Martini MPLS L2VPN configuration in the chapter “MPLS L2VPN

configuration.”

Configuring PHP

Follow these steps to configure PHP:

To do…

Use the command…

Remarks

Enter system view

system-view

Enter MPLS view

mpls

Specify the type of the label to be
distributed by the egress to the

penultimate hop

label advertise { explicit-null |
implicit-null | non-null }

Optional
By default, an egress distributes to
the penultimate hop an implicit null

label.