Supported on all 7210 SAS platforms as described in this document
This command administratively disables the entity. When disabled, an entity does not change, reset, or remove any configuration settings or statistics. Many entities must be explicitly enabled using the no shutdown command.
Unlike other commands and parameters where the default state is not indicated in the configuration file, shutdown and no shutdown are always indicated in system generated configuration files.
The no form of this command puts an entity into the administratively enabled state.
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 is not configured the following applies:
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 reverts to the default value.
![]() | Note:
|
no ospf
Supported on all 7210 SAS platforms as described in this document
This command enables the context to configure OSPF to support IPv6.
Before OSPFv3 can be activated on the router, the router ID must be configured. The router ID is derived by one of the following methods:
When configuring a new router ID, protocols are not automatically restarted with the new router ID. The next time a protocol is initialized, the new router ID is used. To force the new router ID, issue the shutdown and no shutdown commands for OSPFv3 or restart the entire router.
The no form of this command disables OSPF support for IPv6.
Supported on all 7210 SAS platforms as described in this document
This command enables the advertisement of router capabilities to its neighbors for informational and troubleshooting purposes. A router information (RI) LSA as defined in RFC 4970 advertises the following capabilities:
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
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.
The no form of this command removes the ASBR status and withdraws the routes redistributed from the RTM into this OSPF instance from the link state database.
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 loops, 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.
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. Figure 10 shows the checking of the 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 (1 to 31) is set in the AS-external LSA.
The no form of this command removes the ASBR status and withdraws the routes redistributed from the routing table into OSPF from the link-state database.
no asbr
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 would be favorable to require all routers to run a more current compliancy 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
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. It will disable IGP-LDP synchronization for all interfaces. This command does not delete the interface configuration.
For information about LDP synchronization, refer to “IGP-LDP and static route-LDP Synchronization on the 7210 SAS-K 2F6C4T and 7210 SAS-K 3SFP+ 8C” and the ldp-sync and ldp-sync-timer commands in the 7210 SAS-D, Dxp, K 2F1C2T, K 2F6C4T, K 3SFP+ 8C Router Configuration Guide.
The no form of this command restores the default settings 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
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 or OSPFv3. Export polices are only in effect if OSPF or OSPFv3 is configured as an ASBR.
If no export policy is specified, non-OSPF or OSPFv3 routes are not exported from the routing table manager to OSPF or OSPFv3.
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 will override 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
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 or OSPFv3 from the route table.
The no form of this command removes the parameters from the configuration.
no export-limit
Supported on all 7210 SAS platforms as described in this document
This command configures limits on the number of non-default AS-external LSA entries that can be stored in the link-state database (LSDB) and specifies a wait timer before processing these entries 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 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 reaches or exceeds the configured limit, the table is in an overflow state. When in an overflow state, the router will not originate any new AS-external LSAs and will withdraws all the self-originated non-default external LSAs.
The seconds 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 command must be set identically on all routers attached to any regular OSPF or OSPFv3 area. OSPF or OSPFv3 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
Supported on all 7210 SAS platforms as described in this document
This command configures the preference for OSPF or OSPFv3 external 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 will be used.
Different protocols should not be configured with the same preference, if this occurs the tiebreaker is determined by the default preference as defined in the Table 28. 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.
150
Route Type | Preference | Configurable |
Direct attached | 0 | No |
Static routes | 5 | Yes |
OSPF/ OSPFv3 internal | 10 | Yes |
IS-IS level 1 internal | 15 | Yes |
IS-IS level 2 internal | 18 | Yes |
OSPF/OSPFv3 external | 150 | Yes |
IS-IS level 1 external | 160 | Yes |
IS-IS level 2 external | 165 | Yes |
BGP | 170 | Yes |
![]() | Note: Preference for OSPF or OSPFv3 internal routes is configured with the preference command. |
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 reconverges 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
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) or be a restarting router or both. The router supports only helper mode. This facilitates the graceful restart of neighbors but will not act as a restarting router.
The no form of this command enables helper support and is the default when graceful-restart is enabled.
helper-disable
Supported on all 7210 SAS platforms as described in this document
This command specifies the import route policy for an OSPF3 instance.
The no form of this command removes the policy association with the OSPF3 instance.
no import
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.
This command instructs the IGP SPF 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 using 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. Doing this 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
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, then it will not be included in LFA calculation regardless of its priority. The prefix tag will, however, be used in the main SPF. Note that 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 if the user did or did not explicitly add the statement “default-action reject” to the prefix policy, a prefix that did not match any entry in the policy will be accepted into LFA SPF.
The no form of this command deletes the exclude prefix policy.
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 or OSPFv3 routing, but is not used for transit traffic. Traffic destined to directly attached interfaces continues to reach the router.
To put the IGP in an overload state, enter a timeout value. The IGP will enter 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, if overload-on-boot is configured under OSPF or OSPFv3 with no timeout value configured, the router will remain in overload state indefinitely after a reboot.
The no form of this command reverts to the default. When the no overload command is executed, the overload state is terminated regardless of the reason the protocol entered overload state.
no overload
Supported on all 7210 SAS platforms as described in this document
This command determines whether the OSPF or OSPFv3 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, will be advertised at the maximum metric.
no overload-include-stub
Supported on all 7210 SAS platforms as described in this document
This command configures the IGP upon bootup in the overload state until one of the following events occurs:
When the router is in an overload state, the router is used only if there is no other router to reach the destination. The no overload command does not affect the overload-on-boot function.
The no form of this command removes the overload-on-boot function from the configuration.
Supported on all 7210 SAS platforms as described in this document
This command configures the preference for OSPF or OSPFv3 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 will be used.
Different protocols should not be configured with the same preference. If this occurs, the tiebreaker is based on the default preference as defined in Table 28. 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
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, so the default auto-cost metrics for various link speeds are as follows:
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 context.
The no form of this command reverts to the default value.
reference-bandwidth 100000000
Supported on all 7210 SAS platforms as described in this document
This command configures the router ID for the OSPF or OSPFv3 instance.
When configuring the router ID in the base instance of OSPF or OSPFv3, it 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 in the config>router context is not configured, the following applies.
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.
The no form of this command reverts to the default value.
router-id 0.0.0.0
Supported on all 7210 SAS platforms as described in this document
This command enables the context to configure OSPF or OSPFv3 timers. Timers control the delay between receipt of an 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 the convergence time but increase CPU utilization. Higher values reduce CPU utilization but increase the reconvergence time.
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 neighbor configured lsa-generate lsa-second-wait interval is equal or greater than the lsa-arrival timer configured here.
The no form of this command reverts to the default value.
no lsa-arrival
Supported on all 7210 SAS platforms as described in this document
This command customizes the throttling of OSPF or OSPFv3 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.
Configuring the lsa-arrival interval to equal or less than the lsa-second-wait interval configured in the lsa-generate command is recommended.
The no form of this command reverts to the default value.
no lsa-generate
When an LSA is generated, the initial wait period commences. If within the specified lsa-initial-wait period and another topology change occurs, the lsa-initial-wait timer applies.
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) will occur at exponentially increasing intervals of the spf-second-wait interval. For example, if the spf-second-wait interval is 1000, the next SPF will run after 2000 milliseconds, and then next SPF will run after 4000 milliseconds, and so on, until it reaches the spf-wait value. The SPF interval will stay 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 will drop back to the spf-initial-wait value.
The timer must be entered in increments of 100 milliseconds. Values entered that do not match this requirement will be rejected.
The no form of this command reverts to the default value.
no spf-wait
Supported on all 7210 SAS platforms as described in this document
This command enables the context to 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.
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.
Supported on all 7210 SAS platforms as described in this document
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:
Local Label (Prefix SID) = start-label + {SID index}
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.
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 will fail 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
Supported on all 7210 SAS platforms as described in this document
This command configures the maximum transmission unit (MTU) of all SR tunnels within each IGP instance.
The MTU of an SR tunnel populated into the TTM is determined like 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:
SR_Tunnel_MTU = MIN {Cfg_SR_MTU, IGP_Tunnel_MTU- (1+ frr-overhead)*4}
Where:
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
Supported on all 7210 SAS platforms as described in this document
This command configures the TTM preference of shortest path SR tunnels created by the IGP instance. The TMM 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 data path 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:
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
Supported on all 7210 SAS platforms as described in this document
This command enables traffic engineering route calculations constrained by nodes or links.
Traffic engineering enables the router to perform 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
Supported on all 7210 SAS platforms as described in this document
This command enables the context to configure an OSPF or OSPF3 area. An area is a collection of network segments within an AS that have been administratively grouped together. The area ID can be specified in dotted decimal notation or as a 32-bit decimal integer.
The no form of this command deletes the specified area from the configuration. Deleting the area also removes the OSPF or OSPF3 configuration of all the interfaces, virtual-links, and address-ranges that are currently assigned to this area.
no area
Supported on all 7210 SAS platforms as described in this document
This command creates ranges of addresses on an Area Border Router (ABR) for the purpose of route summarization or suppression. When a range is created, the range is configured to be advertised or not advertised into other areas. Multiple range commands may be used to summarize or hide different ranges. In the case of overlapping ranges, the most specific range command applies.
ABRs send summary link advertisements to describe routes to other areas. To minimize the number of advertisements that are flooded, you can summarize a range of IP addresses and send reachability information about these addresses in an LSA.
The no form of this command deletes the range advertisement or non-advertisement.
no area-range
ipv4-prefix: | a.b.c.d (host bits must be 0) |
mask: | 0 to 32 |
ipv6-prefix: | x:x:x:x:x:x:x:x (eight 16-bit pieces) | |
x:x:x:x:x:x:d.d.d.d | ||
x: [0 to FFFF]H | ||
d: [0 to 255]D | ||
prefix-length | 0 to 128 |
Supported on all 7210 SAS platforms as described in this document
This command installs a low priority blackhole route for the entire aggregate. Exisiting routes that make up the aggregate will have a higher priority and only the components of the range for which no route exists are blackholed.
It is possible that when performing area aggregation, addresses may be included in the range for which no actual route exists. This can cause routing loops. To avoid this problem, configure the blackhole-aggregate option.
The no form of this command removes this option.
blackhole-aggregate
Supported on all 7210 SAS platforms as described in this document
This command configures the metric used by the area border router (ABR) for the default route into a stub area.
The default metric should only be configured on an ABR of a stub area.
An ABR generates a default route if the area is a stub area.
The no form of this command reverts to the default value.
default-metric 1
Supported on all 7210 SAS platforms as described in this document
This command configures the key rollover interval.
The no form of this command resets the configured interval to the default setting.
key-rollover-interval 10
Supported on all 7210 SAS platforms as described in this document
This command enables the context to configure an OSPF or OSPFv3 NSSA and adds or removes the NSSA designation from the area.
NSSAs are similar to stub areas in that no external routes are imported into the area from other OSPF areas. The major difference between a stub area and an NSSA is that an NSSA has the capability to flood external routes that it learns throughout its area and via an ABR to the entire OSPF or OSPFv3 domain.
Existing virtual links of a non-stub area or NSSA area are removed when the designation is changed to NSSA or stub.
An area can be designated as stub or NSSA, but never both at the same time.
By default, an area is not configured as an NSSA area.
The no form of this command removes the NSSA designation and configuration context from the area.
no nssa
Supported on all 7210 SAS platforms as described in this document
This command enables the generation of a default route and its LSA type into an NSSA by an NSSA ABR or ASBR.
The functionality of the type-7 parameter and the type-nssa parameter is the same. The type-7 parameter is available in the ospf context; the type-nssa parameter is available in the ospf3 context. Include the type-7 or type-nssa parameter to inject a type 7 LSA default route instead of the type 3 LSA into the NSSA configured with no summaries.
To revert to a type 3 LSA, enter the originate-default-route command without the type-7 or type-nssa parameter.
When configuring an NSSA with no summaries, the ABR will inject a type 3 LSA default route into the NSSA area. Some older implementations expect a type 7 LSA default route.
The no form of this command disables origination of a default route.
no originate-default-route
Supported on all 7210 SAS platforms as described in this document
This command enables the redistribution of external routes into the NSSA or an NSSA ABR that is exporting the routes into non-NSSA areas.
NSSAs are similar to stub areas in that no external routes are imported into the area from other OSPF or OSPFv3 areas. The major difference between a stub area and an NSSA is that the NSSA has the capability to flood external routes that it learns (provided it is an ASBR) throughout its area and via an Area Border Router to the entire OSPF or OSPFv3 domain.
The no form of this command disables the default behavior to automatically redistribute external routes into the NSSA area from the NSSA ABR.
redistribute-external
Supported on all 7210 SAS platforms as described in this document
This command enables the context to configure an OSPF or OSPF3 stub area and adds or removes the stub designation from the area.
External routing information is not flooded into stub areas. All routers in the stub area must be configured with the stub command. An OSPF or OSPF3 area cannot be both an NSSA and a stub area.
Existing virtual links of a non-stub or NSSA area will be removed when its designation is changed to NSSA or stub.
By default, an area is not a stub area.
The no form of this command removes the stub designation and configuration context from the area.
no stub
Supported on all 7210 SAS platforms as described in this document
This command enables sending summary (type 3) advertisements into a stub area or NSSA on an ABR.
This parameter is particularly useful to reduce the size of the routing and link-state database (LSDB) tables within the stub or NSSA area.
By default, summary route advertisements are sent into the stub area or NSSA.
The no form of this command disables sending summary route advertisements and, for stub areas, only the default route is advertised by the ABR.
summaries
Supported on all 7210 SAS platforms as described in this document
This command configures an interface with a static security association (SA) used to authenticate OSPFv3 packets.
The no form of this command removes the SA name from the configuration.
no authentication
Supported on all 7210 SAS platforms as described in this document
This command configures the password used by the OSPF or OSPFv3 interface or virtual-link to send and receive OSPF or OSPFv3 protocol packets on the interface when simple password authentication is configured.
All neighboring routers must use the same type of authentication and password for proper protocol communication. If the authentication-type is configured as password, his key must be configured.
By default, no authentication key is configured.
The no form of this command removes the authentication key.
no authentication-key
Supported on all 7210 SAS platforms as described in this document
This command enables authentication and specifies the type of authentication to be used on the OSPF or OSPFv3 interface.
Both password and message-digest authentication are supported.
By default, authentication is not enabled on an interface.
The no form of this command disables authentication on the interface.
no authentication
Supported on all 7210 SAS platforms as described in this document
This command enables the use of bidirectional forwarding (BFD) to control the state of the associated OSPF interface. By enabling BFD on an OSPF interface, the state of the interface is tied to the state of the BFD session between the local node and the remote node.
The optional remain-down-on-failure parameter can be specified on OSPF interfaces that are enabled for BFD to keep OSPF from reaching the full state if the BFD session to that neighbor cannot be established. This option is disabled by default and should be used only if there is a chance that unicast packets might be discarded while multicast packets are forwarded.
The no form of this command removes BFD from the associated OSPF adjacency.
no bfd-enable
Supported on all 7210 SAS platforms as described in this document
This command configures the time, in seconds, that OSPF or OSPFv3 waits before declaring a neighbor router down. If no hello packets are received from a neighbor for the duration of the dead interval, the router is assumed to be down. The minimum interval must be two times the hello interval.
The no form of this command reverts to the default value.
dead-interval 40
Supported on all 7210 SAS platforms as described in this document
This command configures export routing policies that determine the routes exported from the routing table 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.
If an aggregate command is also configured in the config>router context, the aggregation is applied before the export policy is applied.
Routing policies are created in the config>router>policy-options context.
The no form of this command removes the specified policy-name or all policies from the configuration if no policy-name is specified.
no export
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
Supported on all 7210 SAS platforms as described in this document
This command configures the interval between OSPF or OSPFv3 hellos issued on the interface or virtual link.
The hello-interval, in combination with the dead-interval, is used to establish and maintain the adjacency. Use this parameter to edit the frequency that hello packets are sent.
Reducing the interval, in combination with an appropriate reduction in the associated dead-interval, allows for faster detection of link or router failures at the cost of higher processing costs.
The no form of this command reverts to the default value.
hello-interval 10
Supported on all 7210 SAS platforms as described in this document
This command enables the context to configure an OSPF or OSPFv3 interface.
By default, interfaces are not activated in any interior gateway protocol, such as OSPF or OSPFv3, unless explicitly configured.
The no form of this command deletes the OSPF interface configuration for this interface. The shutdown command in the config>router>ospf>interface context can be used to disable an interface without removing the configuration for the interface.
no interface
If the IP interface name does not exist or does not have an IP address configured, an error message will be returned.
If the IP interface exists in a different area it will be moved to this area.
Supported on all 7210 SAS platforms as described in this document
This command configures the interface type to be either broadcast or point-to-point.
Use this command to set the interface type of an Ethernet link to point-to-point to avoid having to carry the broadcast adjacency maintenance overhead of the Ethernet link provided the link is used as a point-to-point.
If the interface type is not known at the time the interface is added to OSPF or OSPFv3, and subsequently the IP interface is bound (or moved) to a different interface type, this command must be entered manually.
The no form of this command reverts to the default value.
interface-type broadcast (if the physical interface is Ethernet or unknown)
interface-type point-to-point (if the physical interface is T1, E1, or SONET/SDH)
Supported on all 7210 SAS platforms as described in this document
This command instructs IGP to exclude a specific interface or all interfaces that are participating in a specific IS-IS level or OSPF area in the SPF LFA computation. This reduces LFA SPF calculation where it is not needed.
When an interface is excluded from the LFA SPF in IS-IS, it is excluded in both level 1 and level 2. When it is excluded from the LFA SPF in OSPF, it is excluded in all areas. However, the loopfree-alternate-exclude command can only be executed under the area in which the specified interface is primary. If the command is enabled, the interface is excluded in that area and in all other areas where the interface is secondary. If the user attempts to apply it to an area where the interface is secondary, the command will fail.
The no form of this command reinstates the default value.
no loopfree-alternate-exclude
Supported on all 7210 SAS platforms as described in this document
This command configures a message digest key when MD5 authentication is enabled on the interface. Multiple message digest keys can be configured.
The no form of this command removes the message digest key identified by the key-id.
no message-digest-key
This is useful when a user must configure the parameter, but, for security purposes, the actual unencrypted key value is not provided.
Supported on all 7210 SAS platforms as described in this document
This command configures an explicit route cost metric for the OSPF or OSPFv3 interface that overrides the metrics calculated based on the speed of the underlying link.
The no form of this command deletes the manually configured interface metric, so the interface uses the computed metric based on the reference-bandwidth command setting and the speed of the underlying link.
no metric
Supported on all 7210 SAS platforms as described in this document
This command configures the OSPF or OSPFv3 interface MTU value used when negotiating an OSPF or OSPFv3 adjacency.
The operational OSPF or OSPFv3 MTU value is calculated as follows.
If this command is not configured:
If this command is configured:
for OSPF (not OSPFv3):
The port MTU must be set to 512 bytes or higher, since OSPF cannot support port MTU values lower than 512 bytes.
for OSPFv3:
To determine the actual packet size, add 14 bytes for an Ethernet packet and 18 bytes for a tagged Ethernet packet to the size of the OSPF or OSPFv3 (IP) packet MTU configured with this command.
If this command is configured to a value less than the interface or port MTU value, the OSPF or OSPFv3 MTU value will be used to transmit OSPF packets.
The no form of this command uses the value derived from the MTU configured in the config>port context.
no mtu
Supported on all 7210 SAS platforms as described in this document
This command assigns a node SID index or label value to the prefix representing the primary address of an IPv4 network interface of type loopback. Only a single node SID can be assigned to an interface. The secondary address of an IPv4 interface cannot be assigned a node SID index and does not inherit the SID of the primary IPv4 address.
This command fails if the network interface is not of type loopback or if the interface is defined in an IES or a VPRN context. Also, assigning the same SID index or label value to the same interface in two different IGP instances is not allowed within the same node.
The value of the label or index SID is taken from the range configured for this IGP instance. When using the global mode of operation, a new segment routing module checks that the same index or label value cannot be assigned to more than one loopback interface address. When using the per-instance mode of operation, this check is not required because the index and label ranges of the various IGP instance are not allowed to overlap.
The no form of this command reverts to the default value.
no node-sid
Supported on all 7210 SAS platforms as described in this document
This command adds the passive property to the OSPF or OSPFv3 interface where passive interfaces are advertised as OSPF or OSPFv3 interfaces but do not run the OSPF or OSPFv3 protocol.
By default, only interface addresses that are configured for OSPF or OSPFv3 will be advertised as OSPF or OSPFv3 interfaces. The passive parameter allows an interface to be advertised as an OSPF or OSPFv3 interface without running the OSPF or OSPFv3 protocol.
While in passive mode, the interface will ignore ingress OSPF or OSPFv3 protocol packets and not transmit any OSPF or OSPFv3 protocol packets.
The no form of this command removes the passive property from the OSPF or OSPFv3 interface.
no passive
Supported on all 7210 SAS platforms as described in this document
This command configures the priority of the OSPF or OSPFv3 interface that is used in an election of the designated router on the subnet.
This parameter is only used if the interface is of type broadcast. The router with the highest priority interface becomes the designated router. A router with priority 0 is not eligible to be the designated router or backup designated touter.
The no form of this command reverts the interface priority to the default value.
priority 1
Supported on all 7210 SAS platforms as described in this document
This command specifies the length of time that OSPF or OSPFv3 will wait before retransmitting an unacknowledged link state advertisement (LSA) to an OSPF neighbor.
The value should be longer than the expected round trip delay between any two routers on the attached network. When the retransmit-interval expires and no acknowledgement has been received, the LSA will be retransmitted.
The no form of this command reverts to the default interval.
retransmit-interval 5
Supported on all 7210 SAS platforms as described in this document
This command configures the estimated time, in seconds, that it takes to transmit an LSA on the interface or virtual link.
The no form of this command reverts to the default delay time
transit-delay 1
Supported on all 7210 SAS platforms as described in this document
This command configures a virtual link to connect area border routers to the backbone through a virtual link.
The backbone area (area 0.0.0.0) must be contiguous and all other areas must be connected to the backbone area. If it is not practical to connect an area to the backbone, the area border routers must be connected via a virtual link. The two area border routers will form a point-to-point like adjacency across the transit area. A virtual link can only be configured while in the area 0.0.0.0 context.
The router-id specified in this command must be associated with the virtual neighbor. The transit area cannot be a stub area or a NSSA.
The no form of this command deletes the virtual link.
no virtual-link
Supported on all 7210 SAS platforms as described in this document
This command enables the context to display OSPF information.
Supported on all 7210 SAS platforms as described in this document
This command enables the context to display OSPFv3 information.
Supported on all 7210 SAS platforms as described in this document
This command displays configuration information about all areas or the specified area. When detail is specified, operational and statistical information will be displayed.
The following output is an example of area information, and Table 29 describes the output fields.
Label | Description |
Area Id | Displays a 32 bit integer uniquely identifying an area |
Type | NSSA — This area is configured as an NSSA area Standard — This area is configured as a standard area (not NSSA or stub) Stub — This area is configured as a stub area |
SPF Runs | Displays the number of times that the intra-area route table has been calculated using this area link-state database |
LSA Count | Displays the total number of link-state advertisements in this area link-state database, excluding AS external LSAs |
LSA Cksum Sum | Displays the 32-bit unsigned sum of the link-state database advertisements LS checksums contained in this area link-state database. This checksum excludes AS external LSAs (type-5). |
No. of OSPF Areas | Displays the number of areas configured on the router |
Virtual Links | Displays the number of virtual links configured through this transit area |
Active IFs | Displays the active number of interfaces configured in this area |
Area Bdr Rtrs | Displays the total number of ABRs reachable within this area |
AS Bdr Rtrs | Displays the total number of ASBRs reachable within this area |
Last SPF Run | Displays the time when the last intra-area SPF was run on this area |
Router LSAs | Displays the total number of router LSAs in this area |
Network LSAs | Displays the total number of network LSAs in this area |
Summary LSAs | Displays the summary of LSAs in this area |
Asbr-summ LSAs | Displays the summary of ASBR LSAs in this area |
Nssa-ext LSAs | Displays the total number of NSSA-EXT LSAs in this area |
Area opaque LSAs | Displays the total number of opaque LSAs in this area |
Total Nbrs | Displays the total number of neighbors in this area |
Total IFs | Displays the total number of interfaces configured in this area |
Total LSAs | Displays the sum of LSAs in this area excluding autonomous system external LSAs |
Blackhole Range | False — No blackhole route is installed for aggregates configured in this area |
Supported on all 7210 SAS platforms as described in this document
This command displays information about the OSPF or OSPFv3 LSDB.
When no command line options are specified, the command displays brief output for all database entries.
The following output is an example of database information, and Table 30 describes the output fields.
Label | Description |
Area Id | Displays the OSPF area identifier |
Type LSA Type | Router — router LSA type (OSPF) Network — network LSA type (OSPF) Summary — summary LSA type (OSPF) ASBR Summary — ASBR summary LSA type (OSPF) Nssa-ext — LSA area-specific, NSSA external (OSPF) Area opaque — area opaque LSA type (OSPF) |
Link State Id | Displays the link-state ID. The link-state ID is an LSA type specific field containing either a number to distinguish several LSAs from the same router, an interface ID, or a router-id; it identifies the piece of the routing domain being described by the advertisement. |
Adv Rtr Id Adv Router Id | Displays the router identifier of the router advertising the LSA |
Age | Displays the age of the link state advertisement in seconds |
Sequence Sequence No | Displays the signed 32-bit integer sequence number |
Cksum Checksum | Displays the 32-bit unsigned sum of the link-state advertisements LS checksums |
No. of LSAs | Displays the number of LSAs displayed |
Options | EA — External attribute LSA support DC — Demand circuit support R — If clear, a node can participates in OSPF topology distribution without being used to forward transit traffic N — Type 7 LSA support E — External routes support |
Prefix Options | P — Propagate NSSA LSA |
Flags | None — No flags set V — The router is an endpoint for one or more fully adjacent virtual links having the described area as the transit area E — The router is an AS boundary router B — The router is an area border router |
Link Count | Displays the number of links advertised in the LSA |
Link Type (n) | Displays the link type of the nth link in the LSA |
Network (n) | Displays the network address of the nth link in the LSA |
Metric-0 (n) | Displays the cost metric of the nth link in the LSA |
Supported on all 7210 SAS platforms as described in this document
This command displays the details of the OSPF or OSPFv3 interface, this interface can be identified by IP address or IP interface name. When neither is specified, all in-service interfaces are displayed.
The detail option produces a great amount of data. Nokia recommends to detail only when requesting a specific interface.
The following outputs are examples of OSPF interface information. The associated tables describe the output fields.
Label | Description |
If Name | Displays the interface name |
Area Id | Displays a 32-bit integer uniquely identifying the area to which this interface is connected. Area ID 0.0.0.0 is used for the OSPF backbone. |
D Rtr Id | Displays the IP interface address of the router identified as the designated router for the network in which this interface is configured. Set to 0.0.0.0 if there is no Designated router. |
BD Rtr Id | The IP interface address of the router identified as the backup designated router for the network in which this interface is configured. Set to 0.0.0.0 if there is no backup designated router. |
Adm | Dn — OSPF on this interface is administratively shut down Up — OSPF on this interface is administratively enabled |
Opr | Down — This is the initial interface state. In this state, the lower-level protocols have indicated that the interface is unusable. Wait — The router is trying to determine the identity of the (Backup) designated router for the network PToP — The interface is operational, and connects either to a physical point-to-point network or to a virtual link DR — This router is the designated router for this network BDR — This router is the backup designated router for this network ODR — The interface is operational and part of a broadcast or NBMA network on which another router has been selected to be the designated router |
No. of OSPF Interfaces | Displays the number of interfaces listed |
Label | Description |
Interface | Displays the IP address of this OSPF interface |
IP Address | Displays the IP address and mask of this OSPF interface |
Interface Name | Displays the interface name |
Area Id | Displays a 32-bit integer uniquely identifying the area to which this interface is connected. Area ID 0.0.0.0 is used for the OSPF backbone. |
Priority | Displays the priority of this interface. Used in multi-access networks, this field is used in the designated router election algorithm. |
Hello Intrvl | Displays the length of time, in seconds, between the Hello packets that the router sends on the interface. This value must be the same for all routers attached to a common network. |
Rtr Dead Intrvl | Displays the number of seconds that router Hello packets have not been seen before its neighbors declare the router down. This should be some multiple of the Hello interval. This value must be the same for all routers attached to a common network. |
Retrans Intrvl | Displays the number of seconds between link-state advertisement retransmissions, for adjacencies belonging to this interface. This value is also used when retransmitting database description and link-state request packets. |
Poll Intrvl | Displays the larger time interval, in seconds, between the Hello packets sent to an inactive non-broadcast multi-access neighbor |
Metric | Displays the metric to be advertised for this interface |
Advert Subnet | False — When a point-to-point interface is configured as false, then the subnet is not advertised and the endpoints are advertised as host routes True — When a point-to-point interface is configured to true, then the subnet is advertised |
Transit Delay | Displays the estimated number of seconds it takes to transmit a link state update packet over this interface |
Auth Type | Displays the authentication procedure to be used for the packet None — Routing exchanges over the network/subnet are not authenticated Simple — A 64-bit field is configured on a per-network basis. All packets sent on a particular network must have this configured value in their OSPF header 64-bit authentication field. This essentially serves as a “clear” 64-bit password. MD5 — A shared secret key is configured in all routers attached to a common network/subnet. For each OSPF protocol packet, the key is used to generate/verify a “message digest” that is appended to the end of the OSPF packet. |
Passive | False — This interfaces operates as a normal OSPF interface with regard to adjacency forming and network/link behavior True — No OSPF hellos will be sent out on this interface and the router advertises this interface as a stub network/link in its router LSAs |
MTU | Displays the desired size of the largest packet that can be sent/received on this OSPF interface, specified in octets. This size DOES include the underlying IP header length, but not the underlying layer headers/trailers. |
Admin Status | Disabled — OSPF on this interface is administratively shut down Enabled — OSPF on this interface is administratively enabled |
Oper State | Down — This is the initial interface state. In this state, the lower-level protocols have indicated that the interface is unusable Waiting — The router is trying to determine the identity of the (backup) designated router for the network Point To Point — The interface is operational, and connects either to a physical point-to-point network or to a virtual link Designated Rtr — This router is the Designated Router for this network Other Desig Rtr — The interface is operational and part of a broadcast or NBMA network on which another router has been selected to be the designated router Backup Desig Rtr — This router is the backup designated router for this network |
DR-Id | Displays the IP Interface address of the router identified as the designated router for the network in which this interface is configured. Set to 0.0.0.0 if there is no designated router |
BDR-Id | The IP interface address of the router identified as the backup designated router for the network in which this interface is configured. Set to 0.0.0.0 if there is no backup designated router. |
IF Type | Broadcast — LANs, such as Ethernet NBMA — X.25 and similar technologies Point-To-Point — Links that are definitively point to point |
Network Type | Stub — OPSF has not established a neighbor relationship with any other OSPF router on this network as such only traffic sourced or destined to this network will be routed to this network Transit — OPSF has established at least one neighbor relationship with any other OSPF router on this network as such traffic en route to other networks may be routed via this network |
Oper MTU | Displays the operational size of the largest packet which can be sent/received on this OSPF interface, specified in octets. This size DOES include the underlying IP header length, but not the underlying layer headers/trailers. |
Last Enabled | Displays the time that this interface was last enabled to run OSPF on this interface |
Nbr Count | Displays the number of OSPF neighbors on the network for this interface |
If Events | Displays the number of times this OSPF interface has changed its state, or an error has occurred since this interface was last enabled |
Tot Rx Packets | Displays the total number of OSPF packets received on this interface since this interface was last enabled |
Tot Tx Packets | Displays the total number of OSPF packets transmitted on this interface since this interface was last enabled |
Rx Hellos | Displays the total number of OSPF Hello packets received on this interface since this interface was last enabled |
Tx Hellos | Displays the total number of OSPF Hello packets transmitted on this interface since this interface was last enabled |
Rx DBDs | Displays the total number of OSPF database description packets received on this interface since this interface was last enabled |
Tx DBDs | Displays the total number of OSPF database description packets transmitted on this interface since this interface was last enabled |
Rx LSRs | Displays the total number of link-state requests (LSRs) received on this interface since this interface was last enabled |
Tx LSRs | Displays the total number of LSRs transmitted on this interface since this interface was last enabled |
Rx LSUs | Displays the total number of Link State Updates (LSUs) received on this interface since this interface was last enabled |
Tx LSUs | Displays the total number of LSUs transmitted on this interface since this interface was last enabled |
Rx LS Acks | Displays the total number of link state acknowledgments received on this interface since this interface was last enabled |
Tx LS Acks | Displays the total number of link state acknowledgments transmitted on this interface since this interface was last enabled |
Retransmits | Displays the total number of OSPF retransmits sent on this interface since this interface was last enabled |
Discards | Displays the total number of OSPF packets discarded on this interface since this interface was last enabled |
Bad Networks | Displays the total number of OSPF packets received with invalid network or mask since this interface was last enabled |
Bad Virt Links | Displays the total number of OSPF packets received on this interface that are destined to a virtual link that does not exist since this interface was last enabled |
Bad Areas | Displays the total number of OSPF packets received with an area mismatch since this interface was last enabled |
Bad Dest Addrs | Displays the total number of OSPF packets received with the incorrect IP destination address since this interface was last enabled |
Bad Auth Types | Displays the total number of OSPF packets received with an invalid authorization type since this interface was last enabled |
Auth Failures | Displays the total number of OSPF packets received with an invalid authorization key since this interface was last enabled |
Bad Neighbors | Displays the total number of OSPF packets received where the neighbor information does not match the information this router has for the neighbor since this interface was last enabled |
Bad Pkt Types | Displays the total number of OSPF packets received with an invalid OSPF packet type since this interface was last enabled |
Bad Lengths | Displays the total number of OSPF packets received on this interface with a total length not equal to the length specified in the packet since this interface was last enabled |
Bad Hello int. | Displays the total number of OSPF packets received where the hello interval specified in packet was not equal to that configured on this interface since this interface was last enabled |
Bad Dead Int. | Displays the total number of OSPF packets received where the dead interval specified in the packet was not equal to that configured on this interface since this interface was last enabled |
Bad Options | Displays the total number of OSPF packets received with an option that does not match those configured for this interface or area since this interface was last enabled |
Bad Versions | Displays the total number of OSPF packets received with bad OSPF version numbers since this interface was last enabled |
Te Metric | Displays the TE metric configured for this interface. This metric is flooded out in the TE metric sub-TLV in the OSPF TE LSAs. Depending on the configuration, either the TE metric value or the native OSPF metric value is used in CSPF computations. |
Te State | Displays the MPLS interface TE status from the OSPF standpoint |
Admin Groups | Displays the bit-map inherited from the MPLS interface that identifies the admin groups to which this interface belongs |
Supported on all 7210 SAS platforms as described in this document
This command displays all neighbor information. To reduce the amount of output, the user can select the neighbors on a specific interface by address or name.
The detail option produces a large amount of data. Nokia recommends to use detail only when requesting a specific neighbor.
The following outputs are examples of OSPF neighbor information. The associated tables describe the output fields.
Label | Description |
Nbr IP Addr | Displays the IP address this neighbor is using in its IP Source Address. Note that, on addressless links, this will not be 0.0.0.0, but the address of another of the neighbor's interfaces. |
Nbr Rtr Id | Displays a 32-bit integer uniquely identifying the neighboring router in the autonomous system |
Nbr State | Down — This is the initial state of a neighbor conversation. It indicates that there has been no recent information received from the neighbor. Attempt — This state is only valid for neighbors attached to NBMA networks. It indicates that no recent information has been received from the neighbor, but that a more concerted effort should be made to contact the neighbor. Init — In this state, an Hello packet has recently been seen from the neighbor. However, bidirectional communication has not yet been established with the neighbor (that is, the router did not appear in the neighbor Hello packet). Two Way — In this state, communication between the two routers is bidirectional. ExchStart — This is the first step in creating an adjacency between the two neighboring routers. The goal of this step is to decide which router is the master, and to decide the initial database descriptor sequence number. Exchange — In this state, the router is describing its entire link state database by sending database description packets to the neighbor. Loading — In this state, link state request packets are sent to the neighbor asking for the more recent LSAs that have been discovered (but not yet received) in the exchange state. Full — In this state, the neighboring routers are fully adjacent. These adjacencies will now appear in router LSAs and network LSAs. |
Priority | Displays the priority of this neighbor in the designated router election algorithm. The value 0 signifies that the neighbor is not eligible to become the designated router on this particular network. |
RetxQ Len | Displays the current length of the retransmission queue |
Dead Time | Displays the time until this neighbor is declared down; this timer is set to the dead router interval when a valid hello packet is received from the neighbor |
No. of Neighbors | Displays the number of adjacent OSPF neighbors on this interface |
Label | Description |
Neighbor IP Addr | Displays the IP address this neighbor is using in its IP source address. Note that, on links with no address, this will not be 0.0.0.0, but the address of another of the neighbor interfaces. |
Local IF IP Addr | Displays the IP address of this OSPF interface |
Area Id | Displays a 32-bit integer uniquely identifying the area to which this interface is connected. Area ID 0.0.0.0 is used for the OSPF backbone |
Designated Rtr | Displays the IP interface address of the router identified as the designated router for the network in which this interface is configured; set to 0.0.0.0 if there is no designated router |
Neighbor Rtr Id | Displays a 32-bit integer uniquely identifying the neighboring router in the AS |
Neighbor State | Down — This is the initial state of a neighbor conversation. It indicates that there has been no recent information received from the neighbor Attempt — This state is only valid for neighbors attached to NBMA networks. It indicates that no recent information has been received from the neighbor, but that a more concerted effort should be made to contact the neighbor. Init — In this state, an Hello packet has recently been seen from the neighbor. However, bidirectional communication has not yet been established with the neighbor (i.e., the router did not appear in the neighbor Hello packet). Two Way — In this state, communication between the two routers is bidirectional. Exchange start — This is the first step in creating an adjacency between the two neighboring routers. The goal of this step is to decide which router is the master, and to decide upon the initial database descriptor sequence number. Exchange — In this state the router is describing its entire link state database by sending database description packets to the neighbor Loading — In this state, link state request packets are sent to the neighbor asking for the more recent LSAs that have been discovered (but not yet received) in the exchange state. Full — In this state, the neighboring routers are fully adjacent. These adjacencies will now appear in router-LSAs and network-LSAs. |
Priority | Displays the priority of this neighbor in the designated router election algorithm. The value 0 signifies that the neighbor is not eligible to become the designated router on this particular network. |
Retrans Q Length | Displays the current length of the retransmission queue |
Options | E — External routes support N/P — Type 7 LSA support EA — External attribute LSA support DC — Demand circuit support O — Opaque LSA support |
Backup Desig Rtr | Displays the IP Interface address of the router identified as the backup designated router for the network in which this interface is configured; set to 0.0.0.0 if there is no backup designated router |
Events | Displays the number of times this neighbor relationship has changed state, or an error has occurred |
Last Event Time | Displays the time when the last event occurred that affected the adjacency to the neighbor |
Up Time | Displays the uninterrupted time, in hundredths of seconds, the adjacency to this neighbor has been up. To evaluate when the last state change occurred, see Last Event Time. |
Time Before Dead | Displays the time until this neighbor is declared down; this timer is set to the dead router interval when a valid hello packet is received from the neighbor |
Bad Nbr States | Displays the total number of OSPF packets received when the neighbor state was not expecting to receive this packet type since this interface was last enabled |
LSA Inst fails | Displays the total number of times an LSA could not be installed into the LSDB due to a resource allocation issue since this interface was last enabled |
Bad Seq Nums | Displays the total number of times when a database description packet was received with a sequence number mismatch since this interface was last enabled |
Bad MTUs | Displays the total number of times when the MTU in a received database description packet was larger than the MTU of the receiving interface since this interface was last enabled |
Bad Packets | Displays the total number of times when an LS update was received with an illegal LS type or an option mismatch since this interface was last enabled |
LSA not in LSDB | Displays the total number of times when an LS request was received for an LSA not installed in the LSDB of this router since this interface was last enabled |
Option Mismatches | Displays the total number of times when an LS update was received with an option mismatch since this interface was last enabled. |
Nbr Duplicates | Displays the total number of times when a duplicate database description packet was received during the exchange state since this interface was last enabled |
Supported on all 7210 SAS platforms as described in this document
This command displays OSPF prefix SIDs.
The following output is an example of OSPF prefix SID information, and Table 35 describes the output fields.
Label | Description |
Prefix | Displays the IP prefix for the SID |
Area | Displays the OSPF area |
Adv-Rtr | Displays the advertised router IP address |
RtType | Displays the type of route |
Active | Displays the status of the route: active (Y) or inactive (N) |
SID | Displays the segment routing identifier (SID) |
Flags | Displays the flags related to the advertised router: R = Re-advertisement N = Node SID nP = No penultimate hop POP E = Explicit null V = Prefix-SID carries a value L = Value/index has local significance |
Supported on all 7210 SAS platforms as described in this document
This command displays ranges of addresses on an area border router (ABR) for the purpose of route summarization or suppression.
The following output is an example of OSPF range information, and Table 36 describes the output fields.
Label | Description |
Area Id | Displays a 32-bit integer uniquely identifying an area. Area ID 0.0.0.0 is used for the OSPF backbone. |
Address/Mask | Displays the mask for the range expressed as a decimal integer mask length or in dotted decimal notation |
Advertise | False — The specified address/mask is not advertised outside the area True — The specified address/mask is advertised outside the area |
LSDB Type | NSSA — This range was specified in the NSSA context, and specifies that the range applies to external routes (via type-7 LSAs) learned within the NSSA when the routes are advertised to other areas as type-5 LSAs. Summary — This range was not specified in the NSSA context, the range applies to summary LSAs even if the area is an NSSA. |
Supported on all 7210 SAS platforms as described in this document
This command displays information about OSPF or OSPFv3 routes.
The following output is an example of OSPF route information.
Supported on all 7210 SAS platforms as described in this document
This command displays statistics of shortest-path-first (SPF) calculations.
The following output is an example of SPF information, and Table 37 describes the output fields.
Label | Description |
Total SPF Runs | Displays the total number of incremental SPF runs triggered by new or updated LSAs |
Last Full SPF run @ | Displays the date and time when the external OSPF Dijkstra (SPF) was last run |
Last Full SPF Time | Displays the length of time, in seconds, when the last full SPF was run |
Intra SPF Time | Displays the time when intra-area SPF was last run on this area |
Inter SPF Time | Displays the total number of incremental SPF runs triggered by new or updated type-3 and type-4 summary LSAs |
Extern SPF Time | Displays the total number of incremental SPF runs triggered by new or updated type-5 external LSAs |
RTM Updt Time | Displays the time, in hundredths of seconds, used to perform a total SPF calculation |
Min/Avg/Max Full SPF Time | Min — The minimum time, in hundredths of seconds, used to perform a total SPF calculation Avg — The average time, in hundredths of seconds, of all the total SPF calculations performed by this OSPF router Max — The maximum time, in hundredths of seconds, used to perform a total SPF calculation |
Total Sum Incr SPF Runs | Displays the total number of incremental SPF runs triggered by new or updated type-3 and type-4 summary LSAs |
Total Ext Incr SPF Runs | Displays the total number of incremental SPF runs triggered by new or updated type-5 external LSAs |
Supported on all 7210 SAS platforms as described in this document
This command displays the global OSPF or OSPFv3 statistics.
The following output is an example of OSPF statistics information, and Table 38 describes the output fields.
Label | Description |
Rx Packets | Displays the total number of OSPF packets received on all OSPF enabled interfaces |
Tx Packets | Displays the total number of OSPF packets transmitted on all OSPF enabled interfaces |
Rx Hellos | Displays the total number of OSPF Hello packets received on all OSPF enabled interfaces |
Tx Hellos | Displays the total number of OSPF Hello packets transmitted on all OSPF enabled interfaces |
Rx DBDs | Displays the total number of OSPF database description packets received on all OSPF enabled interfaces |
Tx DBDs | Displays the total number of OSPF database description packets transmitted on all OSPF enabled interfaces |
Rx LSRs | Displays the total number of OSPF link state requests (LSRs) received on all OSPF enabled interfaces |
Tx LSRs | Displays the total number of OSPF link state requests (LSRs) transmitted on all OSPF enabled interfaces |
Rx LSUs | Displays the total number of OSPF link state update (LSUs) received on all OSPF enabled interfaces |
Tx LSUs | Displays the total number of OSPF link state update (LSUs) transmitted on all OSPF enabled interfaces |
Rx LS Acks | Displays the total number of OSPF link state acknowledgments (LSAs) received on all OSPF enabled interfaces |
New LSAs Recvd | Displays the total number of new OSPF link state advertisements received on all OSPF enabled interfaces |
New LSAs Orig | Displays the total number of new OSPF link state advertisements originated on all OSPF enabled interfaces |
Ext LSAs Count | Displays the total number of OSPF external link state advertisements |
No of Areas | Displays the number of areas configured for this OSPF instance |
Total SPF Runs | Displays the total number of incremental SPF runs triggered by new or updated LSAs |
Ext SPF Runs | Displays the total number of incremental SPF runs triggered by new or updated type-5 external LSAs |
Retransmits | Displays the total number of OSPF retransmits transmitted on all OSPF enabled interfaces |
Discards | Displays the total number of OSPF packets discarded on all OSPF enabled interfaces |
Bad Networks | Displays the total number of OSPF packets received on all OSPF enabled interfaces with invalid network or mask |
Bad Virt Links | Displays the total number of OSPF packets received on all OSPF enabled interfaces that are destined to a virtual link that does not exist |
Bad Areas | Displays the total number of OSPF packets received on all OSPF enabled interfaces with an area mismatch |
Bad Dest Addrs | Displays the total number of OSPF packets received on all OSPF enabled interfaces with the incorrect IP destination address |
Bad Auth Types | Displays the total number of OSPF packets received on all OSPF enabled interfaces with an invalid authorization type |
Auth Failures | Displays the total number of OSPF packets received on all OSPF enabled interfaces with an invalid authorization key |
Bad Neighbors | Displays the total number of OSPF packets received on all OSPF enabled interfaces where the neighbor information does not match the information this router has for the neighbor |
Bad Pkt Types | Displays the total number of OSPF packets received on all OSPF enabled interfaces with an invalid OSPF packet type |
Bad Lengths | Displays the total number of OSPF packets received on all OSPF enabled interfaces with a total length not equal to the length specified in the packet |
Bad Hello Int. | Displays the total number of OSPF packets received on all OSPF enabled interfaces where the hello interval specified in the packet was not equal to that configured for the respective interface |
Bad Dead Int. | Displays the total number of OSPF packets received on all OSPF enabled interfaces where the dead interval specified in the packet was not equal to that configured for the respective interface |
Bad Options | Displays the total number of OSPF packets received on all OSPF enabled interfaces with an option that does not match those configured for the respective interface or area |
Bad Versions | Displays the total number of OSPF packets received on all OSPF enabled interfaces with bad OSPF version numbers |
Supported on all 7210 SAS platforms as described in this document
This command displays the general status of OSPF or OSPFv3.
The following output is an example of OSPF status information, and Table 39 describes the output fields.
Label | Description |
OSPF Router Id | Displays a 32-bit integer uniquely identifying the router in the autonomous system. The defaults is the system IP address, or if not configured, the 32 least significant bits of the system MAC address. |
OSPF Version | Displays the current version number of the OSPF protocol is 2 |
OSPF Admin Status | Disabled — Specifies that the OSPF process is disabled on all interfaces. Enabled — Specifies that the OSPF process is active on at least one interface |
OSPF Oper Status | Disabled — Specifies that the OSPF process is not operational on all interfaces. Enabled — Specifies that the OSPF process is operational on at least one interface |
Preference | Displays the route preference for OSPF internal routes |
External Preference | Displays the route preference for OSPF external routes |
Backbone Router | False — This variable indicates that this router is not configured as an OSPF back bone router True — This variable indicates that this router is configured as an OSPF back bone router |
Area Border Router | False — This router is not an area border router True — This router is an area border router |
AS Border Router | False — This router is not configured as an autonomous system border router True — This router is configured as an autonomous system border router |
OSPF Ldp Sync Admin Status | Indicates whether the IGP-LDP synchronization feature is enabled or disabled on all interfaces participating in the OSPF routing protocol. |
Export Policies | Displays the export policies currently in use |
Import Policies | Displays the import policies currently in use |
LFA Policies | Displays the LFA policies currently in use |
Supported on all 7210 SAS platforms as described in this document
This command displays information for OSPF or OSPFv3 virtual links.
The following output is an example of OSPF virtual link information, and Table 40 describes the output fields.
Label | Description |
Nbr Rtr ID | Displays the router IDs of neighboring routers |
Area Id | Displays a 32-bit integer that identifies an area |
Local Interface | Displays the IP address of the local egress interface used to maintain the adjacency to reach this virtual neighbor |
Metric | Displays the metric value associated with the route. This value is used when importing this static route into other protocols. When the metric is configured as zero, the metric configured in OSPF, default-import-metric, applies. This value is also used to determine which static route to install in the forwarding table. |
State | Displays the operational state of the virtual link to the neighboring router |
Authentication | Specifies whether authentication is enabled for the interface or virtual link |
Hello Intrval | Displays the length of time, in seconds, between the Hello packets that the router sends on the interface. |
Rtr Dead Intrvl | Displays the total number of OSPF packets received where the dead interval specified in the packet was not equal to that configured on this interface since the OSPF admin status was enabled |
Tot Rx Packets | Displays the total number of OSPF packets received on this interface since the OSPF admin status was enabled |
Rx Hellos | Displays the total number of OSPF Hello packets received on this interface since the OSPF admin status was enabled |
Rx DBDs | Displays the total number of OSPF database description packets received on this interface since the OSPF administrative status was enabled |
Rx LSRs | Displays the total number of link state requests (LSRs) received on this interface since the OSPF admin status was enabled |
Rx LSUs | Displays the total number of link state updates (LSUs) received on this interface since the OSPF admin status was enabled |
Rx LS Acks | Displays the total number of link state acknowledgments received on this interface since the OSPF admin status was enabled |
Tot Tx Packets | Displays the total number of OSPF packets transmitted on this virtual interface since it was created |
Tx Hellos | Displays the total number of OSPF Hello packets transmitted on this virtual interface since it was created |
Tx DBDs | Displays the total number of OSPF database description packets transmitted on this virtual interface |
Tx LSRs | Displays the total number of OSPF link state requests (LSRs) transmitted on this virtual interface |
Tx LSUs | Displays the total number of OSPF Hello packets transmitted on this interface since the OSPF admin status was enabled |
Tx LS Acks | Displays the total number of OSPF link state acknowledgments (LSA) transmitted on this virtual interface |
Retransmits | Displays the total number of OSPF retransmits sent on this interface since the OSPF admin status was last enabled |
Discards | Displays the total number of OSPF packets discarded on this interface since the OSPF admin status was last enabled |
Bad Networks | Displays the total number of OSPF packets received with invalid network or mask since the OSPF admin status was last enabled |
Bad Versions | Displays the total number of OSPF packets received with bad OSPF version numbers since the OSPF admin status was last enabled |
Bad Areas | Displays the total number of OSPF packets received with an area mismatch since the OSPF admin status was last enabled |
Bad Dest Addrs | Displays the total number of OSPF packets received with the incorrect IP destination address since the OSPF admin status was last enabled |
Bad Auth Types | Displays the total number of OSPF packets received with an invalid authorization type since the OSPF admin status was last enabled |
Auth Failures | Displays the total number of OSPF packets received with an invalid authorization key since the OSPF admin status was last enabled |
Bad Neighbors | Displays the total number of OSPF packets received where the neighbor information does not match the information this router has for the neighbor since the OSPF admin status was last enabled |
Bad Pkt Types | Displays the total number of OSPF packets received with an invalid OSPF packet type since the OSPF admin status was last enabled |
Bad Lengths | Displays the total number of OSPF packets received on this interface with a total length not equal to the length specified in the packet since the OSPF admin status was last enabled |
Bad Hello Int. | Displays the total number of OSPF packets received where the hello interval specified in packet was not equal to that configured on this interface since the OSPF admin status was last enabled |
Bad Dead Int. | Displays the total number of OSPF packets received where the dead interval specified in the packet was not equal to that configured on this interface since the OSPF admin status was last enabled |
Bad Options | Displays the total number of OSPF packets received with an option that does not match those configured for this interface or area since the OSPF admin status was last enabled |
Retrans Intrvl | Displays the length of time, in seconds, that OSPF waits before retransmitting an unacknowledged link state advertisement (LSA) to an OSPF neighbor |
Transit Delay | Displays the time, in seconds, that it takes to transmit a link state advertisement (LSA) on the interface or virtual link |
Last Event | Displays the date and time when an event was last associated with this OSPF interface |
Supported on all 7210 SAS platforms as described in this document
This command displays virtual neighbor information.
The following output is an example of OSPF virtual neighbor information, and Table 41 describes the output fields.
Label | Description |
Nbr IP Addr | Displays the IP address this neighbor is using in its IP source address. Note that, on links with no address, this will not be 0.0.0.0, but the address of another of neighbor interface. |
Nbr Rtr ID | Displays the router IDs of neighboring routers |
Transit Area | Displays the transit area ID that links the backbone area with the area that has no physical connection with the backbone |
Retrans Q Length | Displays the current length of the retransmission queue |
No. of Neighbors | Displays the total number of OSPF neighbors adjacent on this interface, in a state of INIT or greater, since the OSPF admin status was enabled |
Nbr State | Displays the operational state of the virtual link to the neighboring router |
Options | Displays the total number of OSPF packets received with an option that does not match those configured for this virtual interface or transit area since the OSPF admin status was enabled |
Events | Displays the total number of events that have occurred since the OSPF admin status was enabled |
Last Event Time | Displays the date and time when an event was last associated with this OSPF interface |
Up Time | Displays the uninterrupted time, in hundredths of seconds, the adjacency to this neighbor has been up |
Time Before Dead | Displays the amount of time, in seconds, until the dead router interval expires |
Bad Nbr States | Displays the total number of OSPF packets received where the neighbor information does not match the information this router has for the neighbor since the OSPF admin status was last enabled |
LSA Inst fails | Displays the total number of times an LSA could not be installed into the LSDB due to a resource allocation issue since the OSPF admin status was last enabled |
Bad Seq Nums | Displays the total number of times when a database description packet was received with a sequence number mismatch since the OSPF admin status was last enabled |
Bad MTUs | Displays the total number of times when the MTU in a received database description packet was larger than the MTU of the receiving interface since the OSPF admin status was enabled. |
Bad Packets | Displays the total number of times when an LS update was received with an illegal LS type or an option mismatch since the OSPF admin status was enabled |
LSA not in LSDB | Displays the total number of times when an LS request was received for an LSA not installed in the LSDB of this router since the OSPF admin status was enabled |
Option Mismatches | Displays the total number of times when a LS update was received with an option mismatch since the OSPF admin status was enabled |
Nbr Duplicates | Displays the total number of times when a duplicate database description packet was received during the exchange state since the OSPF admin status was enabled |
Supported on all 7210 SAS platforms as described in this document
This command clears and resets OSPF protocol entities.
Supported on all 7210 SAS platforms as described in this document
This command clears and resets OSPFv3 protocol entities.
Supported on all 7210 SAS platforms as described in this document
This command clears all LSAs received from other nodes, sets all adjacencies better than two way to one way, and refreshes all self originated LSAs.
Supported on all 7210 SAS platforms as described in this document
This command reevaluates all effective export route policies.
Supported on all 7210 SAS platforms as described in this document
This command marks the neighbor as dead and reinitiates the affected adjacencies.
Supported on all 7210 SAS platforms as described in this document
This command clears all neighbors, routers, interfaces, SPFs, and global statistics for OSPF or OSPFv3.
Supported on all 7210 SAS platforms as described in this document
This command enables the context for OSPF debugging purposes.
Supported on all 7210 SAS platforms as described in this document
This command enables the context for OSPFv3 debugging.
Supported on all 7210 SAS platforms as described in this document
This command enables debugging for an OSPF area.
Supported on all 7210 SAS platforms as described in this document
This command enables debugging for an OSPF or OSPFv3 area range.
Supported on all 7210 SAS platforms as described in this document
This command enables debugging for an OSPF or OSPFv3 constraint-based shortest path first (CSPF).
Supported on all 7210 SAS platforms as described in this document
This command enables debugging for an OSPF or OSPFv3 graceful-restart.
Supported on all 7210 SAS platforms as described in this document
This command enables debugging for an OSPF or OSPFv3 interface.
Supported on all 7210 SAS platforms as described in this document
This command enables debugging for OSPF leaks.
Supported on all 7210 SAS platforms as described in this document
This command enables debugging for an OSPF or OSPFv3 link-state database (LSDB).
Supported on all 7210 SAS platforms as described in this document
This command enables debugging for miscellaneous OSPF or OSPFv3 events.
Supported on all 7210 SAS platforms as described in this document
This command enables debugging for an OSPF or OSPFv3 neighbor.
Supported on all 7210 SAS platforms as described in this document
This command enables debugging for an NSSA range.
Supported on all 7210 SAS platforms as described in this document
This command enables debugging for OSPF or OSPFv3 packets.
Supported on all 7210 SAS platforms as described in this document
This command enables debugging for OSPF or OSPFv3 RTM.
Supported on all 7210 SAS platforms as described in this document
This command enables debugging for OSPF or OSPFv3 SPF. Information regarding overall SPF start and stop times will be shown. To see detailed information regarding the SPF calculation of a specific route, the route must be specified as an optional argument.
Supported on all 7210 SAS platforms as described in this document
This command enables debugging for an OSPF or OSPFv3 virtual neighbor.