3com 8807 User Guide

Page of 883
518
C
HAPTER
 48: MPLS B
ASIC
 C
APABILITY
 C
ONFIGURATION
By default, LDP is disabled.
Enabling LDP on a VLAN 
interface
To make the VLAN interface support LDP, you must enable LDP function on the 
interface in VLAN interface mode. After enabling the LDP function, the interface 
then sets up session. It begins to set up LSP if in topology-driven mode,.
Disabling LDP function on interface causes the break of all LDP session in VLAN 
interface, and all the LSP based on those sessions are deleted. So you must use this 
command with cautiously.
Perform the following configuration in the interface view.
By default, the interface LDP function is disabled.
Configuring 
Remote-Peer for 
Extended Discovery 
Mode
The Remote-peer configuration is mainly used for extended discovery mode so 
that this LSR can establish sessions with LSRs that are not directly connected with 
it at the link layer.
Enter Remote-peer view
Perform the following configuration in the system view.
There is no default remote-peer.
Configuring an address for the Remote-peer
You can specify the address of any LDP-enabled interface on the Remote-peer or 
the address of the Loopback interface on the LSR that has advertised the route as 
the address of the Remote-peer.
Perform the following configuration in the Remote-peer view.
Table 503   Enable/disable LDP view
Operation 
Command 
Enable LDP protocol 
mpls ldp 
Disable LDP 
undo mpls ldp
Table 504   Enable/disable LDP on an interface
Operation 
Command 
Enable LDP function on an interface 
mpls ldp enable 
Disable LDP function on an interface 
mpls ldp disable
Table 505   Enter Remote-peer view
Operation 
Command 
Enter Remote-peer view 
mpls ldp remote-peer index 
Delete the corresponding Remote-peer 
undo mpls ldp remote-peer index
Table 506   Configure a Remote-peer address
Operation 
Command 
Configure a remote-peer address 
remote-ip remoteip