48 MPLS BASIC CAPABILITYCONFIGURATIONMPLS Basic CapabilityOverviewBasic MPLS forwarding functions includes LDP session establishment and LSP pathmaintenance.The typical configuration procedure for enabling basic MPLS functions on arouting switch is as follows:1 Configure LSR ID2 Enable MPLS3 Enable LDP4 Enter VLAN interface view and enable MPLS and LDP on the interfaceThen the routing switch can provide MPLS forwarding and LDP signalingfunctions.If you want to modify the default parameters or enable some special functions, forexample, manually creating LSP or explicit route, you can configure according tothe methods in configuration list. For some complicated functions, configurationcombination may be required.MPLS Configuration The following sections describe the required configuration tasks for MPLS basiccapability:■ “Defining MPLS LSR ID”■ “Enabling MPLS and Entering MPLS View”The following sections describe the optional configuration tasks for MPLS basiccapability:■ “Configuring the Topology-Driven LSP Setup Policy”■ “Configuring an LSP Setup Policy”■ “Configuring Static LSP”Defining MPLS LSR ID Before configuring any other MPLS command, it is necessary to first configure theLSR ID. This ID is usually in IP address format and must be unique in the domain.Perform the following configuration in the system view.