Command Manual – MPLS 
Quidway S8500 Series Routing Switches  Chapter 1  MPLS Basic Configuration Commands
 
Huawei Technologies Proprietary 
1-7 
1.1.8  mpls lsr-id 
Syntax 
mpls lsr-id ip-address 
undo mpls lsr-id 
View 
System view  
Parameter 
ip-address: LSR ID, in the format of IP address, used to identify an LSR. 
Description 
Use the mpls lsr-id command to configure an LSR ID. 
Use the undo mpls lsr-id command to delete an LSR ID. 
By default, no LSR has an ID. 
You must configure the mpls lsr-id command first and then you can use the other 
MPLS-related commands.  
An LSR ID is in the format of IP address, thus a loopback address is recommended.  
Related command: display mpls interface. 
Example 
# Set the LSR ID to 202.17.41.246. 
<Quidway>system-view 
[Quidway] mpls lsr-id 202.17.41.246 
% Info: Mpls lsr-id changed.   
1.1.9  snmp-agent trap enable ldp 
Syntax 
snmp-agent trap enable ldp 
undo snmp-agent trap enable ldp 
View 
System view 
Parameter 
None