If dynamic LSP signaling is implemented in your network, then one of the two supported signaling protocols, RSVP or LDP, must be specified. Enable signaling protocols only on the links where the functionality is required. 
 
      
      
      
        
          
            | 
               •	 
             | 
            
              RSVP or LDP must be enabled on the same routers.  
             | 
          
        
       
      When MPLS is enabled and either RSVP or LDP is also enabled, MPLS uses RSVP 
or LDP to set up the configured LSPs. For example, when you configure an LSP with both MPLS and RSVP running, RSVP initiates a session for the LSP. RSVP uses the local router as the RSVP session sender and the LSP destination as the RSVP session receiver. When the RSVP session is created, the LSP is set up on the path created by the session. If the session is not successfully created, RSVP notifies MPLS; MPLS can then either initiate backup paths or retry the initial path.
 
      
      
      A:ALA-1>config>router>mpls# info
      ------------------------------------------
      	admin-group "green" 15
                  admin-group "yellow" 20
                  admin-group "red" 25
                  interface "system"
                  exit
                  interface "StaticLabelPop"
                      admin-group "green"
                      label-map 50
                          pop
                          no shutdown
                      exit
                  exit
                  interface "StaticLabelPop"
                      label-map 35
                          swap 36 nexthop 10.10.10.91
                          no shutdown
                      exit
                  exit
                  path "secondary-path"
                      no shutdown
                  exit
                  path "to-NYC"
                      hop 1 10.10.10.104  strict
                      no shutdown
                  exit
                  lsp "lsp-to-eastcoast"
                      to 10.10.10.104
                      from 10.10.10.103
                      fast-reroute one-to-one
                      exit
                      primary "to-NYC"
                      exit
                      secondary "secondary-path"
                      exit
                      no shutdown
                  exit
                  static-lsp "StaticLabelPush"
                      to 10.10.11.105
                      push 60 nexthop 10.10.11.105
                      no shutdown
                  exit
                  no shutdown
      ----------------------------------------------
      A:ALA-1>config>router>mpls#
      
      
      
      
      
      
      
      
      
        
          
            | 
               •	 
             | 
            
              In the config>router>mpls context, configure path parameters for configuring LSP parameters. A path specifies some or all hops from ingress to egress. A path can be used by multiple LSPs.   
             | 
          
        
       
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      A:ALA-1>config>router>mpls# info
      ----------------------------------------------
                  resignal-timer 500
                  admin-group "green" 15
                  admin-group "yellow" 20
                  admin-group "red" 25
      ...
      ----------------------------------------------
      A:ALA-1>config>router>mpls#
      
      
      Configure the label-map parameters if the interface is used in a static LSP. 
To configure an MPLS interface on a router, enter the following commands: 
 
      
      
      
      
      
      
      
      
      srlg-group group-name [
group-name...(up to 5 max)]
 
      
      
      
      
      A:ALA-1>config>router>mpls# info
      ----------------------------------------------
      ...
                  interface "to-104"
                      admin-group "green"
                      admin-group "red"
                      admin-group "yellow"
                      label-map 35
                          swap 36 nexthop 10.10.10.91
                          no shutdown
                      exit
                  exit
                  no shutdown
      ...
      ----------------------------------------------
      A:ALA-1>config>router>mpls#
      
      
      Configure an LSP path to use in MPLS. When configuring an LSP, the IP address of the hops that the LSP should traverse on its way to the egress router must be specified. The intermediate hops must be configured as either strict or loose meaning that the LSP must take either a direct path from the previous hop router to this router (strict) or can traverse through other routers (loose).  
      
      
      
      
      
      
      
      A:ALA-1>config>router>mpls# info
      ------------------------------------------
                  interface "system"
                  exit
                  path "secondary-path"
                      hop 1 10.10.0.121  strict
                      hop 2 10.10.0.145 strict
                      hop 3 10.10.0.1 strict
                      no shutdown
                  exit
                  path "to-NYC"
                      hop 1 10.10.10.103 strict
                      hop 2 10.10.0.210  strict
                      hop 3 10.10.0.215  loose
                  exit
      ------------------------------------------
      A:ALA-1>config>router>mpls#
      
      
      Configure an LSP path for MPLS. When configuring an LSP, you must specify the IP address of the egress router in the to statement. Specify the primary path to be used. Secondary paths can be explicitly configured or signaled upon the failure of the primary path. All other statements are optional. 
 
      
      
      A:ALA-1>config>router>mplp# info
      ----------------------------------------------
      ...
                  lsp "lsp-to-eastcoast"
                      to 192.168.200.41
                      rsvp-resv-style ff
                      cspf
                      include "red"
                      exclude "green"
                      adspec
                      fast-reroute one-to-one
                      exit
                      primary "to-NYC"
                          hop-limit 10
                      exit
                      secondary "secondary-path"
                          bandwidth 50000
                      exit
                      no shutdown
                  exit
                  no shutdown
      ----------------------------------------------
      A:ALA-1>config>router>mpls#
      
      
      
      
      
      
      
      push out-label nexthop ip-addr  
      
      
      
      A:ALA-1>config>router>mpls# info
      ----------------------------------------------
      ...
                  static-lsp "static-LSP"
                      to 10.10.10.124
                      push 60 nexthop 10.10.42.3
                      no shutdown
                  exit
      ...
      ----------------------------------------------
      A:ALA-1>config>router>mpls# 
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      A:ALA-48>config>router>mpls>path# info
      -------------------------------------------
      ...
                  path "BEFC"
                      hop 10 10.10.10.11  strict
                      hop 20 10.10.10.12  strict
                      hop 30 10.10.10.13  strict
                      no shutdown
                  exit
       
       
                  lsp "bypass-BC"
                      to 10.10.10.15
                      primary "BEFC"
                      exit
                      no shutdown
      ...
      -------------------------------------------
      A:ALA-48>config>router>mpls>path#
       
       
      Next, the configures an LSP from A to D and indicates fast-reroute bypass protection by selecting facility as the FRR method (config>router>mpls>lsp>fast-reroute facility). If the LSP goes through B, and bypass is requested, and the next hop is C, and there is a manually configured bypass-only tunnel from B to C, excluding link BC, then node B uses that.
 
      
      
      Initially, interfaces are configured in the config>router>mpls>interface context. Only these existing (MPLS) interfaces are available to modify in the 
