Fast Reroute Commands
This chapter describes the RSVP-TE Fast Reroute commands.
Note: Constrained Shortest Path First (CSPF) is mandatory for FRR to work.
detour-allow-primary-upstream-path
Use this command to ensure detour formation to consider the upstream path of protected LSPs. This is a deviation to RFC 4090 section 6.2 recommendation (https://datatracker.ietf.org/doc/html/rfc4090). This command is intended to be used in special cases where detour protection is required on ring topology if no alternate path is available.
Use the no parameter with this command to bypass the upstream path to the protected LSP when choosing a detour path.
This command is intended to be used in ring topology if detour support is required at the cost of resource and link bandwidth. This command is not recommended to be configured otherwise.
For more information, refer to the command reference page for
detour-allow-primary-upstream-path in the
RSVP Detour Over Ring Topology section of the
OcNOS Key Feature document, Release 6.4.1.
default-frr-protection
Use this command to configure the default method of fast reroute protection when sender has not specified a method via FRR object but asked for local protection. This command is particularly useful with interop with Cisco as Cisco doesn’t send FRR object in path message. By default, default FRR protection considered to be one-to-one in OcNOS and in case of interop with Cisco where default protection needed is facility, this command shall be configured on all OcNOS devices in the network.
Note: Having this command configured in one OcNOS device and not configured in other OcNOS device in the network will cause unpredictable behavior as RFC recommendation for merge node behavior of facility and one-to-one are different.
Note: This command is applicable only when path message contains local protection flag set but doesn’t contain FRR object. When FRR object mentions protection type explicitly, this command is not applicable and also, if path message doesn’t request local protection, then also this command is not applicable.
Command Syntax
default-frr-protection (one-to-one | facility)
no default-frr-protection
Parameters
facility
Facility Backup (Bypass) protection
one-to-one
One-to-One protection mechanism
Default
By default, if local protection requested but FRR object not available, one-to-one protection is considered.
Command Mode
Router mode
Applicability
This command was introduced in OcNOS version 6.3.1.
Examples
#configure terminal
(config)#router rsvp
(config-router)# default-frr-protection facility
(config-router)# commit
(config-router)# no default-frr-protection
(config-router)# commit
detour-identification
Use this command to set a path-specific detour LSP identification method, using the detour object.
Use the no parameter with this command to unset the detour LSP identification method.
Note: This command helps identify the backup LSP identification method for one-to-one protection only.
Command Syntax
detour-identification (path|sender-template)
no detour-identification
Parameters
path
Set a path-specific detour identification method
sender-template
Set a sender template-specific detour identification method
Default
By default, detour identification is sender template
Command Mode
Router mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#configure terminal
(config)#router rsvp
(config-router)#detour-identification path
#configure terminal
(config)#router rsvp
(config-router)#detour-identification sender-template
#configure terminal
(config)#router rsvp
(config-router)#no detour-identification
primary fast-reroute bandwidth
Use this command to set the detour LSP bandwidth.
Note: This command helps identify attributes of the FRR backup LSP for the one-to-one protection method.
Use the no parameter with this command to unset fast-reroute LSP bandwidth.
Command Syntax
primary fast-reroute bandwidth BANDWIDTH
no primary fast-reroute bandwidth BANDWIDTH
no primary fast-reroute BANDWIDTH
Parameter
BANDWIDTH
<1-999>k for 1 to 999 kilobits/s
<1-999>m for 1 to 999 megabits/s
<1-100>g for 1 to 100 gigabits/s
Default
By default, primary fast reroute bandwidth is disabled
Command Mode
Trunk mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#configure terminal
(config)#rsvp-trunk T1
(config-trunk)#primary fast-reroute bandwidth 10000000
primary fast-reroute hold-priority
Use this command to set the hold-priority for a detour LSP.
Note: This command helps identify attributes of the FRR backup LSP for the one-to-one protection method.
Use the no parameter with this command to unset the detour LSP hold-priority.
Command Syntax
primary fast-reroute hold-priority <0-7>
no primary fast-reroute hold-priority (<0-7>|)
Parameter
<0-7>
Set the value for hold-priority
Default
By default, primary fast reroute hold priority is 0
Command Mode
Trunk mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#configure terminal
(config)#rsvp-trunk T1
(config-trunk)#primary fast-reroute hold-priority 3
primary fast-reroute hop-limit
Use this command to set the hop-limit for a detour LSP.
Note: This command helps identify attributes of the FRR backup LSP for the one-to-one protection method.
Use the no parameter with this command to unset the detour LSP hop-limit.
Command Syntax
primary fast-reroute hop-limit <1-255>
no primary fast-reroute hop-limit (<1-255>|)
Parameter
<1-255>
Set the number of hops
Default
By default, primary fast reroute hop limit is 255
Command Mode
Trunk mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#configure terminal
(config)#rsvp-trunk T1
(config-trunk)#primary fast-reroute hop-limit 25
primary fast-reroute node-protection
Use this command to set node protection.
Note: This command helps identify attributes of the FRR backup LSP for the one-to-one protection method.
Use the no parameter with this command to remove node protection.
Command Syntax
primary fast-reroute node-protection
no primary fast-reroute node-protection
Parameters
None
Default
By default, primary fast reroute node protection is disabled
Command Mode
Trunk mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#configure terminal
(config)#rsvp-trunk T1
(config-trunk)#primary fast-reroute node-protection
primary fast-reroute protection
Use this command to create an Fast Reroute backup and to set an LSP one-to-one protection or facility backup mechanism.
Note: Traffic switching of less than 50ms is not applicable for unknown unicast traffic received on edge nodes for VPLS services.
Use the no parameter with this command to remove LSP protection mechanism.
Parameters
None
Command Syntax
primary fast-reroute protection (one-to-one|facility)
no primary fast-reroute protection (one-to-one|facility)
Parameters
one-to-one
One-to-one protection
facility
Facility backup (bypass) protection"
Default
By default, primary fast reroute protection is disabled
Command Mode
Trunk mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#configure terminal
(config)#rsvp-trunk T1
(config-trunk)#primary fast-reroute protection one-to-one
primary fast-reroute setup-priority
Use this command to configure a setup-priority for the detour LSP.
Note: This command helps identify attributes of the FRR backup LSP for the one-to-one protection method.
Use the no parameter with this command to remove the detour LSP setup-priority.
Command Syntax
primary fast-reroute setup-priority <0-7>
no primary fast-reroute setup-priority (<0-7>|)
Parameter
<0-7>
Set a value for setup priority
Default
By default, primary fast reroute setup priority is 0
Command Mode
Trunk mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#configure terminal
(config)#rsvp-trunk T1
(config-trunk)#primary fast-reroute setup-priority 2