Configuring RSVP-TE
The basic configuration is required to globally enable RSVP-TE.
Basic Configuration
-
The device must be in MPLS RSVP mode. Enter the MPLS RSVP configuration Mode:
switch(config)# mpls rsvp switch(config-mpls-rsvp)# -
Enable RSVP-TE globally by issuing the no shutdown command in the MPLS RSVP configuration mode.
switch(config-mpls-rsvp)# no shutdown
The following sections describe some of the many configuration settings available. For a list of all available RSVP-TE commands, refer to RSVP-TE Commands.
Refresh Configuration
switch(config-mpls-rsvp)# refresh interval 30The refresh method can be configured to be either bundled or explicit. The default is bundled. With explicit refresh messages, LSPs will send Path and Resv messages individually to refresh. With bundled, Refresh Overhead Reduction will be enabled, and the refreshes for several LSPs will be bundled together in refresh messages using message IDs.
The bundled refresh method should be selected when using RSVP-TE at scale.
switch(config-mpls-rsvp)# refresh method bundled
Hello Configuration
switch(config-mpls-rsvp)# hello interval 10 multiplier 4 Cryptographic Authentication Extension
switch(config-mpls-rsvp)# authentication type md5 switch(config-mpls-rsvp)# authentication index 1 password s3cr3t
switch(config-mpls-rsvp)# authentication index 1 active The active password is used to authenticate outgoing messages. All configured passwords are accepted for authenticating incoming packets, allowing smooth key rollover.
(config-mpls-rsvp)# authentication sequence-number window 5 switch(config-mpls-rsvp)# neighbor 10.0.0.1 authentication type md5
switch(config-mpls-rsvp)# neighbor 10.0.0.1 authentication index 1 activePassword Obfuscation
switch(config-mpls-rsvp)#authentication index 1 password ?- 0 = Indicates that the key string is not encrypted.
- 7 = Specifies that a HIDDEN key will follow.
- 8a = Specifies that a AES-256-GCM encrypted key will follow.
- LINE = Unobfuscated key string.
switch(config-mpls-rsvp)# authentication index 1 password 7 07092E43Configuring Fast Reroute Extension
Fast ReRoute (FRR) may be enabled by setting the Fast Reroute mode to either link-protection or node-protection.
switch(config-mpls-rsvp)# fast-reroute mode link-protection
switch(config-mpls-rsvp)# fast-reroute mode node-protection
This setting only applies to the Point of Local Repair (PLR) behavior, meaning that the router is the upstream node relative to a to-be-protected link or node for routing an LSP. Merge Point (MP) behavior is not affected by this setting. In addition to affecting PLR behavior, this setting at the headend determines the local protection mode requested by LSPs originating from that node.
For backup tunnels to be programmed in hardware, hardware fast-failover must be configured. If this is not done, fast reroute will only be implemented in software, leading to slower convergence times in the event of a link or node failure.
switch(config)# router general
switch(config-router-general)# hardware next-hop fast-failover
The reversion behavior of FRR can also be configured to either global revertive mode or local revertive mode. The default is global revertive mode.
switch(config-mpls-rsvp)# fast-reroute reversion global
switch(config-mpls-rsvp)# fast-reroute reversion local
Bypass Re-optimization Interval
switch(config-mpls-rsvp)# fast-reroute bypass tunnel optimization interval 45 secondsAdministrative Group Constraints for Bypass LSPs
switch(config)# interface Et1
switch(config-if-Et1)# rsvp bypass administrative-group include all 1 include any 2-4 exclude 7,9 switch(config-if-Et1)# rsvp bypass administrative-group exclude 0x280 switch(config-if-Et1)# rsvp bypass administrative-group include all blue include any 2-4,red exclude green,7 Configuring Shared Risk Link Groups
switch(config-mpls-rsvp) # srlg
and
switch(config-mpls-rsvp) # srlg strict
switch(config)# interface Et1
switch(config-if-Et1)# traffic-engineering srlg 100
switch(config)# interface Et2
switch(config-if-Et2)# traffic-engineering srlg 200
Configuring Constrained Shortest Path First (CSPF)
switch(config)# router traffic-engineering
switch(config-te)# cspf delay initial 60000 back-off 60000 max 10000
The switch defaults to 100 for the initial wait interval, 200 for the back-off interval, and 1000 for the maximum wait interval, with all values in milliseconds.
Configuring Traffic Engineering
For CSPF to compute the FRR backup path to a particular destination, enable traffic-engineeringon all IGP-enabled interfaces and globally enable the traffic engineering extensions. For IS-IS, enable traffic-engineering under the Router ISIS configuration mode, and for OSPFv2, enable it in the Router OSPFv2 configuration mode. This is required for the IGP to start exchanging TE-related attributes with peers and build the topology database.
In addition, CSPF needs a router ID to uniquely identify a router, so that it can find a path to it. CSPF also uses the self router ID as a source for running SPF. A router ID must be configured under therouter traffic-engineering mode for CSPF to function properly.
Configuring MTU Signaling
switch(config-mpls-rsvp)# mtu signaling
The MTU will be evaluated and updated at each hop that has MTU signaling enabled. The value is updated by taking the minimum of the downstream interface MTU and the composed MTU value from the incoming Path message. On hops that do not have MTU signaling enabled, the composed MTU from the incoming Path message will be carried over into the outgoing Path message without update.
If MTU signaling is disabled at the headend, MTU discovery will not be performed for LSPs originating there.
Configuring a Preemption Method
switch(config-mpls-rsvp)# preemption method soft timer 10
switch(config-mpls-rsvp)# preemption method hard
The preemption method configured on the headend determines the requested preemption method by an LSP. If an LSP does not have soft preemption enabled on the headend, then hard preemption will be used along the path for that LSP. If an LSP requests soft preemption but soft preemption is disabled at a transit node, hard preemption will be used.
Configuring Graceful Restart
- Helper Mode only helps to restart RSVP neighbors.
- Speaker Mode allows the local node to restart gracefully with the help of RSVP neighbors.
If the Hello Messages feature is not enabled, Graceful Restart will be inactive. RSVP nodes participating in Graceful Restart exchange a new object in their Hello messages that advertise both Graceful Restart phases' time values: the restart phase and the recovery phase.
- If an RSVP node does not receive a Hello message from the neighbor before the end of the restart phase, Hello communication loss procedures begin for that neighbor.
- If an RSVP node receives a Hello message from a neighbor with the same source instance before the end of the restart phase, normal RSVP procedures resume, and no LSPs are brought down due to the Hello timeout.
- If an RSVP node receives a Hello message from a neighbor with a different source instance and a non-zero recovery period. The recovery phase begins for that neighbor. Source instances are allocated for the lifetime of an RSVP agent, so receiving a different source instance from a neighbor indicates that the neighbor's RSVP instance has restarted.
During the recovery phase, outgoing RSVP Resv messages are paused until the neighbor receives a Path message for the same LSP from the restarted neighbor. After receiving a Path message, the LSP's usual RSVP procedures restart. At the end of the recovery period, RSVP clears any data-plane and control-plane states for the neighbor that were not re-advertised since the neighbor was restarted.
Configuring Helper Mode
switch(config)# mpls rsvp
switch(config-mpls-rsvp)# graceful-restart role helper
switch(config-mpls-rsvp-gr-helper)# timer restart maximum 160 seconds
switch(config-mpls-rsvp-gr-helper)# timer recovery maximum 320 seconds
Configuring Speaker Mode
switch(config)# mpls rsvp
switch(config-mpls-rsvp)# graceful-restart role speaker
switch(config-mpls-rsvp-gr-speaker)# timer restart 160 seconds
switch(config-mpls-rsvp-gr-speaker)# timer recovery 320 seconds
Graceful Restart Limitations
- Some RSVP features and extensions are not supported across restarts.
- Graceful Restart does not support Fast-Reroute events during restart or recovery.
- Refresh Overhead Reduction states are cleared across restarts.
- Two neighbors restarting at the same time is not supported.
- Node-based hello messages are not supported.
Configuring Hitless Restart
Hitless Restart allows RSVP agents to be restarted without data-plane interruptions. Unlike Graceful Restart, this does not require neighbors configured in a helper role. During a Hitless Restart, the installed RSVP state will be preserved until either it is refreshed by its neighbors or the recovery period ends. At the end of the recovery period, any state that has not been refreshed will be cleared.
switch(config-mpls-rsvp)# hitless-restart
switch(config-mpls-rsvp-hr)# timer recovery 40 seconds
Hitless Restart Limitations
- Some RSVP features and extensions are not supported across restarts.
- Hitless Restart does not support Fast-Reroute events during recovery.
- Refresh Overhead Reduction states are cleared across restarts.
Explicit-Null
switch(config-mpls-rsvp)# label local-termination explicit-null
Sample RSVP-TE Configuration
ip routing
!
mpls ip
!
interface Ethernet1
no switchport
ip address 10.0.0.1/24
isis enable instance1
traffic-engineering
traffic-engineering bandwidth 100 percent
traffic-engineering metric 5
!
router traffic-engineering
router-id ipv4 0.1.1.1
!
router isis instance1
net 49.0000.0000.0000.1111.00
is-type level-2
!
address-family ipv4 unicast
maximum-paths 32
!
traffic-engineering
no shutdown
is-type level-2
!
mpls rsvp
no shutdown
refresh interval 60
refresh method bundled
hello interval 10 multiplier 4
authentication type md5
authentication sequence-number window 5
authentication index 1 password 7 141A0B1B0D17393C2B3A37
authentication index 1 active
neighbor 1.2.3.4 authentication index 1 active
fast-reroute mode link-protection
fast-reroute reversion global
fast-reroute bypass tunnel optimization interval 3600 seconds
srlg strict
label local-termination explicit-null
preemption method soft timer 30
mtu signaling