config>router> rsvp context. Interfaces cannot be directly added in the RSVP context.
 
      
      
      A:ALA-1>config>router>rsvp# info
      ----------------------------------------------
      	interface "system"
                   no shutdown
                exit
                interface to-104
                   hello-interval 4000
                   no shutdown
                exit
                no shutdown
      ----------------------------------------------
      A:ALA-1>config>router>rsvp#
      
      
      
      
      
      
      
      
      
      
      
      
      A:ALA-1>config>router>rsvp# info
      ----------------------------------------------
                  keep-multiplier 5
                  refresh-time 60
                  msg-pacing
                      period 400
                      max-burst 400
                  exit
                  interface "system"
                      no shutdown
                  exit
                  interface to-104
                      hello-interval 4000
                      no shutdown
                  exit
                  no shutdown
      ----------------------------------------------
      A:ALA-1>config>router>rsvp#
      
      
      TE graceful shutdown can be enabled on a specific interface using the config>router>rsvp>interface>graceful-shutdown command. This interface is referred to as the maintenance interface.
 
      Graceful shutdown can be disabled by executing the no form of the command at the RSVP interface level or at the RSVP level. In this case, the user configured TE parameters of the maintenance links are restored and the maintenance node floods them.
 
      
      
      
      
      
      
      
      
      NOTE: In order to remove the MPLS instance, MPLS must be disabled (shutdown) and all SDP bindings to LSPs removed. If MPLS is not shutdown first, when the 
no mpls command is executed, a warning message on the console displays indicating that MPLS is still administratively up.
 
      When MPLS is shut down, the no mpls command deletes the protocol instance and removes all configuration parameters for the MPLS instance. 
To disable MPLS, use the 
shutdown command.
 
      
      
      
      
      NOTE: You must shut down MPLS entities in order to modify parameters. Re-enable (
no shutdown) the entity for the change to take effect. 
 
      
      
      
      
      
      A:ALA-1>>config>router>mpls>lsp# info
      ----------------------------------------------
                      shutdown
                      to 10.10.10.104
                      from 10.10.10.103
                      rsvp-resv-style ff
                      include "red"
                      exclude "green"
                      fast-reroute one-to-one
                      exit
                      primary "to-NYC"
                          hop-limit 50
                      exit
                      secondary "secondary-path"
                      exit
      ----------------------------------------------
      A:ALA-1>config>router>mpls#
      
      
      In order to modify path parameters, the config>router>mpls>path context must be shut down first. 
 
      
      
      A:ALA-1>config>router>mpls# info
      #------------------------------------------
      echo "MPLS"
      #------------------------------------------
      ...
                  path "secondary-path"
                      hop 1 10.10.0.111  strict
                      hop 2 10.10.0.222  strict
                      hop 3 10.10.0.123  strict
                      no shutdown
                  exit
                  path "to-NYC"
                      hop 1 10.10.10.104  strict
                      hop 2 10.10.0.210  strict
                      no shutdown
                  exit
      ...
      ----------------------------------------------
      A:ALA-1>config>router>mpls#
      
      
      In order to modify static LSP parameters, the config>router>mpls>path context must be shut down first. 
 
      
      
      A:ALA-1>config>router>mpls# info
      ----------------------------------------------
      ...
                  static-lsp "static-LSP"
                      to 10.10.10.234
                      push 102704 nexthop 10.10.8.114
                      no shutdown
                  exit
                  no shutdown
      ----------------------------------------------
      A:ALA-1>config>router>mpls#
      
      
      
      
      
      
      
       
       
       
      A:ALA-1>config>router>mpls# info
      ----------------------------------------------
      ...
      	admin-group "green" 15
                  admin-group "red" 25
                  admin-group "yellow" 20
                  interface "system"
                  exit
                  no shutdown
      ----------------------------------------------
      A:ALA-1>config>router>mpls#
       
      
      
      
      
      
      
      
      
      The no rsvp command deletes this RSVP protocol instance and removes all configuration parameters for this RSVP instance. 
The 
shutdown command suspends the execution and maintains the existing configuration.
 
      
      A:ALA-1>config>router>rsvp# info
      ----------------------------------------------
                  keep-multiplier 5
                  refresh-time 60
                  msg-pacing
                      period 400
                      max-burst 400
                  exit
                  interface "system"
                  exit
                  interface "test1"
                      hello-interval 5000
                  exit
                  no shutdown
      ----------------------------------------------
      A:ALA-1>config>router>rsvp#
       
      
      
      
      
      
      A:ALA-1>config>router>rsvp# info
      ----------------------------------------------
                  keep-multiplier 5
                  refresh-time 60
                  msg-pacing
                      period 200
                      max-burst 200
                  exit
                  interface "system"
                  exit
                  interface "to-104"
                  exit
                  no shutdown
      ----------------------------------------------
      A:ALA-1>config>router>rsvp#
      
      
      
      See Deleting an MPLS Interface for information on deleting an MPLS interface.