3com 8807 Reference Guide

Page of 1099
686
C
HAPTER
 39: MPLS B
ASIC
 C
ONFIGURATION
 C
OMMANDS
<SW8800> system-view
 
[SW8800] mpls
 
[3Com-mpls] 
# Execute the mpls command in interface view.
[SW8800] vlan 201
 
[3Com-Vlan201] port gigabitethernet 2/1/1
 
[3Com-Vlan201] quit
 
[SW8800] interface vlan-interface 201
 
[3Com-vlan-interface201] mpls
 
% Info: MPLS in the interface is starting, please wait...OK 
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.
<SW8800> system-view
 
[SW8800] mpls lsr-id 202.17.41.246
 
% Info: Mpls lsr-id changed.  
snmp-agent trap enable 
ldp
Syntax
snmp-agent trap enable ldp
undo snmp-agent trap enable ldp
View
System view