[no] ospf [ospf-instance] [router-id]
config>router
Supported on all 7210 SAS platforms as described in this document
This command configures the router ID for OSPF.
The router ID configured in the base instance of OSPF overrides the router ID configured in the config>router context.
The default value for the base instance is inherited from the configuration in the config>router context. When that command is not configured, the following applies.
The system uses the system interface address (which is also the loopback address).
If a system interface address is not configured, the last 32 bits of the chassis MAC address are used.
This is a required command when configuring multiple instances, and the instance being configured is not the base instance. When configuring multiple instances of OSPF, there is a risk of loops because networks are advertised by multiple domains configured with multiple interconnections to one another. To avoid this from happening, all routers in a domain should be configured with the same domain ID. Each domain (OSPF instance) should be assigned a specific bit value in the 32-bit tag mask.
The default value for non-base instances is 0.0.0.0 and is invalid; in this case the instance of OSPF will not start. When configuring a new router ID, the instance is not automatically restarted with the new router ID.
The next time the instance is initialized, the new router ID is used.
Issue the shutdown and no shutdown commands for the instance for the new router ID to be used, or reboot the entire router.
The no form of this command to reverts to the default value.
The number of OSPF instances supported on various 7210 SAS platforms are different. Contact a Nokia representative for information about the supported scaling limits.
no ospf
Specifies a unique integer that identifies an instance of a version of the OSPF protocol running in the router instance specified by the router ID.
[no] ospf3
config>router
Supported on all 7210 SAS platforms as described in this document
Commands in this context configure OSPF to support version 6 of the Internet Protocol (IPv6).
When an OSPF instance is created, the protocol is enabled. To start or suspend execution of the OSPF protocol without affecting the configuration, use the no shutdown command.
The no form of this command deletes the OSPF protocol instance removing all associated configuration parameters.
no ospf
advertise-router-capability {link | area | as}
no advertise-router-capability
config>router>ospf
7210 SAS-Mxp
This command enables the advertisement of a router's capabilities to its neighbors for informational and troubleshooting purposes. A router information (RI) LSA as defined in RFC 4970 advertises the following capabilities:
OSPF graceful restart capable: no
OSPF graceful restart helper: yes, when enabled
OSPF stub router support: yes
OSPF traffic engineering support: yes, when enabled
OSPF point-to-point over LAN: yes
OSPF experimental TE: no
The link, area, and as keywords control the scope of the capability advertisements.
The no form of this command disables this advertisement capability.
no advertise-router-capability
Keyword specifying to advertise only over local links and not flood beyond.
Keyword specifying to advertise only within the area of origin.
Keyword specifying to advertise throughout the entire autonomous system.
[no] asbr [trace-path domain-id]
config>router>ospf
config>router>ospf3
Supported on all 7210 SAS platforms as described in this document
This command configures the router as an Autonomous System Boundary Router (ASBR) if the router is to be used to export routes from the Routing Table Manager (RTM) into this instance of OSPF. When a router is configured as an ASBR, the export policies into this OSPF domain take effect. If no policies are configured, no external routes are redistributed into the OSPF domain.
When configuring multiple instances of OSPF there is a risk of loops because networks are advertised by multiple domains configured with multiple interconnections to one another. To avoid this, configure all routers in a domain with the same domain ID. Each domain (OSPF-instance) should be assigned a specific bit value in the 32-bit tag mask.
When an external route is originated by an ASBR using an internal OSPF route in a specific domain, the corresponding bit is set in the AS-external LSA. As the route gets redistributed from one domain to another, more bits are set in the tag mask, each corresponding to the OSPF domain the route visited. Route redistribution looping is prevented by checking the corresponding bit as part of the export policy; if the bit corresponding to the announcing OSPF process is already set, the route is not exported there. The following figure shows the checking of corresponding bit.
Domain IDs are incompatible with any other use of normal tags. The domain ID should be configured with a value between 1 and 31 by each router in a specific OSPF domain (OSPF Instance).
When an external route is originated by an ASBR using an internal OSPF route in a specific domain, the corresponding bit is set in the AS-external LSA.
The no form of this command removes the ASBR status and withdraws the routes redistributed from the RTM into this instance of OSPF from the link state database.
no asbr
Specifies the domain ID.
[no] compatible-rfc1583
config>router>ospf
Supported on all 7210 SAS platforms as described in this document
This command enables OSPF summary and external route calculations in compliance with RFC1583 and earlier RFCs.
RFC1583 and earlier RFCs use a different method to calculate summary and external route costs. To avoid routing loops, all routers in an OSPF domain should perform the same calculation method.
Although it is favorable to require all routers to run a more current compliance level, this command allows the router to use obsolete methods of calculation.
The no form of this command enables the post-RFC1583 method of summary and external route calculation.
compatible-rfc1583
[no] disable-ldp-sync
config>router>ospf
Supported on all 7210 SAS platforms as described in this document
This command disables the IGP-LDP synchronization feature on all interfaces participating in the OSPF routing protocol. When this command is executed, IGP immediately advertises the actual value of the link cost for all interfaces that have the IGP-LDP synchronization enabled if the currently advertised cost is different. The command then disables IGP-LDP synchronization for all interfaces. This command does not delete the interface configuration. The no form of this command must be entered to re-enable IGP-LDP synchronization for this routing protocol.
The no form of this command reverts to the default values and re-enables IGP-LDP synchronization on all interfaces participating in the OSPF routing protocol and for which the ldp-sync-timer is configured.
no disable-ldp-sync
export policy-name [policy-name…]
no export
config>router>ospf
config>router>ospf3
Supported on all 7210 SAS platforms as described in this document
This command associates export route policies to determine which routes are exported from the route table to OSPF. Export polices are only in effect if OSPF is configured as an ASBR.
If no export policy is specified, non-OSPF routes are not exported from the routing table manager to OSPF.
If multiple policy names are specified, the policies are evaluated in the order they are specified. The first policy that matches is applied. If multiple export commands are issued, the last command entered overrides the previous command. A maximum of five policy names can be specified.
The no form of this command removes all policies from the configuration.
no export
Specifies the export route policy name. Allowed values are any string up to 32 characters composed of printable, 7-bit ASCII characters. If the string contains special characters (#, $, spaces, and so on), the entire string must be enclosed within double quotes.
The specified names must already be defined.
export-limit number [log percentage]
no export-limit
config>router>ospf
config>router>ospf3
Supported on all 7210 SAS platforms as described in this document
This command configures the maximum number of routes (prefixes) that can be exported into OSPF from the route table.
The no form of this command removes the parameters from the configuration.
no export-limit
Specifies the maximum number of routes (prefixes) that can be exported into OSPF from the route table.
Specifies the percentage of the export limit, at which point a warning log message and SNMP notification are sent.
external-db-overflow limit interval
no external-db-overflow
config>router>ospf
config>router>ospf3
Supported on all 7210 SAS platforms as described in this document
This command enables limits on the number of non-default AS-external-LSA entries that can be stored in the LSDB and specifies a wait timer before processing these after the limit is exceeded.
The limit value specifies the maximum number of non-default AS-external-LSA entries that can be stored in the link-state database (LSDB). Placing a limit on the non-default AS-external-LSAs in the LSDB protects the router from receiving an excessive number of external routes that consume excessive memory or CPU resources. If the number of routes reach or exceed the limit , the table is in an overflow state. When in an overflow state, the router will not originate any new AS-external-LSAs. In fact, it withdraws all the self-originated non-default external LSAs.
The interval value specifies the amount of time to wait after an overflow state before regenerating and processing non-default AS-external-LSAs. The waiting period acts like a dampening period preventing the router from continuously running Shortest Path First (SPF) calculations caused by the excessive number of non-default AS-external LSAs.
The external-db-overflow must be set identically on all routers attached to any regular OSPF area. OSPF stub areas and not-so-stubby areas (NSSAs) are excluded.
The no form of this command disables limiting the number of non-default AS-external-LSA entries.
no external-db-overflow
Specifies the maximum number of non-default AS-external-LSA entries that can be stored in the LSDB before going into an overflow state, expressed as a decimal integer.
Specifies the number of seconds after entering an overflow state before attempting to process non-default AS-external-LSAs, expressed as a decimal integer.
external-preference preference
no external-preference
config>router>ospf
config>router>ospf3
Supported on all 7210 SAS platforms as described in this document
This command configures the preference for OSPF external routes.
A route can be learned by the router from different protocols, in which case the costs (metrics) are not comparable. When this occurs the preference is used to decide which route is used.
Different protocols should not be configured with the same preference; if this occurs the tiebreaker is per the default preference table as defined in the Table: Route preference defaults by route type. If multiple routes are learned with an identical preference using the same protocol, the lowest cost route is used.
If multiple routes are learned with an identical preference using the same protocol and the costs (metrics) are equal, the decision of which route to use is determined by the configuration of the ecmp command in the config>router context.
The no form of this command reverts to the default value.
external-preference 150
Specifies the preference for external routes expressed as a decimal integer. The following table lists the defaults for different route types.
Route type |
Preference |
Configurable |
---|---|---|
Direct attached |
0 |
No |
Static routes |
5 |
Yes |
OSPF internal |
10 |
Yes 1 |
IS-IS level 1 internal |
15 |
Yes |
IS-IS level 2 internal |
18 |
Yes |
OSPF external |
150 |
Yes |
IS-IS level 1 external |
160 |
Yes |
IS-IS level 2 external |
165 |
Yes |
BGP |
170 |
Yes |
[no] graceful-restart
config>router>ospf
config>router>ospf3
Supported on all 7210 SAS platforms as described in this document
This command enables graceful-restart for OSPF or OSPFv3. When the control plane of a GR-capable router fails, the neighboring routers (GR helpers) temporarily preserve adjacency information, so packets continue to be forwarded through the failed GR router using the last known routes. If the control plane of the GR router comes back up within the GR timer, the routing protocols reconverge to minimize service interruption.
The no form of this command disables graceful restart and removes all graceful restart configurations in the OSPF or OSPFv3 instance.
no graceful-restart
[no] helper-disable
config>router>ospf>graceful-restart
config>router>ospf3>graceful-restart
Supported on all 7210 SAS platforms as described in this document
This command disables the helper support for graceful restart.
When graceful-restart is enabled, the router can be a helper (meaning that the router is helping a neighbor to restart), be a restarting router, or both. The 7210 SAS supports only helper mode. This facilitates the graceful restart of neighbors but does not act as a restarting router.
The no helper-disable command enables helper support and is the default when graceful-restart is enabled.
disabled
[no] ldp-over-rsvp
config>router>ospf
Supported on all 7210 SAS platforms as described in this document
This command enables LDP-over-RSVP processing in this OSPF instance.
loopfree-alternate [remote-lfa]
loopfree-alternate remote-lfa [max-pq-cost value]
no loopfree-alternate
config>router>ospf
Supported on all 7210 SAS platforms as described in this document
This command enables Loop-Free Alternate (LFA) computation by SPF for the OSPF routing protocol instance level.
When this command is enabled, it instructs the IGP SPF to attempt to precompute both a primary next hop and an LFA next hop for every learned prefix. When found, the LFA next hop is populated into the routing table along with the primary next hop for the prefix.
The remote LFA next-hop calculation by the IGP LFA SPF is enabled by appending the remote-lfa option. When this option is enabled in an IGP instance, SPF performs the remote LFA additional computation following the regular LFA next-hop calculation when the latter results in no protection for one or more prefixes that are resolved to a specific interface.
Remote LFA extends the protection coverage of LFA-FRR to any topology by automatically computing and establishing or tearing down shortcut tunnels, also referred to as repair tunnels, to a remote LFA node, that puts the packets back into the shortest path without looping them back to the node that forwarded them over the repair tunnel. The remote LFA node is referred to as a PQ node. A repair tunnel can, in theory, be an RSVP LSP, an LDP-in-LDP tunnel, or a segment routing tunnel. Using segment routing repair tunnels is restricted to the remote LFA node.
The remote LFA algorithm is a per-link LFA SPF calculation and is not per-prefix like the regular LFA calculation. It provides protection to all destination prefixes that share the protected link by using the neighbor on the other side of the protected link as a proxy for those prefixes.
no loopfree-alternate
Keyword to enable remote LFA next-hop calculation by the IGP LFA SPF.
Specifies the maximum IGP cost from the router that is performing the remote LFA calculation to the candidate P or Q node.
loopfree-alternate-exclude prefix-policy prefix-policy [prefix-policy ... (up to 5)]
no loopfree-alternate-exclude
config>router>ospf
Supported on all 7210 SAS platforms as described in this document
This command excludes from LFA SPF calculation prefixes that match a prefix entry or a tag entry in a prefix policy.
The implementation already allows the user to exclude an interface in IS-IS or OSPF, an OSPF area, or an IS-IS level from the LFA SPF.
If a prefix is excluded from LFA, it is not included in LFA calculation regardless of its priority. The prefix tag is, however, used in the main SPF. Prefix tags are defined for the IS-IS protocol but not for the OSPF protocol.
The default action of the loopfree-alternate-exclude command, when not explicitly specified by the user in the prefix policy, is a ‟reject”. Therefore, regardless of whether the user explicitly added the statement ‟default-action reject” to the prefix policy, a prefix that does not match an entry in the policy is accepted into LFA SPF.
The no form of this command deletes the exclude prefix policy.
Specifies the name of the prefix policy, 32 characters maximum. The specified name must have been previously defined.
overload [timeout seconds]
no overload
config>router>ospf
config>router>ospf3
Supported on all 7210 SAS platforms as described in this document
This command changes the overload state of the local router so that it appears to be overloaded. When overload is enabled, the router can participate in OSPF routing, but is not used for transit traffic. Traffic destined for directly attached interfaces continues to reach the router.
Enter a timeout value to put the IGP in an overload state. The IGP enters the overload state until the timeout timer expires or a no overload command is executed.
If the overload command is encountered during the execution of an overload-on-boot command, this command takes precedence. This could occur as a result of a saved configuration file where both parameters are saved. When the file is saved by the system, the overload-on-boot command is saved after the overload command. However, when overload-on-boot is configured under OSPF with no timeout value, the router remains in the overload state indefinitely after a reboot.
The no form of this command reverts to the default value. When the no overload command is executed, the overload state is terminated regardless of the reason the protocol entered overload state.
no overload
Specifies the number of seconds to reset overloading.
[no] overload-include-stub
config>router>ospf
config>router>ospf3
Supported on all 7210 SAS platforms as described in this document
This command determines whether the OSPF stub networks should be advertised with a maximum metric value when the system goes into overload state for any reason. When enabled, the system uses the maximum metric value. When this command is enabled and the router is in overload, all stub interfaces, including loopback and system interfaces, are advertised at the maximum metric.
no overload-include-stub
overload-on-boot [timeout seconds]
no overload
config>router>ospf
config>router>ospf3
Supported on all 7210 SAS platforms as described in this document
When the router is in an overload state, the router is used only if there is no other router to reach the destination. This command configures the IGP upon boot-up in the overload state until one of the following events occur:
timeout timer expires
manual override of the current overload state is entered with the no overload command
The no overload command does not affect the overload-on-boot function.
The default timeout value is 60 seconds, which means that after 60 seconds in overload status the 7210 SAS recovers (changes back to non-overload status). However, when the overload-on-boot command is configured under OSPF with no timeout value, the router remains in the overload state indefinitely after a reboot.
The no form of this command removes the overload-on-boot functionality from the configuration.
Specifies the number of seconds to reset overloading.
preference preference
no preference
config>router>ospf
config>router>ospf3
Supported on all 7210 SAS platforms as described in this document
This command configures the preference for OSPF internal routes.
A route can be learned by the router from different protocols, in which case the costs are not comparable. When this occurs, the preference is used to decide which route is used.
Different protocols should not be configured with the same preference, if this occurs the tiebreaker decision is made according to the default preferences defined in Table: Route preference defaults by route type . If multiple routes are learned with an identical preference using the same protocol, the lowest cost route is used.
The no form of this command reverts to the default value.
preference 10
Specifies the preference for internal routes, expressed as a decimal integer. The following table lists defaults for different route types.
Route type |
Preference |
Configurable |
---|---|---|
Direct attached |
0 |
No |
Static routes |
5 |
Yes |
OSPF internal |
10 |
Yes 2 |
IS-IS level 1 internal |
15 |
Yes |
IS-IS level 2 internal |
18 |
Yes |
OSPF external |
150 |
Yes |
IS-IS level 1 external |
160 |
Yes |
IS-IS level 2 external |
165 |
Yes |
BGP |
170 |
Yes |
reference-bandwidth reference-bandwidth
no reference-bandwidth
config>router>ospf
config>router>ospf3
Supported on all 7210 SAS platforms as described in this document
This command configures the reference bandwidth used to calculate the default costs of interfaces based on their underlying link speed.
The default interface cost is calculated as follows:
cost = reference bandwidth/bandwidth
The default reference bandwidth is 100 000 000 kb/s or 100 Gb/s; therefore the default auto-cost metrics for various link speeds are as follows:
10 Mb/s link: default cost of 10000
100 Mb/s link: default cost of 1000
1 Gb/s link: default cost of 100
10 Gb/s link: default cost of 10
The reference-bandwidth command assigns a default cost to the interface based on the interface speed. To override this default cost on a particular interface, use the metric metric command in the config>router>ospf>area>interface ip-int-name context.
The no form of this command reverts to the default value.
reference-bandwidth 100000000
Specifies the reference bandwidth in kilobits per second, expressed as a decimal integer.
router-id ip-address
no router-id
config>router>ospf
config>router>ospf3
Supported on all 7210 SAS platforms as described in this document
This command configures the router ID for the OSPF instance.
Configuring the router ID in the base instance of OSPF overrides the router ID configured in the config>router context.
The default value for the base instance is inherited from the configuration in the config>router context. If the router ID is not configured in the config>router context, the following applies.
The system uses the system interface address (which is also the loopback address).
If a system interface address is not configured, the system uses the last 32 bits of the chassis MAC address.
This is a required command when configuring multiple instances and the instance being configured is not the base instance.
When configuring a new router ID, the instance is not automatically restarted with the new router ID. The next time the instance is initialized, the new router ID is used.
To force the new router ID to be used, issue the shutdown and no shutdown commands for the instance, or reboot the entire router.
By default, the value for non-base instances is 0.0.0.0 and is invalid, in this case the instance of OSPF does not start and when running a show command an error is displayed
The no form of this command reverts to the default value.
Specifies a 32-bit, unsigned integer uniquely identifying the router in the AS.
segment-routing
no segment-routing
config>router>ospf
7210 SAS-Mxp, 7210 SAS-R6, 7210 SAS-R12, and 7210 SAS-Sx/S 1/10GE
Commands in this context configure segment routing parameters within an IGP instance.
Segment routing adds to OSPF routing protocols the ability to perform shortest path routing and source routing using the concept of the abstract segment. A segment can represent a local prefix of a node, a specific adjacency of the node (interface or next hop), a service context, or a specific explicit path over the network. For each segment, the IGP advertises an identifier referred to as a segment ID (SID).
When segment routing is used together with the MPLS data plane, the SID is a standard MPLS label. A router forwarding a packet using segment routing pushes one or more MPLS labels.
Segment routing using MPLS labels is used in both shortest path routing applications and traffic engineering applications. This command configures the shortest path forwarding application.
After segment routing is configured in the OSPF instance, the router performs the following operations.
Advertises the segment routing capability sub-TLV to routers in all areas and levels of this IGP instance. However, only neighbors with which it established an adjacency interpret the SID and label range information and use it for calculating the label to swap to or push for a specific resolved prefix SID.
Advertises the assigned index for each configured node SID in the new prefix SID sub-TLV with the N-flag (node-SID flag) set. The segment routing module then programs the incoming label map (ILM) with a pop operation for each local node SID in the datapath.
Automatically assigns and advertises an adjacency SID label for each formed adjacency over a network IP interface in the new adjacency SID sub-TLV. The segment routing module programs the ILM with a pop operation (in effect with a swap to an implicit null label operation), for each advertised adjacency SID.
Resolves received prefixes, and if a prefix SID sub-TLV exists, the segment routing module programs the ILM with a swap operation and an LTN with a push operation both pointing to the primary/LFA NHLFE. An SR tunnel is also added to the TTM.
When the user enables segment routing in an IGP instance, the main SPF and LFA SPF are computed, and the primary next hop and LFA backup next hop for a received prefix are added to the RTM without the label information advertised in the prefix SID sub-TLV.
The no form of this command reverts to the default value.
prefix-sid-range {global | start-label label-value max-index index-value}
no prefix-sid-range
config>router>ospf>segment-routing
7210 SAS-Mxp, 7210 SAS-R6, 7210 SAS-R12, and 7210 SAS-Sx/S 1/10GE
This command configures the prefix SID index range and offset label value for an IGP instance.
The user must configure the prefix SID index range and the offset label value that this IGP instance uses. Because each prefix SID represents a network global IP address, the SID index for a prefix must be unique in the network. Therefore, all routers in the network are expected to configure and advertise the same prefix SID index range for an IGP instance. However, the label value used by each router to represent this prefix, that is, the label programmed in the ILM, can be local to that router by the use of an offset label, referred to as a start label, as in the following:
The label operation in the network becomes similar to LDP when operating in the independent label distribution mode (RFC 5036), with the difference that the label value used to forward a packet to each downstream router is computed by the upstream router based on the advertised prefix SID index using the preceding formula.
There are two mutually exclusive modes of operation for the prefix SID range on the router. In the global mode of operation, the user configures the global value and this IGP instance assumes the start label value is the lowest label value in the SRGB and the prefix SID index range size equal to the range size of the SRGB. When one IGP instance selects the global option for the prefix SID range, all IGP instances on the system are restricted to do the same. The user must shut down the segment routing context and delete the prefix-sid-range command in all IGP instances to change the SRGB. After the SRGB is changed, the user must re-enter the prefix-sid-range command. The SRGB range change fails if an already allocated SID index or label goes out of range.
In the per-instance mode of operation, the user partitions the SRGB into non-overlapping sub-ranges among the IGP instances. The user therefore configures a subset of the SRGB by specifying the start label value and the prefix SID index range size. All resulting net label values (start-label + index) must be within the SRGB or the configuration fails.
Furthermore, the code checks for overlaps of the resulting net label value range across IGP instances and strictly enforces that these ranges do not overlap. The user must shut down the segment routing context of an IGP instance to change the SID index or label range of that IGP instance using the prefix-sid-range command.
In addition, any range change fails if an already allocated SID index or label goes out of range. The user can, however, change the SRGB on the fly as long as it does not reduce the current per-IGP instance SID index or label range defined in the prefix-sid-range command. Otherwise, the user must shut down the segment routing context of the IGP instance and delete and reconfigure the prefix-sid-range command.
The no form of this command reverts to the default value.
no prefix-sid-range
Specifies the label offset for the SR label range of this IGP instance.
Specifies the maximum value of the prefix SID index range for this IGP instance.
Keyword to enable global operation mode.
tunnel-mtu bytes
no tunnel-mtu
config>router>ospf>segment-routing
7210 SAS-Mxp, 7210 SAS-R6, 7210 SAS-R12, and 7210 SAS-Sx/S 1/10GE
This command configures the MTU of all SR tunnels within each IGP instance.
The MTU of an SR tunnel populated into the TTM is determined as in the case of an IGP tunnel; for example, LDP LSP, based on the outgoing interface MTU minus the label stack size. Remote LFA can add at least two more labels to the tunnel for a total of three labels. There is no default value. If the user does not configure an SR tunnel MTU, the MTU is determined by IGP.
The MTU of the SR tunnel in bytes is determined as follows:
Where:
Cfg_SR_MTU is the MTU configured by the user for all SR tunnels within a specific IGP instance using this command. If no value was configured by the user, the SR tunnel MTU is determined by the following IGP interface calculation.
IGP_Tunnel_MTU is the minimum of the IS-IS or OSPF interface MTU among all the ECMP paths or among the primary and LFA backup paths of this SR tunnel.
frr-overhead is set to 1 if segment-routing and remote-lfa options are enabled in the IGP instance. Otherwise, it is set to 0.
The SR tunnel MTU is dynamically updated whenever any of the preceding parameters used in its calculation changes. This includes when the set of tunnel next hops changes, or the user changes the configured SR MTU or interface MTU value.
The no form of this command reverts to the default value.
no tunnel-mtu
Specifies the size of the maximum transmission unit (MTU) in bytes.
tunnel-table-pref preference
no tunnel-table-pref
config>router>ospf>segment-routing
7210 SAS-Mxp, 7210 SAS-R6, 7210 SAS-R12, and 7210 SAS-Sx/S 1/10GE
This command configures the TTM preference of shortest path SR tunnels created by the IGP instance. The TTM preference is used in the case of VPRN auto-bind or BGP transport tunnels when the new tunnel binding commands are configured to the any value, which parses the TTM for tunnels in the protocol preference order. The user can either use the global TTM preference or list the tunnel types they want to use. When they list the tunnel types explicitly, the TTM preference is used to select one type over the other. In both cases, a fallback to the next preferred tunnel type is performed if the selected one fails. Also, a reversion to a more preferred tunnel type is performed as soon as one is available.
The segment routing module adds an SR tunnel entry to the TTM for each resolved remote node SID prefix and programs the datapath with the corresponding LTN with the push operation pointing to the primary and LFA backup NHLFEs.
The default preference for shortest path SR tunnels in the TTM is set lower than LDP tunnels but higher than BGP tunnels to allow controlled migration of customers without disrupting their current deployment when they enable segment routing. The following is the setting of the default preference for various tunnel types. This includes the preference of SR tunnels based on the shortest path (referred to as SR-OSPF).
The global default TTM preference for the tunnel types is as follows:
ROUTE_PREF_RSVP 7
ROUTE_PREF_SR_TE 8
ROUTE_PREF_LDP 9
ROUTE_PREF_OSPF_TTM 10
ROUTE_PREF_ISIS_TTM 11
ROUTE_PREF_BGP_TTM 12
ROUTE_PREF_GRE 255
The default value for SR-OSPF is the same regardless of whether one or more OSPF instances programmed a tunnel for the same prefix. The selection of an SR tunnel in this case is based on the lowest IGP instance ID.
The no form of this command reverts to the default value.
no tunnel-table-pref
Specifies the integer value to represent the preference of OSPF SR tunnels in the TTM.
timers
config>router>ospf
config>router>ospf3
Supported on all 7210 SAS platforms as described in this document
Commands in this context configure OSPF timers. Timers control the delay between the receipt of a link state advertisement (LSA) requiring a Dijkstra (Shortest Path First (SPF)) calculation and the minimum time between successive SPF calculations.
Changing the timers affects CPU utilization and network reconvergence times. Lower values reduce convergence time but increase CPU utilization. Higher values reduce CPU utilization but increase reconvergence time.
lsa-arrival lsa-arrival-time
no lsa-arrival
config>router>ospf>timers
config>router>ospf3>timers
Supported on all 7210 SAS platforms as described in this document
This command defines the minimum delay that must pass between receipt of the same LSAs arriving from neighbors.
Nokia recommends that the lsa-generate lsa-second-wait interval for the neighbors be equal to or greater than the lsa-arrival-time value.
The no form of this command reverts to the default value.
no lsa-arrival
Specifies the timer in milliseconds. Values entered that do not match this requirement are rejected.
lsa-generate max-lsa-wait [lsa-initial-wait [lsa-second-wait]]
no lsa-generate-interval
config>router>ospf>timers
config>router>ospf3>timers
Supported on all 7210 SAS platforms as described in this document
This command customizes the throttling of OSPF LSA generation. Timers that determine when to generate the first, second, and subsequent LSAs can be controlled with this command. Subsequent LSAs are generated at increasing intervals of the lsa-second-wait timer until a maximum value is reached.
Nokia recommends configuring the lsa-arrival-time to be equal to or less than the lsa-second-wait interval configured in the lsa-generate command.
The no form of this command reverts to the default value.
no lsa-generate
Specifies the maximum interval, in milliseconds, between two consecutive occurrences of an LSA being generated.
Specifies the first waiting period between LSAs generated, in milliseconds. When the LSA exceeds the lsa-initial-wait timer value and the topology changes, there is no wait period and the LSA is immediately generated.
When an LSA is generated, the initial wait period commences. If another topology change occurs within the specified lsa-initial-wait period, the lsa-initial-wait timer applies.
Specifies the hold time, in milliseconds, between the first and second LSA generation. The next topology change is subject to this second wait period. With each subsequent topology change, the wait time doubles (that is, two times the previous wait time). This assumes that each failure occurs within the relevant wait period.
spf-wait max-spf-wait [spf-initial-wait [spf-second-wait]]
no spf-wait
config>router>ospf>timers
config>router>ospf3>timers
Supported on all 7210 SAS platforms as described in this document
This command defines the maximum interval between two consecutive SPF calculations, in milliseconds. Timers that determine when to initiate the first, second, and subsequent SPF calculations after a topology change occurs can be controlled with this command. Subsequent SPF runs (if required) occur at exponentially increasing intervals of the spf-second-wait interval. For example, if the spf-second-wait interval is 1000, the next SPF runs after 2000 milliseconds, and the next SPF runs after 4000 milliseconds, and so on, until it reaches the spf-wait value. The SPF interval stays at the spf-wait value until there are no more SPF runs scheduled in that interval. After a full interval without any SPF runs, the SPF interval drops back to spf-initial-wait.
The timer must be entered in increments of 100 milliseconds. Values entered that do not match this requirement are rejected.
The no form of this command reverts to the default value.
no spf-wait
Specifies the maximum interval, in milliseconds, between two consecutive SPF calculations.
Specifies the initial SPF calculation delay, in milliseconds, after a topology change.
Specifies the hold time, in milliseconds, between the first and second SPF calculation.
[no] traffic-engineering
config>router>ospf
Supported on all 7210 SAS platforms as described in this document
This command enables traffic engineering route calculations constrained by nodes or links.
The traffic engineering capabilities of this router are limited to calculations based on link and nodal constraints.
The no form of this command disables traffic engineered route calculations.
no traffic-engineering