4.12. OSPF Command Reference

4.12.1. Command Hierarchies

4.12.1.1. Configuration Commands for OSPF

config
— router
[no] ospf [ospf-instance] [router-id]
advertise-router-capability {link | area | as}
[no] area area-id
area-range ip-prefix/mask [advertise | not-advertise]
— no area-range ip-prefix/mask
[no] interface ip-int-name [secondary]
authentication-key [authentication-key | hash-key] [hash | hash2]
authentication-type {password | message-digest}
bfd-enable [remain-down-on-failure]
— no bfd-enable
dead-interval seconds
hello-interval seconds
interface-type {broadcast | point-to-point}
lfa-policy-map route-nh-template template-name
message-digest-key key-id md5 [key | hash-key] [hash | hash2]
— no message-digest-key key-id
metric metric
— no metric
mtu bytes
— no mtu
node-sid index value
node-sid label value
— no node-sid
[no] passive
priority number
— no priority
[no] shutdown
transit-delay seconds
[no] nssa
area-range ip-prefix/mask [advertise | not-advertise]
— no area-range ip-prefix/mask
[no] summaries
[no] stub
default-metric metric
[no] summaries
[no] virtual-link router-id transit-area area-id
authentication-key [authentication-key | hash-key] [hash | hash2]
authentication-type {password | message-digest}
dead-interval seconds
hello-interval seconds
message-digest-key key-id md5 [key | hash-key] [hash | hash2]
— no message-digest-key key-id
[no] shutdown
transit-delay seconds
[no] asbr [trace-path domain-id]
export policy-name [policy-name...(up to 5 max)]
— no export
export-limit number [log percentage]
external-db-overflow limit seconds
external-preference preference
[no] ldp-over-rsvp
loopfree-alternate [remote-lfa]
loopfree-alternate remote-lfa [max-pq-cost value]
loopfree-alternate-exclude prefix-policy prefix-policy [prefix-policy...(up to 5)]
overload [timeout seconds]
— no overload
overload-on-boot [timeout seconds]
preference preference
— no preference
reference-bandwidth bandwidth-in-kbps
router-id ip-address
— no router-id
prefix-sid-range {global | start-label label-value max-index index-value}
tunnel-mtu bytes
— no tunnel-mtu
tunnel-table-pref preference
[no] shutdown
[no] shutdown
timers
[no] lsa-arrival lsa-arrival-time
[no] lsa-generate max-lsa-wait [lsa-initial-wait [lsa-second-wait]]
[no] spf-wait max-spf-wait [spf-initial-wait [spf-second-wait]]

4.12.1.2. Configuration Commands for OSPF3

config
— router
[no] ospf3
[no] area area-id
area-range ip-prefix/ipv6 [advertise | not-advertise]
— no area-range ip-prefix/ipv6
[no] interface ip-int-name [secondary]
authentication bidirectional sa-name
authentication inbound sa-name outbound sa-name
bfd-enable [remain-down-on-failure]
— no bfd-enable
dead-interval seconds
hello-interval seconds
interface-type {broadcast | point-to-point}
lfa-policy-map route-nh-template template-name
metric metric
— no metric
mtu bytes
— no mtu
[no] passive
priority number
— no priority
[no] shutdown
transit-delay seconds
[no] nssa
area-range ip-prefix/ipv6 [advertise | not-advertise]
— no area-range ip-prefix/ipv6
[no] summaries
[no] stub
default-metric metric
[no] summaries
[no] virtual-link router-id transit-area area-id
authentication bidirectional sa-name
authentication inbound sa-name outbound sa-name
dead-interval seconds
hello-interval seconds
[no] shutdown
transit-delay seconds
[no] asbr [trace-path domain-id]
export policy-name [ policy-name...(up to 5 max)]
— no export
export-limit number [log percentage]
external-db-overflow limit seconds
external-preference preference
[no] ldp-over-rsvp
overload [timeout seconds]
— no overload
overload-on-boot [timeout seconds]
preference preference
— no preference
reference-bandwidth bandwidth-in-kbps
router-id ip-address
— no router-id
[no] shutdown
timers
[no] lsa-arrival lsa-arrival-time
[no] lsa-generate max-lsa-wait [lsa-initial-wait [lsa-second-wait]]
[no] spf-wait max-spf-wait [spf-initial-wait [spf-second-wait]]

4.12.1.3. Show Commands

show
— router
ospf [ospf-instance]
ospf3
area [area-id] [detail]
database [type {router | network | summary | asbr-summary | external | nssa | all} [area area-id] [adv-router router-id] [link-state-id] [detail]
interface [ip-int-name|ip-address|ipv6-address] [detail]]
interface [area area-id] [detail]
interface [ip-int-name|ip-address|ipv6-address] database [detail]
neighbor [remote ip-address] [detail]
neighbor [ip-int-name] [router-id] [detail]
opaque-database area area-id | as] [adv-router router-id][ls-id] [detail]
prefix-sids [ip-prefix[/prefix-length]] [sid sid] [adv-router router-id]
range [area-id]
sham-link [interface-name] [detail]
sham-link interface-name remote ip-address [detail]
sham-link-neighbor [detail]
sham-link-neighbor interface-name remote ip-address [detail]
spf
status
virtual-link [detail]
virtual-neighbor [remote ip-address] [detail]

4.12.1.4. Clear Commands

clear
— router
ospf [ospf-instance]
database [purge]
export
neighbor [ip-int-name | ip-address]

4.12.1.5. Debug Commands

debug
— router
ospf [ospf-instance]
ospf3
area [area-id]
— no area
area-range [ip-address]
— no area-range
cspf [ip-addr]
— no cspf
interface [ip-int-name | ip-address]
— no interface
leak [ip-address]
— no leak
lsdb [type] [ls-id] [adv-rtr-id] [area area-id]
— no lsdb
[no] misc
neighbor [ip-int-name | router-id]
— no neighbor
nssa-range [ip-address]
— no nssa-range
packet [packet-type] [interface-name] [ingress | egress] [detail]
— no packet
rtm [ip-addr]
— no rtm
spf [type] [dest-addr]
— no spf
virtual-neighbor [ip-address]

4.12.2. Command Descriptions

4.12.2.1. Configuration Commands

4.12.2.1.1. Generic Commands

shutdown

Syntax 
[no] shutdown
Context 
config>router>ospf
config>router>ospf>area>interface
config>router>ospf>area>virtual-link
config>router>ospf>segment-routing
config>router>ospf3>interface
config>router>ospf3>area>interface
config>router>ospf3>area>virtual-link
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 
Note:

The config>router>ospf>segment-routing context is supported only on the 7210 SAS-Mxp, 7210 SAS-R6, 7210 SAS-R12, and 7210 SAS-Sx/S 1/10GE.

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.

Special Cases 
OSPF Protocol—
The Open Shortest Path First (OSPF) protocol is created in the no shutdown state.
OSPF Interface—
When an IP interface is configured as an OSPF interface, OSPF on the interface is in the no shutdown state by default.
OSPF Protocol Handling —
On the 7210 SAS-Mxp, the protocol is handled as follows.

The configure router ospf command instantiates the protocol in the no shutdown state and resources are allocated to enable the node to process the protocol.

To deallocate resources, issue the configure router ospf shutdown and configure router no ospf commands to allow the node to boot up correctly after the reboot. It is not sufficient to only issue a configure router ospf shutdown command.

Resources for OSPF are allocated when the OSPF context is enabled either in the base routing instance or the VPRN service instance. Resources are deallocated when the configuration of the last OSPF context under either base routing instances or VPRN service is removed or shut down.

OSPFv3 Protocol Handling—
On the 7210 SAS-Mxp, the protocol is handled as follows.

The configure router ospf3 command instantiates the protocol in the no shutdown state and resources are allocated to enable the node to process the protocol.

To deallocate resources, issue the configure router ospf3 shutdown and configure router no ospf3 commands to allow the node to boot up correctly after the reboot. It is not sufficient to only issue a configure router ospf3 shutdown command.

Resources are allocated when the OSPFv3 instance is enabled and resources are deallocated when the OSPFv3 instance is removed or shut down.

4.12.2.1.2. OSPF Global Commands

ospf

Syntax 
[no] ospf [ospf-instance] [router-id]
Context 
config>router
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command configures the router ID for OSPF.

The router ID configured in the base instance of OSPF overrides the router ID configured in the config>router context.

The default value for the base instance is inherited from the configuration in the config>router context. When that command is not configured, the following applies.

  1. The system uses the system interface address (which is also the loopback address).
  2. If a system interface address is not configured, the last 32 bits of the chassis MAC address are used.

This is a required command when configuring multiple instances, and the instance being configured is not the base instance. When configuring multiple instances of OSPF, there is a risk of loops because networks are advertised by multiple domains configured with multiple interconnections to one another. To avoid this from happening, all routers in a domain should be configured with the same domain ID. Each domain (OSPF instance) should be assigned a specific bit value in the 32-bit tag mask.

The default value for non-base instances is 0.0.0.0 and is invalid; in this case the instance of OSPF will not start. When configuring a new router ID, the instance is not automatically restarted with the new router ID.

The next time the instance is initialized, the new router ID is used.

Issue the shutdown and no shutdown commands for the instance for the new router ID to be used, or reboot the entire router.

The no form of this command to reverts to the default value.

Note:

  1. 7210 SAS-M network mode devices allow for configuration of a single instance at any specific time. The instance ID can be anything other than zero. It allows 7210 SAS-M devices to be used in a network where multi-instance OSPF is deployed, and the node needs to use an instance ID other than the default instance ID of 0.
  2. The number of OSPF instances supported on various 7210 SAS platforms are different. Contact a Nokia representative for information about the supported scaling limits.
Default 

no ospf

Parameters 
ospf-instance—
Specifies a unique integer that identifies an instance of a version of the OSPF protocol running in the router instance specified by the router ID.
Values—
0 to 31

 

ospf3

Syntax 
[no] ospf3
Context 
config>router
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command enables the context to configure OSPF to support version 6 of the Internet Protocol (IPv6).

When an OSPF instance is created, the protocol is enabled. To start or suspend execution of the OSPF protocol without affecting the configuration, use the no shutdown command.

The no form of this command deletes the OSPF protocol instance removing all associated configuration parameters.

Default 

no ospf

advertise-router-capability

Syntax 
advertise-router-capability {link | area | as}
no advertise-router-capability
Context 
config>router>ospf
Supported Platforms 

7210 SAS-Mxp

Description 

This command enables the advertisement of a router's capabilities to its neighbors for informational and troubleshooting purposes. A router information (RI) LSA as defined in RFC 4970 advertises the following capabilities:

  1. OSPF graceful restart capable: no
  2. OSPF graceful restart helper: yes, when enabled
  3. OSPF stub router support: yes
  4. OSPF traffic engineering support: yes, when enabled
  5. OSPF point-to-point over LAN: yes
  6. OSPF experimental TE: no

The link, area, and as keywords control the scope of the capability advertisements.

The no form of this command disables this advertisement capability.

Default 

no advertise-router-capability

Parameters 
link—
Keyword specifying to advertise only over local links and not flood beyond.
area—
Keyword specifying to advertise only within the area of origin.
as—
Keyword specifying to advertise throughout the entire autonomous system.

asbr

Syntax 
[no] asbr [trace-path domain-id]
Context 
config>router>ospf
config>router>ospf3
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command configures the router as an Autonomous System Boundary Router (ASBR) if the router is to be used to export routes from the Routing Table Manager (RTM) into this instance of OSPF. When a router is configured as an ASBR, the export policies into this OSPF domain take effect. If no policies are configured, no external routes are redistributed into the OSPF domain.

When configuring multiple instances of OSPF there is a risk of loops because networks are advertised by multiple domains configured with multiple interconnections to one another. To avoid this, configure all routers in a domain with the same domain ID. Each domain (OSPF-instance) should be assigned a specific bit value in the 32-bit tag mask.

When an external route is originated by an ASBR using an internal OSPF route in a specific domain, the corresponding bit is set in the AS-external LSA. As the route gets redistributed from one domain to another, more bits are set in the tag mask, each corresponding to the OSPF domain the route visited. Route redistribution looping is prevented by checking the corresponding bit as part of the export policy; if the bit corresponding to the announcing OSPF process is already set, the route is not exported there. Figure 14 shows the checking of corresponding bit.

Figure 14:  Checking Corresponding Bit 

Domain IDs are incompatible with any other use of normal tags. The domain ID should be configured with a value between 1 and 31 by each router in a specific OSPF domain (OSPF Instance).

When an external route is originated by an ASBR using an internal OSPF route in a specific domain, the corresponding bit is set in the AS-external LSA.

The no form of this command removes the ASBR status and withdraws the routes redistributed from the RTM into this instance of OSPF from the link state database.

Default 

no asbr

Parameters 
domain-id—
Specifies the domain ID.
Values—
1 to 31

 

Default—
0

compatible-rfc1583

Syntax 
[no] compatible-rfc1583
Context 
config>router>ospf
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command enables OSPF summary and external route calculations in compliance with RFC1583 and earlier RFCs.

RFC1583 and earlier RFCs use a different method to calculate summary and external route costs. To avoid routing loops, all routers in an OSPF domain should perform the same calculation method.

Although it is favorable to require all routers to run a more current compliance level, this command allows the router to use obsolete methods of calculation.

The no form of this command enables the post-RFC1583 method of summary and external route calculation.

Default 

compatible-rfc1583

disable-ldp-sync

Syntax 
[no] disable-ldp-sync
Context 
config>router>ospf
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command disables the IGP-LDP synchronization feature on all interfaces participating in the OSPF routing protocol. When this command is executed, IGP immediately advertises the actual value of the link cost for all interfaces that have the IGP-LDP synchronization enabled if the currently advertised cost is different. The command then disables IGP-LDP synchronization for all interfaces. This command does not delete the interface configuration. The no form of this command must be entered to re-enable IGP-LDP synchronization for this routing protocol.

The no form of this command reverts to the default values and re-enables IGP-LDP synchronization on all interfaces participating in the OSPF routing protocol and for which the ldp-sync-timer is configured.

Default 

no disable-ldp-sync

export

Syntax 
export policy-name [policy-name…]
no export
Context 
config>router>ospf
config>router>ospf3
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command associates export route policies to determine which routes are exported from the route table to OSPF. Export polices are only in effect if OSPF is configured as an ASBR.

If no export policy is specified, non-OSPF routes are not exported from the routing table manager to OSPF.

If multiple policy names are specified, the policies are evaluated in the order they are specified. The first policy that matches is applied. If multiple export commands are issued, the last command entered overrides the previous command. A maximum of five policy names can be specified.

The no form of this command removes all policies from the configuration.

Default 

no export

Parameters 
policy-name—
Specifies the export route policy name. Allowed values are any string up to 32 characters composed of printable, 7-bit ASCII characters. If the string contains special characters (#, $, spaces, etc.), the entire string must be enclosed within double quotes.

The specified names must already be defined.

export-limit

Syntax 
export-limit number [log percentage]
no export-limit
Context 
config>router>ospf
config>router>ospf3
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

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.

Default 

no export-limit

Parameters 
number—
Specifies the maximum number of routes (prefixes) that can be exported into OSPF from the route table.
Values—
1 to 4294967295

 

log percentage
Specifies the percentage of the export limit, at which point a warning log message and SNMP notification are sent.
Values—
1 to 100

 

external-db-overflow

Syntax 
external-db-overflow limit interval
no external-db-overflow
Context 
config>router>ospf
config>router>ospf3
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command enables limits on the number of non-default AS-external-LSA entries that can be stored in the LSDB and specifies a wait timer before processing these after the limit is exceeded.

The limit value specifies the maximum number of non-default AS-external-LSA entries that can be stored in the link-state database (LSDB). Placing a limit on the non-default AS-external-LSAs in the LSDB protects the router from receiving an excessive number of external routes that consume excessive memory or CPU resources. If the number of routes reach or exceed the limit, the table is in an overflow state. When in an overflow state, the router will not originate any new AS-external-LSAs. In fact, it withdraws all the self-originated non-default external LSAs.

The interval value specifies the amount of time to wait after an overflow state before regenerating and processing non-default AS-external-LSAs. The waiting period acts like a dampening period preventing the router from continuously running Shortest Path First (SPF) calculations caused by the excessive number of non-default AS-external LSAs.

The external-db-overflow must be set identically on all routers attached to any regular OSPF area. OSPF stub areas and not-so-stubby areas (NSSAs) are excluded.

The no form of this command disables limiting the number of non-default AS-external-LSA entries.

Default 

no external-db-overflow

Parameters 
limit—
Specifies the maximum number of non-default AS-external-LSA entries that can be stored in the LSDB before going into an overflow state, expressed as a decimal integer.
Values—
-1 to 2147483674

 

interval—
Specifies the number of seconds after entering an overflow state before attempting to process non-default AS-external-LSAs, expressed as a decimal integer.
Values—
0 to 2147483674

 

external-preference

Syntax 
external-preference preference
no external-preference
Context 
config>router>ospf
config>router>ospf3
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command configures the preference for OSPF external routes.

A route can be learned by the router from different protocols, in which case the costs (metrics) are not comparable. When this occurs the preference is used to decide which route is used.

Different protocols should not be configured with the same preference; if this occurs the tiebreaker is per the default preference table as defined in the Table 37. If multiple routes are learned with an identical preference using the same protocol, the lowest cost route is used.

If multiple routes are learned with an identical preference using the same protocol and the costs (metrics) are equal, the decision of which route to use is determined by the configuration of the ecmp command in the config>router context.

The no form of this command reverts to the default value.

Default 

external-preference 150

Parameters 
preference—
Specifies the preference for external routes expressed as a decimal integer. Table 37 lists the defaults for different route types.
Table 37:  Route Preference Defaults by Route Type 

Route Type

Preference

Configurable

Direct attached

0

No

Static routes

5

Yes

OSPF internal

10

Yes 1

IS-IS level 1 internal

15

Yes

IS-IS level 2 internal

18

Yes

OSPF external

150

Yes

IS-IS level 1 external

160

Yes

IS-IS level 2 external

165

Yes

BGP

170

Yes

    Note:

  1. Preference for OSPF internal routes is configured using the preference command.
Values—
1 to 255

 

graceful-restart

Syntax 
[no] graceful-restart
Context 
config>router>ospf
config>router>ospf3
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command enables graceful-restart for OSPF or OSPFv3. When the control plane of a GR-capable router fails, the neighboring routers (GR helpers) temporarily preserve adjacency information, so packets continue to be forwarded through the failed GR router using the last known routes. If the control plane of the GR router comes back up within the GR timer, the routing protocols reconverge to minimize service interruption.

The no form of this command disables graceful restart and removes all graceful restart configurations in the OSPF or OSPFv3 instance.

Default 

no graceful-restart

helper-disable

Syntax 
[no] helper-disable
Context 
config>router>ospf>graceful-restart
config>router>ospf3>graceful-restart
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command disables the helper support for graceful restart.

When graceful-restart is enabled, the router can be a helper (meaning that the router is helping a neighbor to restart), be a restarting router, or both. The 7210 SAS supports only helper mode. This facilitates the graceful restart of neighbors but does not act as a restarting router.

The no helper-disable command enables helper support and is the default when graceful-restart is enabled.

Default 

disabled

ldp-over-rsvp

Syntax 
[no] ldp-over-rsvp
Context 
config>router>ospf
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command enables LDP-over-RSVP processing in this OSPF instance.

loopfree-alternate

Syntax 
loopfree-alternate [remote-lfa]
loopfree-alternate remote-lfa [max-pq-cost value]
no loopfree-alternate
Context 
config>router>ospf
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command enables Loop-Free Alternate (LFA) computation by SPF for the OSPF routing protocol instance level.

When this command is enabled, it instructs the IGP SPF to attempt to precompute both a primary next hop and an LFA next hop for every learned prefix. When found, the LFA next hop is populated into the routing table along with the primary next hop for the prefix.

The remote LFA next-hop calculation by the IGP LFA SPF is enabled by appending the remote-lfa option. When this option is enabled in an IGP instance, SPF performs the remote LFA additional computation following the regular LFA next-hop calculation when the latter results in no protection for one or more prefixes that are resolved to a specific interface.

Remote LFA extends the protection coverage of LFA-FRR to any topology by automatically computing and establishing or tearing down shortcut tunnels, also referred to as repair tunnels, to a remote LFA node, that puts the packets back into the shortest path without looping them back to the node that forwarded them over the repair tunnel. The remote LFA node is referred to as a PQ node. A repair tunnel can, in theory, be an RSVP LSP, an LDP-in-LDP tunnel, or a segment routing tunnel. Using segment routing repair tunnels is restricted to the remote LFA node.

The remote LFA algorithm is a per-link LFA SPF calculation and is not per-prefix like the regular LFA calculation. It provides protection to all destination prefixes that share the protected link by using the neighbor on the other side of the protected link as a proxy for those prefixes.

Default 

no loopfree-alternate

Parameters 
remote-lfa—
Keyword to enable remote LFA next-hop calculation by the IGP LFA SPF.
value—
Specifies the maximum IGP cost from the router that is performing the remote LFA calculation to the candidate P or Q node.
Values—
0 to 4294967295

 

loopfree-alternate-exclude

Syntax 
loopfree-alternate-exclude prefix-policy prefix-policy [prefix-policy ... (up to 5)]
no loopfree-alternate-exclude
Context 
config>router>ospf
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command excludes from LFA SPF calculation prefixes that match a prefix entry or a tag entry in a prefix policy.

The implementation already allows the user to exclude an interface in IS-IS or OSPF, an OSPF area, or an IS-IS level from the LFA SPF.

If a prefix is excluded from LFA, it is not included in LFA calculation regardless of its priority. The prefix tag is, however, used in the main SPF. Prefix tags are defined for the IS-IS protocol but not for the OSPF protocol.

The default action of the loopfree-alternate-exclude command, when not explicitly specified by the user in the prefix policy, is a “reject”. Therefore, regardless of whether the user explicitly added the statement “default-action reject” to the prefix policy, a prefix that does not match an entry in the policy is accepted into LFA SPF.

The no form of this command deletes the exclude prefix policy.

Parameters 
prefix-policy—
Specifies the name of the prefix policy, 32 characters maximum. The specified name must have been previously defined.

overload

Syntax 
overload [timeout seconds]
no overload
Context 
config>router>ospf
config>router>ospf3
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command changes the overload state of the local router so that it appears to be overloaded. When overload is enabled, the router can participate in OSPF routing, but is not used for transit traffic. Traffic destined to directly attached interfaces continues to reach the router.

Enter a timeout value to put the IGP in an overload state. The IGP enters the overload state until the timeout timer expires or a no overload command is executed.

If the overload command is encountered during the execution of an overload-on-boot command, this command takes precedence. This could occur as a result of a saved configuration file where both parameters are saved. When the file is saved by the system, the overload-on-boot command is saved after the overload command. However, when overload-on-boot is configured under OSPF with no timeout value, the router remains in the overload state indefinitely after a reboot.

The no form of this command reverts to the default value. When the no overload command is executed, the overload state is terminated regardless of the reason the protocol entered overload state.

Default 

no overload

Parameters 
timeout seconds—
Specifies the number of seconds to reset overloading.
Values—
60 to 1800

 

Default—
60

overload-include-stub

Syntax 
[no] overload-include-stub
Context 
config>router>ospf
config>router>ospf3
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command determines whether the OSPF stub networks should be advertised with a maximum metric value when the system goes into overload state for any reason. When enabled, the system uses the maximum metric value. When this command is enabled and the router is in overload, all stub interfaces, including loopback and system interfaces, are advertised at the maximum metric.

Default 

no overload-include-stub

overload-on-boot

Syntax 
overload-on-boot [timeout seconds]
no overload
Context 
config>router>ospf
config>router>ospf3
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

When the router is in an overload state, the router is used only if there is no other router to reach the destination. This command configures the IGP upon boot-up in the overload state until one of the following events occur:

  1. timeout timer expires
  2. manual override of the current overload state is entered with the no overload command

The no overload command does not affect the overload-on-boot function.

The default timeout value is 60 seconds, which means that after 60 seconds in overload status the 7210 SAS recovers (changes back to non-overload status). However, when the overload-on-boot command is configured under OSPF with no timeout value, the router remains in the overload state indefinitely after a reboot.

The no form of this command removes the overload-on-boot functionality from the configuration.

Parameters 
timeout seconds—
Specifies the number of seconds to reset overloading.
Values—
60 to 1800

 

Default—
indefinitely in overload

preference

Syntax 
preference preference
no preference
Context 
config>router>ospf
config>router>ospf3
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command configures the preference for OSPF internal routes.

A route can be learned by the router from different protocols, in which case the costs are not comparable. When this occurs, the preference is used to decide which route will be used.

Different protocols should not be configured with the same preference, if this occurs the tiebreaker decision is made according to the default preferences defined in Table 38. 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.

Default 

preference 10

Parameters 
preference—
Specifies the preference for internal routes, expressed as a decimal integer. Table 38 lists defaults for different route types.
Table 38:  Route Preference Defaults by Route Type  

Route Type

Preference

Configurable

Direct attached

0

No

Static routes

5

Yes

OSPF internal

10

Yes 1

IS-IS level 1 internal

15

Yes

IS-IS level 2 internal

18

Yes

OSPF external

150

Yes

IS-IS level 1 external

160

Yes

IS-IS level 2 external

165

Yes

BGP

170

Yes

    Note:

  1. Preference for OSPF internal routes is configured using the preference command.
Values—
1 to 255

 

reference-bandwidth

Syntax 
reference-bandwidth reference-bandwidth
no reference-bandwidth
Context 
config>router>ospf
config>router>ospf3
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command configures the reference bandwidth used to calculate the default costs of interfaces based on their underlying link speed.

The default interface cost is calculated as follows:

cost = reference bandwidth/bandwidth

The default reference bandwidth is 100 000 000 kb/s or 100 Gb/s; therefore the default auto-cost metrics for various link speeds are as follows:

  1. 10 Mb/s link: default cost of 10000
  2. 100 Mb/s link: default cost of 1000
  3. 1 Gb/s link: default cost of 100
  4. 10 Gb/s link: default cost of 10

The reference-bandwidth command assigns a default cost to the interface based on the interface speed. To override this default cost on a particular interface, use the metric metric command in the config>router>ospf>area>interface ip-int-name context.

The no form of this command reverts to the default value.

Default 

reference-bandwidth 100000000

Parameters 
reference-bandwidth—
Specifies the reference bandwidth in kilobits per second, expressed as a decimal integer.
Values—
1 to 1000000000

 

router-id

Syntax 
router-id ip-address
no router-id
Context 
config>router>ospf
config>router>ospf3
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command configures the router ID for the OSPF instance.

Configuring the router ID in the base instance of OSPF overrides the router ID configured in the config>router context.

The default value for the base instance is inherited from the configuration in the config>router context. If the router ID is not configured in the config>router context, the following applies.

  1. The system uses the system interface address (which is also the loopback address).
  2. If a system interface address is not configured, the system uses the last 32 bits of the chassis MAC address.

This is a required command when configuring multiple instances and the instance being configured is not the base instance.

When configuring a new router ID, the instance is not automatically restarted with the new router ID. The next time the instance is initialized, the new router ID is used.

To force the new router ID to be used, issue the shutdown and no shutdown commands for the instance, or reboot the entire router.

By default, the value for non-base instances is 0.0.0.0 and is invalid, in this case the instance of OSPF will not start and when running a show command an error will be displayed

The no form of this command reverts to the default value.

Parameters 
ip-address—
Specifies a 32-bit, unsigned integer uniquely identifying the router in the AS.

segment-routing

Syntax 
segment-routing
no segment-routing
Context 
config>router>ospf
Supported Platforms 

7210 SAS-Mxp, 7210 SAS-R6, 7210 SAS-R12, and 7210 SAS-Sx/S 1/10GE

Description 

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.

  1. Advertises the segment routing capability sub-TLV to routers in all areas and levels of this IGP instance. However, only neighbors with which it established an adjacency will interpret the SID and label range information and use it for calculating the label to swap to or push for a given resolved prefix SID.
  2. Advertises the assigned index for each configured node SID in the new prefix SID sub-TLV with the N-flag (node-SID flag) set. The segment routing module then programs the incoming label map (ILM) with a pop operation for each local node SID in the data path.
  3. Automatically assigns and advertises an adjacency SID label for each formed adjacency over a network IP interface in the new adjacency SID sub-TLV. The segment routing module programs the ILM with a pop operation (in effect with a swap to an implicit null label operation), for each advertised adjacency SID.
  4. Resolves received prefixes, and if a prefix SID sub-TLV exists, the segment routing module programs the ILM with a swap operation and an LTN with a push operation both pointing to the primary/LFA NHLFE. An SR tunnel is also added to the TTM.

When the user enables segment routing in an IGP instance, the main SPF and LFA SPF are computed, and the primary next hop and LFA backup next hop for a received prefix are added to the RTM without the label information advertised in the prefix SID sub-TLV.

The no form of this command reverts to the default value.

prefix-sid-range

Syntax 
prefix-sid-range {global | start-label label-value max-index index-value}
no prefix-sid-range
Context 
config>router>ospf>segment-routing
Supported Platforms 

7210 SAS-Mxp, 7210 SAS-R6, 7210 SAS-R12, and 7210 SAS-Sx/S 1/10GE

Description 

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.

Furthermore, the code checks for overlaps of the resulting net label value range across IGP instances and strictly enforces that these ranges do not overlap. The user must shut down the segment routing context of an IGP instance to change the SID index or label range of that IGP instance using the prefix-sid-range command.

In addition, any range change 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.

Default 

no prefix-sid-range

Parameters 
start-label label-value—
Specifies the label offset for the SR label range of this IGP instance.
Values—
0 to 524287

 

max-index index-value—
Specifies the maximum value of the prefix SID index range for this IGP instance.
Values—
1 to 524287

 

global—
Keyword to enable global operation mode.

tunnel-mtu

Syntax 
tunnel-mtu bytes
no tunnel-mtu
Context 
config>router>ospf>segment-routing
Supported Platforms 

7210 SAS-Mxp, 7210 SAS-R6, 7210 SAS-R12, and 7210 SAS-Sx/S 1/10GE

Description 

This command configures the MTU of all SR tunnels within each IGP instance.

The MTU of an SR tunnel populated into the TTM is determined as in the case of an IGP tunnel; for example, LDP LSP, based on the outgoing interface MTU minus the label stack size. Remote LFA can add at least two more labels to the tunnel for a total of three labels. There is no default value. If the user does not configure an SR tunnel MTU, the MTU is determined by IGP.

The MTU of the SR tunnel in bytes is determined as follows:

SR_Tunnel_MTU = MIN {Cfg_SR_MTU, IGP_Tunnel_MTU- (1+ frr-overhead)*4}

Where:

  1. Cfg_SR_MTU is the MTU configured by the user for all SR tunnels within a specific IGP instance using this command. If no value was configured by the user, the SR tunnel MTU is determined by the following IGP interface calculation.
  2. IGP_Tunnel_MTU is the minimum of the IS-IS or OSPF interface MTU among all the ECMP paths or among the primary and LFA backup paths of this SR tunnel.
  3. frr-overhead is set to 1 if segment-routing and remote-lfa options are enabled in the IGP instance. Otherwise, it is set to 0.

The SR tunnel MTU is dynamically updated whenever any of the preceding parameters used in its calculation changes. This includes when the set of tunnel next hops changes, or the user changes the configured SR MTU or interface MTU value.

The no form of this command reverts to the default value.

Default 

no tunnel-mtu

Parameters 
bytes—
Specifies the size of the maximum transmission unit (MTU) in bytes.
Values—
512 to 9198

 

tunnel-table-pref

Syntax 
tunnel-table-pref preference
no tunnel-table-pref
Context 
config>router>ospf>segment-routing
Supported Platforms 

7210 SAS-Mxp, 7210 SAS-R6, 7210 SAS-R12, and 7210 SAS-Sx/S 1/10GE

Description 

This command configures the TTM preference of shortest path SR tunnels created by the IGP instance. The TTM preference is used in the case of VPRN auto-bind or BGP transport tunnels when the new tunnel binding commands are configured to the any value, which parses the TTM for tunnels in the protocol preference order. The user can either use the global TTM preference or list the tunnel types they want to use. When they list the tunnel types explicitly, the TTM preference is used to select one type over the other. In both cases, a fallback to the next preferred tunnel type is performed if the selected one fails. Also, a reversion to a more preferred tunnel type is performed as soon as one is available.

The segment routing module adds an SR tunnel entry to the TTM for each resolved remote node SID prefix and programs the 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:

  1. ROUTE_PREF_RSVP 7
  2. ROUTE_PREF_SR_TE 8
  3. ROUTE_PREF_LDP 9
  4. ROUTE_PREF_OSPF_TTM 10
  5. ROUTE_PREF_ISIS_TTM 11
  6. ROUTE_PREF_BGP_TTM 12
  7. ROUTE_PREF_GRE 255

The default value for SR-OSPF is the same regardless of whether one or more OSPF instances programmed a tunnel for the same prefix. The selection of an SR tunnel in this case is based on the lowest IGP instance ID.

The no form of this command reverts to the default value.

Default 

no tunnel-table-pref

Parameters 
preference—
Specifies the integer value to represent the preference of OSPF SR tunnels in the TTM.
Values—
1 to 255

 

Default—
10

timers

Syntax 
timers
Context 
config>router>ospf
config>router>ospf3
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command enables the context to configure OSPF timers. Timers control the delay between the receipt of a link state advertisement (LSA) requiring a Dijkstra (Shortest Path First (SPF)) calculation and the minimum time between successive SPF calculations.

Changing the timers affects CPU utilization and network reconvergence times. Lower values reduce convergence time but increase CPU utilization. Higher values reduce CPU utilization but increase reconvergence time.

lsa-arrival

Syntax 
lsa-arrival lsa-arrival-time
no lsa-arrival
Context 
config>router>ospf>timers
config>router>ospf3>timers
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command defines the minimum delay that must pass between receipt of the same LSAs arriving from neighbors.

Nokia recommends that the lsa-generate lsa-second-wait interval for the neighbors be equal to or greater than the lsa-arrival-time value.

The no form of this command reverts to the default value.

Default 

no lsa-arrival

Parameters 
lsa-arrival-time—
Specifies the timer in milliseconds. Values entered that do not match this requirement are rejected.
Values—
0 to 600000

 

lsa-generate

Syntax 
lsa-generate max-lsa-wait [lsa-initial-wait [lsa-second-wait]]
no lsa-generate-interval
Context 
config>router>ospf>timers
config>router>ospf3>timers
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command customizes the throttling of OSPF LSA generation. Timers that determine when to generate the first, second, and subsequent LSAs can be controlled with this command. Subsequent LSAs are generated at increasing intervals of the lsa-second-wait timer until a maximum value is reached.

Nokia recommends configuring the lsa-arrival-time to be equal to or less than the lsa-second-wait interval configured in the lsa-generate command.

The no form of this command reverts to the default value.

Default 

no lsa-generate

Parameters 
max-lsa-wait—
Specifies the maximum interval, in milliseconds, between two consecutive occurrences of an LSA being generated.
Values—
10 to 600000

 

Default—
5000
lsa-initial-wait—
Specifies the first waiting period between LSAs generated, in milliseconds. When the LSA exceeds the lsa-initial-wait timer value and the topology changes, there is no wait period and the LSA is immediately generated.

When an LSA is generated, the initial wait period commences. If another topology change occurs within the specified lsa-initial-wait period, the lsa-initial-wait timer applies.

Values—
10 to 600000

 

Default—
5000
lsa-second-wait—
Specifies the hold time, in milliseconds, between the first and second LSA generation. The next topology change is subject to this second wait period. With each subsequent topology change, the wait time doubles (that is, two times the previous wait time). This assumes that each failure occurs within the relevant wait period.
Values—
10 to 600000

 

Default—
5000

spf-wait

Syntax 
spf-wait max-spf-wait [spf-initial-wait [spf-second-wait]]
no spf-wait
Context 
config>router>ospf>timers
config>router>ospf3>timers
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command defines the maximum interval between two consecutive SPF calculations, in milliseconds. Timers that determine when to initiate the first, second, and subsequent SPF calculations after a topology change occurs can be controlled with this command. Subsequent SPF runs (if required) occur at exponentially increasing intervals of the spf-second-wait interval. For example, if the spf-second-wait interval is 1000, the next SPF runs after 2000 milliseconds, and the next SPF runs after 4000 milliseconds, and so on, until it reaches the spf-wait value. The SPF interval stays at the spf-wait value until there are no more SPF runs scheduled in that interval. After a full interval without any SPF runs, the SPF interval drops back to spf-initial-wait.

The timer must be entered in increments of 100 milliseconds. Values entered that do not match this requirement are rejected.

The no form of this command reverts to the default value.

Default 

no spf-wait

Parameters 
max-spf-wait—
Specifies the maximum interval, in milliseconds, between two consecutive SPF calculations.
Values—
10 to 120000

 

Default—
1000
spf-initial-wait—
Specifies the initial SPF calculation delay, in milliseconds, after a topology change.
Values—
10 to 100000

 

Default—
1000
spf-second-wait—
Specifies the hold time, in milliseconds, between the first and second SPF calculation.
Values—
10 to 100000

 

Default—
1000

traffic-engineering

Syntax 
[no] traffic-engineering
Context 
config>router>ospf
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command enables traffic engineering route calculations constrained by nodes or links.

The traffic engineering capabilities of this router are limited to calculations based on link and nodal constraints.

The no form of this command disables traffic engineered route calculations.

Default 

no traffic-engineering

4.12.2.1.3. OSPF Area Commands

area

Syntax 
[no] area area-id
Context 
config>router>ospf
config>router>ospf3
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

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 configuration of all the interfaces, virtual links, address ranges, and so on, that are currently assigned to this area.

Default 

no area

Parameters 
area-id—
Specifies the OSPF area ID, expressed in dotted decimal notation or as a 32-bit decimal integer.
Values—
0.0.0.0 to 255.255.255.255 (dotted decimal)
0 to 4294967295 (decimal integer)

 

area-range

Syntax 
area-range ip-prefix/mask [advertise | not-advertise]
no area-range ip-prefix/mask
no area-range ipv6-prefix/prefix-length
area-range ipv6-prefix/prefix-length [advertise | not-advertise]
Context 
config>router>ospf>area
config>router>ospf>area>nssa
config>router>ospf3>area
config>router>ospf3>area>nssa
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

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.

Default 

no area-range

Special Cases 
NSSA Context—
In the NSSA context, the option 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.
Area Context—
If this command is not entered under the NSSA context, the range applies to summary LSAs even if the area is an NSSA.
Parameters 
ip-prefix—
Specifies the IP prefix in dotted decimal notation for the range used by the ABR.
Values—

ip-prefix/mask:

ip-prefix a.b.c.d (host bits must be 0)

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

 

mask—
Specifies the subnet mask for the range.
Values—
0 to 32 (mask length)

 

advertise | not-advertise—
Specifies whether to advertise the summarized range of addresses into other areas. The advertise keyword indicates the range will be advertised, and the not-advertise keyword indicates the range will not be advertised.
Default—
advertise

blackhole-aggregate

Syntax 
[no] blackhole-aggregate
Context 
config>router>ospf>area
config>router>ospf3>area
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command installs a low-priority blackhole route for the entire aggregate. Existing 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.

Default 

blackhole-aggregate

default-metric

Syntax 
default-metric metric
no default-metric
Context 
config>router>ospf>area>stub
config>router>ospf3>area
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command configures the metric used by the 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 

default-metric 1

Parameters 
metric—
Specifies the metric, expressed as a decimal integer, for the default route cost to be advertised into the stub area.
Values—
1 to 16777215

 

lfa-policy-map

Syntax 
lfa-policy-map route-nh-template template-name
no lfa-policy-map
Context 
config>router>ospf>area>interface
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command applies a route next-hop policy template to an OSPF interface. When a route next-hop policy template is applied to an interface in OSPF, it is applied in all areas.

The command in an OSPF interface context can only be executed under the area in which the specified interface is primary, and then applied 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 fails.

If the user excluded the interface from LFA using the command loopfree-alternate-exclude, the LFA policy, if applied to the interface, has no effect.

If the user applied a route next-hop policy template to a loopback interface or to the system interface, the command is not rejected, but the policy has no effect on the interface.

The no form of this command deletes the mapping of a route next-hop policy template to an OSPF interface.

Parameters 
template-name—
Specifies the name of the template, 32 characters maximum.

loopfree-alternate-exclude

Syntax 
[no] loopfree-alternate-exclude
Context 
config>router>ospf>area
config>router>ospf>area>interface
config>router>ospf3>area>interface
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command instructs IGP to exclude a specific interface or all interfaces that are participating in a specific 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 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 fail.

The no form of this command reverts to the default value.

Default 

no loopfree-alternate-exclude

nssa

Syntax 
[no] nssa
Context 
config>router>ospf>area
config>router>ospf3>area
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command enables the context to configure an OSPF or OSPF3 Not So Stubby Area (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 an NSSA has the capability to flood external routes that it learns throughout its area and via an ABR to the entire OSPF or OSPF3 domain.

Existing virtual links of a non-stub or NSSA 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.

The no form of this command removes the NSSA designation and configuration context from the area.

Default 

no nssa

originate-default-route

Syntax 
originate-default-route [type-7]
no originate-default-route
Context 
config>router>ospf>area>nssa
config>router>ospf3>area>nssa
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command enables the generation of a default route and its LSA type (3 or 7) into an NSSA by an NSSA ABR or ASBR.

When configuring an NSSA with no summaries, the ABR injects a type 3 LSA default route into the NSSA. Some older implementations expect a type 7 LSA default route.

The no form of this command disables origination of a default route.

Default 

no originate-default-route

Parameters 
type-7—
Specifies that a type-7 LSA should be used for the default route.

Configure this 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 originate-default-route without the type-7 parameter.

Default—
type-3 LSA for the default route

redistribute-external

Syntax 
[no] redistribute-external
Context 
config>router>ospf>area>nssa
config>router>ospf3>area>nssa
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command enables the redistribution of external routes into an 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 OSPF3 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 (providing it is an ASBR) throughout its area and via an ABR to the entire OSPF or OSPF3 domain.

The no form of this command disables the default behavior to automatically redistribute external routes into the NSSA from the NSSA ABR.

Default 

redistribute-external

stub

Syntax 
[no] stub
Context 
config>router>ospf>area
config>router>ospf3>area
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

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 area or NSSA are 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.

Default 

no stub

summaries

Syntax 
[no] summaries
Context 
config>router>ospf>area>stub
config>router>ospf>area>nssa
config>router>ospf3>area>stub
config>router>ospf3>area>nssa
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command enables sending summary (type 3) advertisements into a stub area or NSSA on an ABR.

This command is particularly useful to reduce the size of the routing and Link State Database (LSDB) tables within the stub area or NSSA.

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.

Default 

summaries

4.12.2.1.4. Interface and Virtual Link Commands

authentication

Syntax 
authentication [inbound sa-name outbound sa-name]
authentication bidirectional sa-name
no authentication
Context 
config>router>ospf3>area>interface
config>router>ospf3>area>virtual-link>if
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command configures the password used by the OSPF3 interface or virtual link to send and receive OSPF3 protocol packets on the interface when simple password authentication is configured.

All neighboring routers must use the same type of authentication and password for correct protocol communication.

By default, no authentication key is configured.

The no form of this command removes the authentication.

Default 

no authentication

Parameters 
inbound sa-name
Specifies the inbound sa-name for OSPF3 authentication, up to 32 characters.
outbound sa-name
Specifies the outbound sa-name for OSPF3 authentication, up to 32 characters.
bidirectional sa-name
Specifies bidirectional OSPF3 authentication, up to 32 characters.

authentication-key

Syntax 
authentication-key [authentication-key | hash-key] [hash | hash2]
no authentication-key
Context 
config>router>ospf>area>interface
config>router>ospf>area>virtual-link>if
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command configures the password used by the OSPF interface or virtual-link to send and receive OSPF protocol packets on the interface when simple password authentication is configured.

All neighboring routers must use the same type of authentication and password for correct protocol communication. If the authentication-type is configured as password, this key must be configured.

By default, no authentication key is configured.

The no form of this command removes the authentication key.

Default 

no authentication-key

Parameters 
authentication-key—
Specifies the authentication key. The key can be any combination of ASCII characters up to 8 characters (unencrypted). If spaces are used in the string, enclose the entire string in quotation marks (“ ”).
hash-key
Keyword that specifies the hash key. The key can be any combination of ASCII characters up to 22 characters (encrypted). If spaces are used in the string, enclose the entire string in quotation marks (“ ”).

This is useful when a user must configure the parameter, but, for security purposes, the actual unencrypted key value is not provided.

hash—
Keyword that specifies the key is entered in an encrypted form. If the hash parameter is not used, the key is assumed to be in a non-encrypted, clear text form. For security, all keys are stored in encrypted form in the configuration file with the hash parameter specified.
hash2—
Keyword that specifies the key is entered in a more complex encrypted form. If the hash2 parameter is not used, the less encrypted hash form is assumed.

authentication-type

Syntax 
authentication-type {password | message-digest}
no authentication-type
Context 
config>router>ospf>area>interface
config>router>ospf>area>virtual-link
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command enables authentication and specifies the type of authentication to be used on the OSPF interface.

Both simple 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.

Default 

no authentication

Parameters 
password—
Keyword that enables simple password (plain text) authentication. If authentication is enabled and no authentication type is specified in the command, simple password authentication is enabled.
message-digest—
Keyword that enables message digest MD5 authentication in accordance with RFC1321. If this option is configured, at least one message-digest-key must be configured.

bfd-enable

Syntax 
[no] bfd-enable [remain-down-on-failure]
Context 
config>router>ospf>area>interface
config>router>ospf3>area>interface
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command enables the use of bidirectional forwarding (BFD) to control the state of the associated protocol interface. By enabling BFD on a specific protocol interface, the state of the protocol interface is tied to the state of the BFD session between the local node and the remote node. The parameters used for the BFD are set using the BFD command under the IP interface.

Note:

  1. BFD is not supported for IPv6 interfaces.
  2. For more information about the protocols and platforms that support BFD, refer to the 7210 SAS-M, T, R6, R12, Mxp, Sx, S Router Configuration Guide.

The no form of this command removes BFD from the associated IGP protocol adjacency.

Default 

no bfd-enable

Parameters 
remain-down-on-failure—
Keyword that forces adjacency down on BFD failure.

dead-interval

Syntax 
dead-interval seconds
no dead-interval
Context 
config>router>ospf>area>interface
config>router>ospf>area>virtual-link
config>router>ospf3>area>interface
config>router>ospf3>area>virtual-link
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command configures the time, in seconds, that OSPF 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.

Default 

dead-interval 40

Special Cases 
OSPF Interface—
If the configured dead-interval value applies to an interface, all nodes on the subnet must have the same dead interval.
Virtual Link—
If the configured dead-interval value applies to a virtual link, the interval on both termination points of the virtual link must have the same dead interval.
Parameters 
seconds—
Specifies the dead interval, in seconds.
Values—
1 to 65535

 

export

Syntax 
[no] export policy-name [policy-name...up to 5 max]
Context 
config>router>ospf
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command configures export routing policies that determine the routes exported from the routing table to OSPF.

If no export policy is defined, non OSPF routes are not exported from the routing table manager to IS-IS.

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.

Default 

no export

Parameters 
policy-name—
Specifies the export policy name.

export-limit

Syntax 
export-limit number [log percentage]
no export-limit
Context 
config>router>ospf
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

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.

Default 

no export-limit

Parameters 
number—
Specifies the maximum number of routes (prefixes) that can be exported into OSPF from the route table.
Values—
1 to 4294967295

 

log percentage
Specifies the percentage of the export-limit at which a warning log message and SNMP notification would be sent.
Values—
1 to 100

 

hello-interval

Syntax 
hello-interval seconds
no hello-interval
Context 
config>router>ospf>area>interface
config>router>ospf>area>virtual-link
config>router>ospf3>area>interface
config>router>ospf3>area>virtual-link
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command configures the interval between OSPF 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.

The no form of this command reverts to the default value.

Default 

hello-interval 10

Special Cases 
OSPF Interface—
If the configured hello-interval value applies to an interface, all nodes on the subnet must have the same hello interval.
Virtual Link—
If the configured hello-interval value applies to a virtual link, the interval on both termination points of the virtual link must have the same hello interval.
Parameters 
seconds—
Specifies the hello interval, in seconds, expressed as a decimal integer.
Values—
1 to 65535

 

interface

Syntax 
[no] interface ip-int-name [secondary]
Context 
config>router>ospf>area
config>router>ospf3>area
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command enables the context to configure an OSPF interface.

By default, interfaces are not activated in any interior gateway protocol, such as OSPF, 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.

Default 

no interface

Parameters 
ip-int-name—
Specifies the IP interface name. Interface names must be unique within the group of defined IP interfaces for config router interface and config service ies interface commands. An interface name cannot be in the form of an IP address. Interface names can be any string up to 32 characters composed of printable, 7-bit ASCII characters. If the string contains special characters (#, $, spaces, etc.), the entire string must be enclosed within double quotes.

If the IP interface name does not exist or does not have an IP address configured, an error message is returned.

If the IP interface exists in a different area, it will be moved to this area.

Note:

The IPv6 address is not present for OSPF on the node. It is supported only for OSPF3.

secondary—
Keyword that allows multiple secondary adjacencies to be established over a single IP interface.

interface-type

Syntax 
interface-type {broadcast | point-to-point}
no interface-type
Context 
config>router>ospf>area>interface
config>router>ospf3>area>interface
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

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 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.

Default 

interface-type point-to-point — if the physical interface is SONET

interface-type broadcast — if the physical interface is Ethernet or unknown

Special Cases 
Virtual-Link—
A virtual link is always regarded as a point-to-point interface and not configurable.
Parameters 
broadcast—
Keyword that configures the interface to maintain this link as a broadcast network. To significantly improve adjacency forming and network convergence, a network should be configured as point-to-point if only two routers are connected, even if the network is a broadcast media, such as Ethernet.
point-to-point—
Keyword that configures the interface to maintain this link as a point-to-point link.

message-digest-key

Syntax 
message-digest-key key-id md5 [key | hash-key] [hash| hash2]
no message-digest-key key-id
Context 
config>router>ospf>area>interface
config>router>ospf>area>virtual-link
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

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 value.

Parameters 
key-id—
Specifies the key ID, expressed as a decimal integer.
Values—
1 to 255

 

md5 key
Specifies the MD5 key. The key can be any alphanumeric string up to 16 characters.
md5 hash-key
Specifies the MD5 hash key. The key can be any combination of ASCII characters, up to 32 characters (encrypted). If spaces are used in the string, enclose the entire string in quotation marks (“ ”).

This is useful when a user must configure the parameter, but, for security purposes, the actual unencrypted key value is not provided.

hash—
Keyword that specifies the key is entered in an encrypted form. If the hash parameter is not used, the key is assumed to be in a non-encrypted, clear text form. For security, all keys are stored in encrypted form in the configuration file with the hash parameter specified.
hash2—
Keyword that specifies the key is entered in a more complex encrypted form. If the hash2 parameter is not used, the less encrypted hash form is assumed.

metric

Syntax 
metric metric
no metric
Context 
config>router>ospf>area>interface
config>router>ospf3>area>interface
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command configures an explicit route cost metric for the OSPF 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.

Default 

no metric

Parameters 
metric—
Specifies the metric to be applied to the interface, expressed as a decimal integer.
Values—
1 to 65535

 

mtu

Syntax 
mtu bytes
no mtu
Context 
config>router>ospf>area>interface
config>router>ospf3>area>interface
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command configures the OSPF packet size used on this interface. If this parameter is not configured, OSPF derives the MTU value from the MTU configured (default or explicitly) in the following contexts:

  1. config>port>ethernet
  2. config>port>sonet-sdh>path
  3. config>port>tdm>t3-e3
  4. config>port>tdm>t1-e1>channel-group

If this parameter is configured, the smaller value between the value configured here and the MTU configured (default or explicitly) in any of the previous contexts is used.

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 (IP) packet MTU configured in this command.

The no form of this command reverts to the default value.

Default 

no mtu

Parameters 
bytes—
Specifies the MTU to be used by OSPF for this logical interface, in bytes.
Values—
512 to 9198

 

node-sid

Syntax 
node-sid index value
node-sid label value
no node-sid
Context 
config>router>ospf>area>interface
Supported Platforms 

7210 SAS-Mxp, 7210 SAS-R6, 7210 SAS-R12, and 7210 SAS-Sx/S 1/10GE

Description 

This command assigns a node SID index or label value to the prefix representing the primary address of an IPv4 network interface of the loopback type. 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.

Default 

no node-sid

Parameters 
value—
Specifies the node SID index or label value.
Values—
0 to 4294967295

 

passive

Syntax 
[no] passive
Context 
config>router>ospf>area>interface
config>router>ospf3>area>interface
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command adds the passive property to the OSPF interface where passive interfaces are advertised as OSPF interfaces but do not run the OSPF protocol.

By default, only interface addresses that are configured for OSPF are advertised as OSPF interfaces. The passive command allows an interface to be advertised as an OSPF interface without running the OSPF protocol.

While in passive mode, the interface ignores ingress OSPF protocol packets and does not transmit OSPF protocol packets.

By default, service interfaces defined in the config>router>service-prefix context are passive. All other interfaces are not passive.

The no form of this command removes the passive property from the OSPF interface.

priority

Syntax 
priority number
no priority
Context 
config>router>ospf>area>interface
config>router>ospf3>area>interface
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command configures the priority of the OSPF interface that is used in an election of the designated router on the subnet.

This parameter is used only 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 (DR) or backup designated router (BDR).

The no form of this command reverts to the default value.

Default 

priority 1

Parameters 
number—
Specifies the interface priority, expressed as a decimal integer. A value of 0 indicates the router is not eligible to be the DR or BDR on the interface subnet.
Values—
0 to 255

 

retransmit-interval

Syntax 
retransmit-interval seconds
no retransmit-interval
Context 
config>router>ospf>area>interface
config>router>ospf>area>virtual-link
config>router>ospf3>area>interface
config>router>ospf3>area>virtual-link
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command specifies the length of time, in seconds, that OSPF waits 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 acknowledgment has been received, the LSA will be retransmitted.

The no form of this command reverts to the default value.

Default 

retransmit-interval 5

Parameters 
seconds—
Specifies the retransmit interval, in seconds, expressed as a decimal integer.
Values—
1 to 1800

 

transit-delay

Syntax 
transit-delay seconds
no transit-delay
Context 
config>router>ospf>area>interface
config>router>ospf>area>virtual-link
config>router>ospf3>area>interface
config>router>ospf3>area>virtual-link
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command configures the estimated time, in seconds, to transmit an LSA on the interface or virtual link.

The no form of this command reverts to the default value.

Default 

transit-delay 1

Parameters 
seconds—
Specifies the transit delay, in seconds, expressed as a decimal integer.
Values—
1 to 1800

 

virtual-link

Syntax 
[no] virtual-link router-id transit-area area-id
Context 
config>router>ospf>area
config>router>ospf3>area
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command configures a virtual link to connect area border routers to the backbone via 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 (see area 0.0.0.2 in the following figure), the area border routers (routers 1 and 2 in the following figure) must be connected using a virtual link. The two area border routers form a point-to-point-like adjacency across the transit area. (area 0.0.0.1 in the following figure). A virtual link can be configured only 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 an NSSA.

The no form of this command deletes the virtual link.

Parameters 
router-id—
Specifies the router ID of the virtual neighbor, in IP address dotted decimal notation.
transit-area area-id
Specifies the area ID that identifies the transit area that links the backbone area with the area that has no physical connection with the backbone.

The OSPF backbone area, area 0.0.0.0, must be contiguous and all other areas must be connected to the backbone area. The backbone distributes routing information between areas. If it is not practical to connect an area to the backbone, the area border routers (such as routers Y and Z) must be connected using a virtual link. The two area border routers form a point-to-point-like adjacency across the transit area (area 0.0.0.4).

4.12.2.2. Show Commands

ospf

Syntax 
ospf [ospf-instance]
Context 
show>router
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command enables the context to display OSPF information.

Note:

  1. 7210 SAS-M network mode devices allow for configuration of a single instance at any specific time. The instance ID can be anything other than zero. It allows 7210 SAS-M devices to be used in a network, where multi-Instance OSPF is deployed, and the node needs to use an instance ID other than the default instance ID of 0.
  2. The number of OSPF instances that can be configured depends on the 7210 SAS platform. Contact Nokia technical support for information about the supported scaling limits.
Parameters 
ospf-instance—
Specifies the OSPF instance.
Values—
0 to 31

 

area

Syntax 
area [area-id] [detail]
Context 
show>router>ospf
show>router>ospf3
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command displays configuration information about all areas or the specified area. When detail is specified, operational and statistical information are displayed.

Parameters 
area-id—
Specifies the OSPF area ID expressed in dotted decimal notation or as a 32-bit decimal integer.
detail—
Displays detailed information about the area.
Output 

The following output is an example of area information, and Table 39 describes the standard and detailed output fields.

Sample Output
A:7210# show router ospf area detail 
===============================================================================
OSPF Areas (Detailed)
===============================================================================
-------------------------------------------------------------------------------
Area Id: 0.0.0.0
-------------------------------------------------------------------------------
Area Id          : 0.0.0.0              Type             : Standard            
Virtual Links    : 0                    Total Nbrs       : 2                   
Active IFs       : 3                    Total IFs        : 3                   
Area Bdr Rtrs    : 0                    AS Bdr Rtrs      : 0                   
SPF Runs         : 7                    Last SPF Run     : 10/26/2006 10:09:18 
Router LSAs      : 3                    Network LSAs     : 3                   
Summary LSAs     : 0                    Asbr-summ LSAs   : 0                   
Nssa ext LSAs    : 0                    Area opaque LSAs : 3                   
Total LSAs       : 9                    LSA Cksum Sum    : 0x28b62             
Blackhole Range  : True                 Unknown LSAs     : 0                   
===============================================================================
*A:Bombadil# show router ospf area 0.0.0.0 detail 
 
===============================================================================
OSPF Area (Detailed) :  0.0.0.0
===============================================================================
-------------------------------------------------------------------------------
Configuration
-------------------------------------------------------------------------------
Area Id          : 0.0.0.0              Type             : Standard            
-------------------------------------------------------------------------------
Statistics
-------------------------------------------------------------------------------
Virtual Links    : 0                    Total Nbrs       : 2                   
Active IFs       : 3                    Total IFs        : 3                   
Area Bdr Rtrs    : 0                    AS Bdr Rtrs      : 0                   
SPF Runs         : 7                    Last SPF Run     : 10/26/2006 10:09:18 
Router LSAs      : 3                    Network LSAs     : 3                   
Summary LSAs     : 0                    Asbr-summ LSAs   : 0                   
Nssa ext LSAs    : 0                    Area opaque LSAs : 3                   
Total LSAs       : 9                    LSA Cksum Sum    : 0x28b62             
Blackhole Range  : True                 Unknown LSAs     : 0                   
===============================================================================
 
*A:ALU_SIM11>show>router>ospf# area detail
 
===============================================================================
OSPF Areas (Detailed)
===============================================================================
-------------------------------------------------------------------------------
Area Id: 0.0.0.0
-------------------------------------------------------------------------------
Area Id          : 0.0.0.0              Type             : Standard
Virtual Links    : 0                    Total Nbrs       : 1
Active IFs       : 2                    Total IFs        : 2
Area Bdr Rtrs    : 1                    AS Bdr Rtrs      : 0
SPF Runs         : 5                    Last SPF Run     : 07/06/2010 10:36:45
Router LSAs      : 2                    Network LSAs     : 0
Summary LSAs     : 1                    Asbr-summ LSAs   : 0
Nssa ext LSAs    : 0                    Area opaque LSAs : 0
Total LSAs       : 3                    LSA Cksum Sum    : 0x15668
Blackhole Range  : True                 Unknown LSAs     : 0
=============================================================================== 
 
 
Sample Output for OSPF3
 
*A:Dut-A# show router ospf3 area detail 
 
===============================================================================
OSPF Areas (Detailed)
===============================================================================
-------------------------------------------------------------------------------
Area Id: 0.0.0.0
-------------------------------------------------------------------------------
Area Id          : 0.0.0.0              Type             : Standard
Key Rollover Int.: 10
Virtual Links    : 0                    Total Nbrs       : 2
Active IFs       : 3                    Total IFs        : 3
Area Bdr Rtrs    : 0                    AS Bdr Rtrs      : 0
SPF Runs         : 8                    Last SPF Run     : 10/09/2012 13:54:11
Router LSAs      : 3                    Network LSAs     : 3
IE Pfx LSAs      : 0                    IE Rtr LSAs      : 0
Nssa ext LSAs    : 0                    IA Pfx LSAs      : 6
Total LSAs       : 12                   LSA Cksum Sum    : 0x67bc8
Blackhole Range  : True                 Unknown LSAs     : 0
===============================================================================
*A:Dut-A# show router ospf3 area 0.0.0.0 detail 
 
===============================================================================
OSPF Area (Detailed) :  0.0.0.0
===============================================================================
-------------------------------------------------------------------------------
Configuration
-------------------------------------------------------------------------------
Area Id          : 0.0.0.0              Type             : Standard
Key Rollover Int.: 10
-------------------------------------------------------------------------------
Statistics
-------------------------------------------------------------------------------
Virtual Links    : 0                    Total Nbrs       : 2
Active IFs       : 3                    Total IFs        : 3
Area Bdr Rtrs    : 0                    AS Bdr Rtrs      : 0
SPF Runs         : 8                    Last SPF Run     : 10/09/2012 13:54:11
Router LSAs      : 3                    Network LSAs     : 3
IE Pfx LSAs      : 0                    IE Rtr LSAs      : 0
Nssa ext LSAs    : 0                    IA Pfx LSAs      : 6
Total LSAs       : 12                   LSA Cksum Sum    : 0x67bc8
Blackhole Range  : True                 Unknown LSAs     : 0
===============================================================================
*A:Dut-A#  
Table 39:  Output Fields: OSPF Area  

Label

Description

Area Id

Displays a 32-bit integer uniquely identifying an area

Type

NSSA — area is configured as an NSSA area

Standard — area is configured as a standard area (not NSSA or stub)

Stub — 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 LSAs 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 AS external LSAs

Blackhole Range

False — no blackhole route is installed for aggregates configured in this area

True — a lowest priority blackhole route is installed for aggregates configured in this area

database

Syntax 
database [type {router | network | summary | asbr-summary | external | nssa | all}] [area area-id] [adv-router router-id] [link-state-id] [detail]
Context 
show>router>ospf
show>router>ospf3
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command displays information about the OSPF link state database (LSDB).

When no options are specified, this command displays brief output for all database entries

Parameters 
type keyword
Specifies that the OSPF LSDB information should be filtered based on the type specified by keyword.
type router—
Displays only router (Type 1) LSAs in the LSDB.
type network—
Displays only network (Type 2) LSAs in the LSDB.
type summary—
Displays only summary (Type 3) LSAs in the LSDB.
type asbr-summary—
Displays only ASBR summary (Type 4) LSAs in the LSDB.
type external—
Displays only AS external (Type 5) LSAs in the LSDB. External LSAs are maintained globally and not per area. If the display of external links is requested, the area parameter, if present, is ignored.
type nssa—
Displays only NSSA-specific AS external (Type 7) LSAs in the LSDB.
type all—
Displays all LSAs in the LSDB. The all keyword is intended to be used with either the area area-id or the adv-router router-id [link-state-id] parameters.
area area-id
Displays LSDB information associated with the specified OSPF area-id.
adv-router router-id [link-state-id]
Displays LSDB information associated with the specified advertising router. To further narrow the number of items displayed, the link-state-id can optionally be specified.
detail—
Displays detailed information about the LSDB entries.
Output 

The following output is an example of OSPF link state database information, and Table 40 describes the output fields.

Sample Output
A:ALA-A#  show router ospf database
===============================================================================
OSPF Link State Database (Type : All)
===============================================================================
Area Id         Type    Link State Id   Adv Rtr Id      Age  Sequence   Cksum
-------------------------------------------------------------------------------
0.0.0.0         Router  180.0.0.2       180.0.0.2       1800 0x800000b6 0xf54
0.0.0.0         Router  180.0.0.5       180.0.0.5       1902 0x8000009d 0xcb7c
0.0.0.0         Router  180.0.0.8       180.0.0.8       1815 0x8000009a 0x529b
0.0.0.0         Router  180.0.0.9       180.0.0.9       1156 0x80000085 0xd00f
0.0.0.0         Router  180.0.0.10      180.0.0.10      533  0x8000009d 0x3f1f
0.0.0.0         Router  180.0.0.11      180.0.0.11      137  0x80000086 0xc58f
0.0.0.0         Router  180.0.0.12      180.0.0.12      918  0x8000009d 0x4cf3
0.0.0.0         Router  180.0.0.13      180.0.0.13      1401 0x800000a2 0x879c
0.0.0.0         Network 180.0.53.28     180.0.0.28      149  0x80000083 0xe5cd
0.0.0.0         Network 180.0.54.28     180.0.0.28      1259 0x80000083 0xdad7
0.0.0.0         Summary 180.0.0.15      180.0.0.10      378  0x80000084 0xeba1
0.0.0.0         Summary 180.0.0.15      180.0.0.12      73   0x80000084 0xdfab
0.0.0.0         Summary 180.0.0.18      180.0.0.10      1177 0x80000083 0xcfbb
0.0.0.1         Summary 180.100.25.4    180.0.0.12      208  0x80000091 0x3049
0.0.0.1         AS Summ 180.0.0.8       180.0.0.10      824  0x80000084 0x3d07
0.0.0.1         AS Summ 180.0.0.8       180.0.0.12      1183 0x80000095 0x4bdf
0.0.0.1         AS Summ 180.0.0.9       180.0.0.10      244  0x80000082 0x73cb
n/a             AS Ext  7.1.0.0         180.0.0.23      1312 0x80000083 0x45e7
n/a             AS Ext  7.2.0.0         180.0.0.23      997  0x80000082 0x45e6
n/a             AS Ext  10.20.0.0       180.0.0.23      238  0x80000081 0x2d81
...
-------------------------------------------------------------------------------
No. of LSAs: 339
===============================================================================
A:ALA-A#  
 
 
A:ALA-A#  show router ospf database detail
===============================================================================
OSPF Link State Database (Type : All) (Detailed)
-------------------------------------------------------------------------------
Router LSA for Area 0.0.0.0
-------------------------------------------------------------------------------
Area Id          : 0.0.0.0              Adv Router Id    : 180.0.0.2
Link State Id    : 180.0.0.2            LSA Type         : Router
Sequence No      : 0x800000b7           Checksum         : 0xd55
Age              : 155                  Length           : 192
Options          : E
Flags            : None                 Link Count       : 14
Link Type (1)    : Point To Point
Nbr Rtr Id (1)   : 180.0.0.13           I/F Address (1)  : 180.0.22.2
No of TOS (1)    : 0                    Metric-0 (1)     : 25
Link Type (2)    : Stub Network
Network (2)      : 180.0.22.0           Mask (2)         : 255.255.255.0
No of TOS (2)    : 0                    Metric-0 (2)     : 25
Link Type (3)    : Point To Point
Nbr Rtr Id (3)   : 180.0.0.12           I/F Address (3)  : 180.0.5.2
No of TOS (3)    : 0                    Metric-0 (3)     : 25
Link Type (4)    : Stub Network
Network (4)      : 180.0.5.0            Mask (4)         : 255.255.255.0
No of TOS (4)    : 0                    Metric-0 (4)     : 25
Link Type (5)    : Point To Point
Nbr Rtr Id (5)   : 180.0.0.8            I/F Address (5)  : 180.0.13.2
No of TOS (5)    : 0                    Metric-0 (5)     : 6
Link Type (6)    : Stub Network
Network (6)      : 180.0.13.0           Mask (6)         : 255.255.255.0
No of TOS (6)    : 0                    Metric-0 (6)     : 6
Link Type (7)    : Point To Point
Nbr Rtr Id (7)   : 180.0.0.5            I/F Address (7)  : 180.0.14.2
No of TOS (7)    : 0                    Metric-0 (7)     : 6
Link Type (8)    : Stub Network
Network (8)      : 180.0.14.0           Mask (8)         : 255.255.255.0
No of TOS (8)    : 0                    Metric-0 (8)     : 6
Link Type (9)    : Point To Point
Nbr Rtr Id (9)   : 180.0.0.11           I/F Address (9)  : 180.0.17.2
No of TOS (9)    : 0                    Metric-0 (9)     : 25
Link Type (10)   : Stub Network
Network (10)     : 180.0.17.0           Mask (10)        : 255.255.255.0
No of TOS (10)   : 0                    Metric-0 (10)    : 25
Link Type (11)   : Stub Network
Network (11)     : 180.0.0.2            Mask (11)        : 255.255.255.255
No of TOS (11)   : 0                    Metric-0 (11)    : 1
Link Type (12)   : Stub Network
Network (12)     : 180.0.18.0           Mask (12)        : 255.255.255.0
No of TOS (12)   : 0                    Metric-0 (12)    : 24
Link Type (13)   : Point To Point
Nbr Rtr Id (13)  : 180.0.0.10           I/F Address (13) : 180.0.3.2
No of TOS (13)   : 0                    Metric-0 (13)    : 25
Link Type (14)   : Stub Network
Network (14)     : 180.0.3.0            Mask (14)        : 255.255.255.0
No of TOS (14)   : 0                    Metric-0 (14)    : 25
-------------------------------------------------------------------------------
AS Ext LSA for Network 180.0.0.14
-------------------------------------------------------------------------------
Area Id          : N/A                  Adv Router Id    : 180.0.0.10
Link State Id    : 180.0.0.14           LSA Type         : AS Ext
Sequence No      : 0x80000083           Checksum         : 0xa659
Age              : 2033                 Length           : 36
Options          : E
Network Mask     : 255.255.255.255      Fwding Address   : 180.1.6.15
Metric Type      : Type 2               Metric-0         : 4
Ext Route Tag    : 0
-------------------------------------------------------------------------------
...
A:ALA-A# 
 
 
Sample Output for OSPF3
 
*A:Dut-A# show router ospf3 database 
 
===============================================================================
OSPF Link State Database (Type : All)
===============================================================================
Type    Area Id         Link State Id   Adv Rtr Id      Age  Sequence   Cksum
-------------------------------------------------------------------------------
Router  0.0.0.0         0.0.0.0         1.1.1.1         116  0x8000006c 0x555a
Router  0.0.0.0         0.0.0.0         3.3.3.3         78   0x80000003 0x3fd0
Router  0.0.0.0         0.0.0.0         6.6.6.6         115  0x80000004 0x6c83
Network 0.0.0.0         0.0.0.3         1.1.1.1         116  0x80000001 0xac65
Network 0.0.0.0         0.0.0.2         6.6.6.6         768  0x80000001 0x668c
Network 0.0.0.0         0.0.0.3         6.6.6.6         118  0x80000001 0xc029
IA Pfx  0.0.0.0         0.0.0.0         1.1.1.1         116  0x80000075 0x6885
IA Pfx  0.0.0.0         0.0.117.51      1.1.1.1         116  0x80000001 0xedf0
IA Pfx  0.0.0.0         0.0.0.0         3.3.3.3         78   0x80000003 0xb994
IA Pfx  0.0.0.0         0.0.0.0         6.6.6.6         115  0x80000009 0xc769
IA Pfx  0.0.0.0         0.0.117.50      6.6.6.6         769  0x80000001 0x3e7b
IA Pfx  0.0.0.0         0.0.117.51      6.6.6.6         118  0x80000002 0x9114
-------------------------------------------------------------------------------
No. of LSAs: 12
===============================================================================
*A:Dut-A#
 
 
 
*A:Dut-A# show router ospf3 database detail 
 
===============================================================================
OSPF Link State Database (Type : All) (Detailed)
===============================================================================
-------------------------------------------------------------------------------
Router LSA for Area 0.0.0.0
-------------------------------------------------------------------------------
Area Id          : 0.0.0.0              Adv Router Id    : 1.1.1.1
Link State Id    : 0.0.0.0 (0)
LSA Type         : Router               
Sequence No      : 0x8000006c           Checksum         : 0x555a
Age              : 147                  Length           : 56
Options          : --R--EV6             
Flags            :                      Link Count       : 2
Link Type (1)    : Transit Network      DR Rtr ID (1)    : 6.6.6.6
I/F Index (1)    : 2                    DR I/F Index (1) : 2
Metric (1)       : 100                  
Link Type (2)    : Transit Network      DR Rtr ID (2)    : 1.1.1.1
I/F Index (2)    : 3                    DR I/F Index (2) : 3
Metric (2)       : 100                  
-------------------------------------------------------------------------------
Router LSA for Area 0.0.0.0
-------------------------------------------------------------------------------
Area Id          : 0.0.0.0              Adv Router Id    : 3.3.3.3
Link State Id    : 0.0.0.0 (0)
LSA Type         : Router               
Sequence No      : 0x80000003           Checksum         : 0x3fd0
Age              : 109                  Length           : 56
Options          : --R--EV6             
Flags            :                      Link Count       : 2
Link Type (1)    : Transit Network      DR Rtr ID (1)    : 1.1.1.1
I/F Index (1)    : 2                    DR I/F Index (1) : 3
Metric (1)       : 100                  
Link Type (2)    : Transit Network      DR Rtr ID (2)    : 6.6.6.6
I/F Index (2)    : 3                    DR I/F Index (2) : 3
Metric (2)       : 100                  
-------------------------------------------------------------------------------
Router LSA for Area 0.0.0.0
-------------------------------------------------------------------------------
Area Id          : 0.0.0.0              Adv Router Id    : 6.6.6.6
Link State Id    : 0.0.0.0 (0)
LSA Type         : Router               
Sequence No      : 0x80000004           Checksum         : 0x6c83
Age              : 146                  Length           : 56
Options          : --R--EV6             
Flags            :                      Link Count       : 2
Link Type (1)    : Transit Network      DR Rtr ID (1)    : 6.6.6.6
I/F Index (1)    : 2                    DR I/F Index (1) : 2
Metric (1)       : 100                  
Link Type (2)    : Transit Network      DR Rtr ID (2)    : 6.6.6.6
I/F Index (2)    : 3                    DR I/F Index (2) : 3
Metric (2)       : 100                  
-------------------------------------------------------------------------------
Network LSA for Area 0.0.0.0
-------------------------------------------------------------------------------
Area Id          : 0.0.0.0              Adv Router Id    : 1.1.1.1
Link State Id    : 0.0.0.3 (3)
LSA Type         : Network              
Sequence No      : 0x80000001           Checksum         : 0xac65
Age              : 148                  Length           : 32
Options          : --R--EV6             No of Adj Rtrs   : 2
Router Id (1)    : 1.1.1.1              Router Id (2)    : 3.3.3.3
-------------------------------------------------------------------------------
Network LSA for Area 0.0.0.0
-------------------------------------------------------------------------------
Area Id          : 0.0.0.0              Adv Router Id    : 6.6.6.6
Link State Id    : 0.0.0.2 (2)
LSA Type         : Network              
Sequence No      : 0x80000001           Checksum         : 0x668c
Age              : 801                  Length           : 32
Options          : --R--EV6             No of Adj Rtrs   : 2
Router Id (1)    : 6.6.6.6              Router Id (2)    : 1.1.1.1
-------------------------------------------------------------------------------
Network LSA for Area 0.0.0.0
-------------------------------------------------------------------------------
Area Id          : 0.0.0.0              Adv Router Id    : 6.6.6.6
Link State Id    : 0.0.0.3 (3)
LSA Type         : Network              
Sequence No      : 0x80000001           Checksum         : 0xc029
Age              : 150                  Length           : 32
Options          : --R--EV6             No of Adj Rtrs   : 2
Router Id (1)    : 6.6.6.6              Router Id (2)    : 3.3.3.3
-------------------------------------------------------------------------------
IA Pfx LSA for Area 0.0.0.0
-------------------------------------------------------------------------------
Area Id          : 0.0.0.0              Adv Router Id    : 1.1.1.1
Link State Id    : 0.0.0.0 (0)
LSA Type         : IA Pfx               
Sequence No      : 0x80000075           Checksum         : 0x6885
Age              : 148                  Length           : 52
Ref Ls Type      : 2001                 Ref Ls Id        : 0
Ref Adv Rtr      : 1.1.1.1              No of Pfxs       : 1
Prefix (1)       : 1001::1/128
Options (1)      : LA                   Metric (1)       : 0
-------------------------------------------------------------------------------
IA Pfx LSA for Area 0.0.0.0
-------------------------------------------------------------------------------
Area Id          : 0.0.0.0              Adv Router Id    : 1.1.1.1
Link State Id    : 0.0.117.51 (30003)
LSA Type         : IA Pfx               
Sequence No      : 0x80000001           Checksum         : 0xedf0
Age              : 148                  Length           : 44
Ref Ls Type      : 2002                 Ref Ls Id        : 3
Ref Adv Rtr      : 1.1.1.1              No of Pfxs       : 1
Prefix (1)       : 2013::/64
Options (1)      :                      Metric (1)       : 0
-------------------------------------------------------------------------------
IA Pfx LSA for Area 0.0.0.0
-------------------------------------------------------------------------------
Area Id          : 0.0.0.0              Adv Router Id    : 3.3.3.3
Link State Id    : 0.0.0.0 (0)
LSA Type         : IA Pfx               
Sequence No      : 0x80000003           Checksum         : 0xb994
Age              : 110                  Length           : 52
Ref Ls Type      : 2001                 Ref Ls Id        : 0
Ref Adv Rtr      : 3.3.3.3              No of Pfxs       : 1
Prefix (1)       : 1001::3/128
Options (1)      : LA                   Metric (1)       : 0
-------------------------------------------------------------------------------
IA Pfx LSA for Area 0.0.0.0
-------------------------------------------------------------------------------
Area Id          : 0.0.0.0              Adv Router Id    : 6.6.6.6
Link State Id    : 0.0.0.0 (0)
LSA Type         : IA Pfx               
Sequence No      : 0x80000009           Checksum         : 0xc769
Age              : 148                  Length           : 52
Ref Ls Type      : 2001                 Ref Ls Id        : 0
Ref Adv Rtr      : 6.6.6.6              No of Pfxs       : 1
Prefix (1)       : 1001::2/128
Options (1)      : LA                   Metric (1)       : 0
-------------------------------------------------------------------------------
IA Pfx LSA for Area 0.0.0.0
-------------------------------------------------------------------------------
Area Id          : 0.0.0.0              Adv Router Id    : 6.6.6.6
Link State Id    : 0.0.117.50 (30002)
LSA Type         : IA Pfx               
Sequence No      : 0x80000001           Checksum         : 0x3e7b
Age              : 801                  Length           : 44
Ref Ls Type      : 2002                 Ref Ls Id        : 2
Ref Adv Rtr      : 6.6.6.6              No of Pfxs       : 1
Prefix (1)       : 2012::/64
Options (1)      :                      Metric (1)       : 0
-------------------------------------------------------------------------------
IA Pfx LSA for Area 0.0.0.0
-------------------------------------------------------------------------------
Area Id          : 0.0.0.0              Adv Router Id    : 6.6.6.6
Link State Id    : 0.0.117.51 (30003)
LSA Type         : IA Pfx               
Sequence No      : 0x80000002           Checksum         : 0x9114
Age              : 151                  Length           : 44
Ref Ls Type      : 2002                 Ref Ls Id        : 3
Ref Adv Rtr      : 6.6.6.6              No of Pfxs       : 1
Prefix (1)       : 2023::/64
Options (1)      :                      Metric (1)       : 0
===============================================================================
*A:Dut-A#
Table 40:  Output Fields: OSPF Database  

Label

Description

Area Id

Displays the OSPF area identifier

Type

LSA Type

Router — LSA type of router (OSPF)

Network — LSA type of network (OSPF)

Summary — LSA type of summary (OSPF)

ASBR Summary — LSA type of ASBR summary (OSPF)

Nssa-ext — LSA area-specific, NSSA external (OSPF)

Area opaque — LSA type of area opaque (OSPF)

router — LSA type of router (OSPF3)

Network — LSA type of network (OSPF3)

IE Pfx — LSA type of IE prefix

LSA type of IE Pfx (OSPF3)IE Rtr — LSA type of IE Rtr (OSPF3)

IA Pfx — LSA type of IA Pfx (OSPF3)

Nssa-ext — NSSA area-specific AS external (OSPF3)

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 participate in OSPF topology distribution without being used to forward transit traffic

N — type 7 LSA support

MC — multicast support

E — external routes support

Prefix Options

P — propagate NSSA LSA

MC — multicast support

Flags

None — no flags set

V — router is an endpoint for one or more fully adjacent Virtual Links having the described area as the transit area

E — router is an AS Boundary Router

B — 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

interface

Syntax 
interface [ip-int-name | ip-address | ipv6-address] [detail]
interface [area area-id] [detail]
interface [ip-int-name | ip-address | ipv6-address database [detail]]
Context 
show>router>ospf
show>router>ospf3
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command displays the details of the OSPF interface, which 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 large amount of data. Nokia recommends using the detail option only when specifying a particular interface.

Parameters 
ip-addr—
Display only the interface identified by this IP address.
ip-int-name—
Display only the interface identified by this interface name.
ipv6-address—
Displays only the interface identified by the this IPv6 address.
area area-id
Display all interfaces configured in this area.
database—
Keyword to display database information.
detail—
Displays detailed information about the interface.
Output 

The following outputs are examples of OSPF interface information, and the associated tables describe the output fields.

  1. Standard output: Sample Output, Table 41
Sample Output
A:SetupCLI# show router ospf interface detail
===============================================================================
OSPF Interfaces (Detailed)
-------------------------------------------------------------------------------
Interface : system
-------------------------------------------------------------------------------
IP Address       : 10.1.255.255
Area Id          : 0.0.0.0              Priority         : 1
Hello Intrvl     : 10 sec               Rtr Dead Intrvl  : 40 sec
Retrans Intrvl   : 5 sec                Poll Intrvl      : 120 sec
Cfg Metric       : 0                    Advert Subnet    : True
Transit Delay    : 1                    Auth Type        : None
Passive          : True  Cfg MTU          : 0
Admin Status     : Enabled              Oper State       : Designated Rtr
Designated Rtr   : 2.2.2.2              Backup Desig Rtr : 0.0.0.0
IF Type          : Broadcast            Network Type     : Transit
Oper MTU         : 1500                 Last Enabled     : 05/14/2006 09:16:26
Oper Metric      : 0                   
Nbr Count        : 0                    If Events        : 5
Tot Rx Packets   : 0                    Tot Tx Packets   : 0
Rx Hellos        : 0                    Tx Hellos        : 0
Rx DBDs          : 0                    Tx DBDs          : 0
Rx LSRs          : 0                    Tx LSRs          : 0
Rx LSUs          : 0                    Tx LSUs          : 0
Rx LS Acks       : 0                    Tx LS Acks       : 0
Retransmits      : 0                    Discards         : 0
Bad Networks     : 0                    Bad Virt Links   : 0
Bad Areas        : 0                    Bad Dest Addrs   : 0
Bad Auth Types   : 0                    Auth Failures    : 0
Bad Neighbors    : 0                    Bad Pkt Types    : 0
Bad Lengths      : 0                    Bad Hello Int.   : 0
Bad Dead Int.    : 0                    Bad Options      : 0
Bad Versions     : 0                    Bad Checksums    : 0
LSA Count        : 0                    LSA Checksum     : 0x0
-------------------------------------------------------------------------------
Interface : sender
-------------------------------------------------------------------------------
IP Address       : 10.1.1.1
Area Id          : 0.0.0.0              Priority         : 1
Hello Intrvl     : 10 sec               Rtr Dead Intrvl  : 40 sec
Retrans Intrvl   : 5 sec                Poll Intrvl      : 120 sec
Cfg Metric       : 0                    Advert Subnet    : True
Transit Delay    : 1                    Auth Type        : None
Passive          : False                Cfg MTU          : 0
===============================================================================
A:SetupCLI#
 
*A:ALU_SIM11>show>router>ospf# interface 6.6.6.2 detail
 
===============================================================================
OSPF Interface (Detailed) :  6.6.6.2
===============================================================================
-------------------------------------------------------------------------------
Configuration
-------------------------------------------------------------------------------
IP Address       : 6.6.6.2
Area Id          : 0.0.0.0              Priority         : 1
Hello Intrvl     : 10 sec               Rtr Dead Intrvl  : 40 sec
Retrans Intrvl   : 5 sec                Poll Intrvl      : 120 sec
Cfg Metric       : 0                    Advert Subnet    : True
Transit Delay    : 1                    Auth Type        : None
Passive          : False 
LFA              : Exclude              Cfg MTU          : 0
-------------------------------------------------------------------------------
State
-------------------------------------------------------------------------------
Admin Status     : Enabled              Oper State       : Point To Point
Designated Rtr   : 0.0.0.0              Backup Desig Rtr : 0.0.0.0
IF Type          : Point To Point       Network Type     : Transit
Oper MTU         : 1564                 Last Enabled     : 07/06/2010 10:34:11
Oper Metric      : 100                  Bfd Enabled      : No
Te Metric        : 100                  Te State         : Down
Admin Groups     : None
Ldp Sync         : outOfService         Ldp Sync Wait    : Disabled
Ldp Timer State  : Disabled             Ldp Tm Left      : 0
-------------------------------------------------------------------------------
Statistics
-------------------------------------------------------------------------------
Nbr Count        : 1                    If Events        : 7
Tot Rx Packets   : 353                  Tot Tx Packets   : 348
Rx Hellos        : 314                  Tx Hellos        : 309
Rx DBDs          : 31                   Tx DBDs          : 30
Rx LSRs          : 1                    Tx LSRs          : 1
Rx LSUs          : 4                    Tx LSUs          : 4
Rx LS Acks       : 3                    Tx LS Acks       : 4
Retransmits      : 1                    Discards         : 6
Bad Networks     : 0                    Bad Virt Links   : 0
Bad Areas        : 6                    Bad Dest Addrs   : 0
Bad Auth Types   : 0                    Auth Failures    : 0
Bad Neighbors    : 0                    Bad Pkt Types    : 0
Bad Lengths      : 0                    Bad Hello Int.   : 0
Bad Dead Int.    : 0                    Bad Options      : 0
Bad Versions     : 0                    Bad Checksums    : 0
LSA Count        : 0                    LSA Checksum     : 0x0
===============================================================================
 
*A:7210-SAS>show>router>ospf#  interface C_Port detail
 
===============================================================================
OSPF Interface (Detailed) :  C_Port
===============================================================================
-------------------------------------------------------------------------------
Configuration
-------------------------------------------------------------------------------
IP Address       : 10.26.26.2
Area Id          : 0.0.0.2              Priority         : 1
Hello Intrvl     : 10 sec               Rtr Dead Intrvl  : 40 sec
Retrans Intrvl   : 5 sec                Poll Intrvl      : 120 sec
Cfg Metric       : 0                    Advert Subnet    : True
Transit Delay    : 1                    Auth Type        : None
Passive          : False
LFA              : Exclude              Cfg MTU          : 0
-------------------------------------------------------------------------------
State
-------------------------------------------------------------------------------
Admin Status     : Enabled              Oper State       : Point To Point
Designated Rtr   : 0.0.0.0              Backup Desig Rtr : 0.0.0.0
IF Type          : Point To Point       Network Type     : Transit
Oper MTU         : 9198                 Last Enabled     : 12/14/2010 09:48:30
Oper Metric      : 100                  Bfd Enabled      : No
Te Metric        : 100                  Te State         : Up
Admin Groups     : None
Ldp Sync         : outOfService         Ldp Sync Wait    : Disabled
Ldp Timer State  : Disabled             Ldp Tm Left      : 0
-------------------------------------------------------------------------------
Statistics
-------------------------------------------------------------------------------
Nbr Count        : 1                    If Events        : 1
Tot Rx Packets   : 22391                Tot Tx Packets   : 22273
Rx Hellos        : 8641                 Tx Hellos        : 8640
Rx DBDs          : 20                   Tx DBDs          : 19
Rx LSRs          : 0                    Tx LSRs          : 0
Rx LSUs          : 13531                Tx LSUs          : 13611
Rx LS Acks       : 199                  Tx LS Acks       : 3
Retransmits      : 26                   Discards         : 0
Bad Networks     : 0                    Bad Virt Links   : 0
Bad Areas        : 0                    Bad Dest Addrs   : 0
Bad Auth Types   : 0                    Auth Failures    : 0
Bad Neighbors    : 0                    Bad Pkt Types    : 0
Bad Lengths      : 0                    Bad Hello Int.   : 0
Bad Dead Int.    : 0                    Bad Options      : 0
Bad Versions     : 0                    Bad Checksums    : 0
LSA Count        : 0                    LSA Checksum     : 0x0
===============================================================================
*A:7210-SAS>show>router>ospf#
 
 
Sample Output for OSPF3
*A:Dut-A# show router ospf3 interface detail 
 
===============================================================================
OSPF Interfaces (Detailed)
===============================================================================
-------------------------------------------------------------------------------
Interface : system
-------------------------------------------------------------------------------
IP Address       : 2001:db8::1
Area Id          : 0.0.0.0              Priority         : 1
Hello Intrvl     : 10 sec               Rtr Dead Intrvl  : 40 sec
Retrans Intrvl   : 5 sec                Poll Intrvl      : 120 sec
Cfg Metric       : 0                    Advert Subnet    : True
Transit Delay    : 1                    Auth Type        : None
Passive          : True                 Cfg MTU          : 0
IPsec InStatSA   :                      IPsec OutStatSA  : 
IPsec InStatSATmp:                                                              
Admin Status     : Enabled              Oper State       : Designated Rtr
Designated Rtr   : 1.1.1.1              Backup Desig Rtr : 0.0.0.0
IF Type          : Broadcast            Network Type     : Stub
Oper MTU         : 1500                 Last Enabled     : 10/09/2012 13:41:23
Oper Metric      : 0                    Bfd Enabled      : No
Te Metric        : 0                    Te State         : Down
Admin Groups     : None               
Ldp Sync         : outOfService         Ldp Sync Wait    : Disabled
Ldp Timer State  : Disabled             Ldp Tm Left      : 0
Nbr Count        : 0                    If Events        : 2
Tot Rx Packets   : 0                    Tot Tx Packets   : 0
Rx Hellos        : 0                    Tx Hellos        : 0
Rx DBDs          : 0                    Tx DBDs          : 0
Rx LSRs          : 0                    Tx LSRs          : 0
Rx LSUs          : 0                    Tx LSUs          : 0
Rx LS Acks       : 0                    Tx LS Acks       : 0
Retransmits      : 0                    Discards         : 0
Bad Networks     : 0                    Bad Virt Links   : 0
Bad Areas        : 0                    Bad Dest Addrs   : 0
Bad Auth Types   : 0                    Auth Failures    : 0
Bad Neighbors    : 0                    Bad Pkt Types    : 0
Bad Lengths      : 0                    Bad Hello Int.   : 0
Bad Dead Int.    : 0                    Bad Options      : 0
Bad Versions     : 0                    Bad Checksums    : 0
LSA Count        : 0                    LSA Checksum     : 0x0
 
 
-------------------------------------------------------------------------------
Interface : to_b
-------------------------------------------------------------------------------
IP Address       : FE80::8E90:D3FF:FEBE:8F5A-"to_b"
Area Id          : 0.0.0.0              Priority         : 1
Hello Intrvl     : 10 sec               Rtr Dead Intrvl  : 40 sec
Retrans Intrvl   : 5 sec                Poll Intrvl      : 120 sec
Cfg Metric       : 0                    Advert Subnet    : True
Transit Delay    : 1                    Auth Type        : None
Passive          : False                Cfg MTU          : 0
IPsec InStatSA   :                      IPsec OutStatSA  : 
IPsec InStatSATmp:                                                              
Admin Status     : Enabled              Oper State       : Backup Desig Rtr
Designated Rtr   : 6.6.6.6              Backup Desig Rtr : 1.1.1.1
IF Type          : Broadcast            Network Type     : Transit
Oper MTU         : 9198                 Last Enabled     : 10/09/2012 13:42:16
Oper Metric      : 100                  Bfd Enabled      : No
Te Metric        : 100                  Te State         : Down
Admin Groups     : None
Ldp Sync         : outOfService         Ldp Sync Wait    : Disabled
Ldp Timer State  : Disabled             Ldp Tm Left      : 0
Nbr Count        : 1                    If Events        : 4
Tot Rx Packets   : 449                  Tot Tx Packets   : 339
Rx Hellos        : 96                   Tx Hellos        : 96
Rx DBDs          : 5                    Tx DBDs          : 3
Rx LSRs          : 1                    Tx LSRs          : 1
Rx LSUs          : 235                  Tx LSUs          : 230
Rx LS Acks       : 112                  Tx LS Acks       : 9
Retransmits      : 1                    Discards         : 1
Bad Networks     : 0                    Bad Virt Links   : 0
Bad Areas        : 0                    Bad Dest Addrs   : 0
Bad Auth Types   : 0                    Auth Failures    : 0
Bad Neighbors    : 0                    Bad Pkt Types    : 0
Bad Lengths      : 0                    Bad Hello Int.   : 0
Bad Dead Int.    : 0                    Bad Options      : 0
Bad Versions     : 0                    Bad Checksums    : 0
LSA Count        : 2                    LSA Checksum     : 0x16aa9
 
 
-------------------------------------------------------------------------------
Interface : to_c
-------------------------------------------------------------------------------
IP Address       : FE80::8E90:D3FF:FEBE:8F5A-"to_c"
Area Id          : 0.0.0.0              Priority         : 1
Hello Intrvl     : 10 sec               Rtr Dead Intrvl  : 40 sec
Retrans Intrvl   : 5 sec                Poll Intrvl      : 120 sec
Cfg Metric       : 0                    Advert Subnet    : True
Transit Delay    : 1                    Auth Type        : None
Passive          : False                Cfg MTU          : 0
IPsec InStatSA   :                      IPsec OutStatSA  : 
IPsec InStatSATmp:                                                              
Admin Status     : Enabled              Oper State       : Designated Rtr
Designated Rtr   : 1.1.1.1              Backup Desig Rtr : 3.3.3.3
IF Type          : Broadcast            Network Type     : Transit
Oper MTU         : 9198                 Last Enabled     : 10/09/2012 13:42:14
Oper Metric      : 100                  Bfd Enabled      : No
Te Metric        : 100                  Te State         : Down
Admin Groups     : None
Ldp Sync         : outOfService         Ldp Sync Wait    : Disabled
Ldp Timer State  : Disabled             Ldp Tm Left      : 0
Nbr Count        : 1                    If Events        : 77
Tot Rx Packets   : 117                  Tot Tx Packets   : 118
Rx Hellos        : 97                   Tx Hellos        : 97
Rx DBDs          : 2                    Tx DBDs          : 3
Rx LSRs          : 1                    Tx LSRs          : 1
Rx LSUs          : 13                   Tx LSUs          : 10
Rx LS Acks       : 4                    Tx LS Acks       : 7
Retransmits      : 0                    Discards         : 75
Bad Networks     : 0                    Bad Virt Links   : 0
Bad Areas        : 0                    Bad Dest Addrs   : 0
Bad Auth Types   : 0                    Auth Failures    : 0
Bad Neighbors    : 0                    Bad Pkt Types    : 0
Bad Lengths      : 0                    Bad Hello Int.   : 0
Bad Dead Int.    : 0                    Bad Options      : 0
Bad Versions     : 0                    Bad Checksums    : 0
LSA Count        : 2                    LSA Checksum     : 0x17644
===============================================================================
*A:Dut-A#
Table 41:  Output Fields: OSPF Interface  

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 (DR) for the network in which this interface is configured. Set to 0.0.0.0 if there is no DR.

BD Rtr Id

Displays the IP interface address of the router identified as the backup DR for the network in which this interface is configured. Set to 0.0.0.0 if there is no backup DR.

Adm

Dn — OSPF on this interface is administratively shut down

Up — OSPF on this interface is administratively enabled

Opr

Down — 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) DR 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 DR for this network

BDR — this router is the backup DR for this network

ODR — interface is operational and part of a broadcast or NBMA network on which another router has been selected to be the DR

No. of OSPF Interfaces

Displays the number of interfaces listed

Bfd Enabled

Indicates whether BFD is enabled

LFA

Displays the interface LFA status (included in LFA computation or excluded in LFA computations)

Sample Output — Detailed
*A:JC-NodeA# show router ospf interface area  detail
===============================================================================
OSPF Interfaces in Area (Detailed) : 1
===============================================================================
Interface : ip-10.10.1.1
-------------------------------------------------------------------------------
IP Address       : 10.10.1.1
Area Id          : 0.0.0.1              Priority         : 1
Hello Intrvl     : 5 sec                Rtr Dead Intrvl  : 15 sec
Retrans Intrvl   : 5 sec                Poll Intrvl      : 120 sec
Cfg Metric       : 0                    Advert Subnet    : True
Transit Delay    : 1                    Auth Type        : None
Passive          : False                Cfg MTU          : 0
Admin Status     : Enabled              Oper State       : Designated Rtr
Designated Rtr   : 10.20.1.1            Backup Desig Rtr : 0.0.0.0
IF Type          : Broadcast            Network Type     : Transit
Oper MTU         : 1500                 Last Enabled     : 04/11/2007 16:06:27
Oper Metric      : 1000                 
Nbr Count        : 0                    If Events        : 5
Tot Rx Packets   : 0                    Tot Tx Packets   : 1116
Rx Hellos        : 0                    Tx Hellos        : 1116
Rx DBDs          : 0                    Tx DBDs          : 0
Rx LSRs          : 0                    Tx LSRs          : 0
Rx LSUs          : 0                    Tx LSUs          : 0
Rx LS Acks       : 0                    Tx LS Acks       : 0
Retransmits      : 0                    Discards         : 0
Bad Networks     : 0                    Bad Virt Links   : 0
Bad Areas        : 0                    Bad Dest Addrs   : 0
Bad Auth Types   : 0                    Auth Failures    : 0
Bad Neighbors    : 0                    Bad Pkt Types    : 0
Bad Lengths      : 0                    Bad Hello Int.   : 0
Bad Dead Int.    : 0                    Bad Options      : 0
Bad Versions     : 0                    Bad Checksums    : 0
LSA Count        : 0                    LSA Checksum     : 0x0
TE Metric        : 678
===============================================================================
*A:JC-NodeA#
 
*A:7210-SAS>show>router>ospf# interface detail
 
===============================================================================
OSPF Interfaces (Detailed)
===============================================================================
-------------------------------------------------------------------------------
Interface : system
-------------------------------------------------------------------------------
IP Address       : 10.1.1.4
Area Id          : 0.0.0.2              Priority         : 1
Hello Intrvl     : 10 sec               Rtr Dead Intrvl  : 40 sec
Retrans Intrvl   : 5 sec                Poll Intrvl      : 120 sec
Cfg Metric       : 0                    Advert Subnet    : True
Transit Delay    : 1                    Auth Type        : None
Passive          : True                 Cfg MTU          : 0
Admin Status     : Enabled              Oper State       : Point To Point
Designated Rtr   : 0.0.0.0              Backup Desig Rtr : 0.0.0.0
IF Type          : Point To Point       Network Type     : Stub
Oper MTU         : 1500                 Last Enabled     : 12/14/2010 09:47:33
Oper Metric      : 0                    Bfd Enabled      : No
Te Metric        : 0                    Te State         : Down
Admin Groups     : None
Ldp Sync         : outOfService         Ldp Sync Wait    : Disabled
Ldp Timer State  : Disabled             Ldp Tm Left      : 0
Nbr Count        : 0                    If Events        : 1
Tot Rx Packets   : 0                    Tot Tx Packets   : 0
Rx Hellos        : 0                    Tx Hellos        : 0
Rx DBDs          : 0                    Tx DBDs          : 0
Rx LSRs          : 0                    Tx LSRs          : 0
Rx LSUs          : 0                    Tx LSUs          : 0
Rx LS Acks       : 0                    Tx LS Acks       : 0
Retransmits      : 0                    Discards         : 0
Bad Networks     : 0                    Bad Virt Links   : 0
Bad Areas        : 0                    Bad Dest Addrs   : 0
Bad Auth Types   : 0                    Auth Failures    : 0
Bad Neighbors    : 0                    Bad Pkt Types    : 0
Bad Lengths      : 0                    Bad Hello Int.   : 0
Bad Dead Int.    : 0                    Bad Options      : 0
Bad Versions     : 0                    Bad Checksums    : 0
LSA Count        : 0                    LSA Checksum     : 0x0
-------------------------------------------------------------------------------
Interface : F_Port
-------------------------------------------------------------------------------
IP Address       : 10.1.1.2
Area Id          : 0.0.0.2              Priority         : 1
Hello Intrvl     : 10 sec               Rtr Dead Intrvl  : 40 sec
Retrans Intrvl   : 5 sec                Poll Intrvl      : 120 sec
Cfg Metric       : 0                    Advert Subnet    : True
Transit Delay    : 1                    Auth Type        : None
Passive          : False                Cfg MTU          : 0
Admin Status     : Enabled              Oper State       : Point To Point
Designated Rtr   : 0.0.0.0              Backup Desig Rtr : 0.0.0.0
IF Type          : Point To Point       Network Type     : Transit
Oper MTU         : 9198                 Last Enabled     : 12/14/2010 09:48:07
Oper Metric      : 100                  Bfd Enabled      : Yes
Te Metric        : 100                  Te State         : Up
Admin Groups     : None
Ldp Sync         : outOfService         Ldp Sync Wait    : Disabled
Ldp Timer State  : Disabled             Ldp Tm Left      : 0
Nbr Count        : 1                    If Events        : 1
Tot Rx Packets   : 21739                Tot Tx Packets   : 20709
Rx Hellos        : 8630                 Tx Hellos        : 8629
Rx DBDs          : 19                   Tx DBDs          : 20
Rx LSRs          : 0                    Tx LSRs          : 11
Rx LSUs          : 12782                Tx LSUs          : 1872
Rx LS Acks       : 308                  Tx LS Acks       : 10177
Retransmits      : 13                   Discards         : 0
Bad Networks     : 0                    Bad Virt Links   : 0
Bad Areas        : 0                    Bad Dest Addrs   : 0
Bad Auth Types   : 0                    Auth Failures    : 0
Bad Neighbors    : 0                    Bad Pkt Types    : 0
Bad Lengths      : 0                    Bad Hello Int.   : 0
Bad Dead Int.    : 0                    Bad Options      : 0
Bad Versions     : 0                    Bad Checksums    : 0
LSA Count        : 0                    LSA Checksum     : 0x0
-------------------------------------------------------------------------------
Interface : F_Lag
-------------------------------------------------------------------------------
IP Address       : 10.1.1.2
Area Id          : 0.0.0.2              Priority         : 1
Hello Intrvl     : 10 sec               Rtr Dead Intrvl  : 40 sec
Retrans Intrvl   : 5 sec                Poll Intrvl      : 120 sec
Cfg Metric       : 0                    Advert Subnet    : True
Transit Delay    : 1                    Auth Type        : None
Passive          : False                Cfg MTU          : 0
Admin Status     : Enabled              Oper State       : Point To Point
Designated Rtr   : 0.0.0.0              Backup Desig Rtr : 0.0.0.0
IF Type          : Point To Point       Network Type     : Transit
Oper MTU         : 9198                 Last Enabled     : 12/14/2010 09:48:09
Oper Metric      : 50                   Bfd Enabled      : Yes
Te Metric        : 50                   Te State         : Up
Admin Groups     : None
Ldp Sync         : outOfService         Ldp Sync Wait    : Disabled
Ldp Timer State  : Disabled             Ldp Tm Left      : 0
Nbr Count        : 1                    If Events        : 1
Tot Rx Packets   : 21885                Tot Tx Packets   : 22347
Rx Hellos        : 8629                 Tx Hellos        : 8634
Rx DBDs          : 19                   Tx DBDs          : 20
Rx LSRs          : 0                    Tx LSRs          : 5
Rx LSUs          : 13221                Tx LSUs          : 13152
Rx LS Acks       : 16                   Tx LS Acks       : 536
Retransmits      : 16                   Discards         : 0
Bad Networks     : 0                    Bad Virt Links   : 0
Bad Areas        : 0                    Bad Dest Addrs   : 0
Bad Auth Types   : 0                    Auth Failures    : 0
Bad Neighbors    : 0                    Bad Pkt Types    : 0
Bad Lengths      : 0                    Bad Hello Int.   : 0
Bad Dead Int.    : 0                    Bad Options      : 0
Bad Versions     : 0                    Bad Checksums    : 0
LSA Count        : 0                    LSA Checksum     : 0x0
-------------------------------------------------------------------------------
Interface : C_Lag
-------------------------------------------------------------------------------
IP Address       : 10.1.1.1
Area Id          : 0.0.0.2              Priority         : 1
Hello Intrvl     : 10 sec               Rtr Dead Intrvl  : 40 sec
Retrans Intrvl   : 5 sec                Poll Intrvl      : 120 sec
Cfg Metric       : 0                    Advert Subnet    : True
Transit Delay    : 1                    Auth Type        : None
Passive          : False                Cfg MTU          : 0
Admin Status     : Enabled              Oper State       : Point To Point
Designated Rtr   : 0.0.0.0              Backup Desig Rtr : 0.0.0.0
IF Type          : Point To Point       Network Type     : Transit
Oper MTU         : 9198                 Last Enabled     : 12/14/2010 09:48:33
Oper Metric      : 50                   Bfd Enabled      : Yes
Te Metric        : 50                   Te State         : Up
Admin Groups     : None
Ldp Sync         : outOfService         Ldp Sync Wait    : Disabled
Ldp Timer State  : Disabled             Ldp Tm Left      : 0
Nbr Count        : 1                    If Events        : 1
Tot Rx Packets   : 22578                Tot Tx Packets   : 21802
Rx Hellos        : 8628                 Tx Hellos        : 8634
Rx DBDs          : 20                   Tx DBDs          : 19
Rx LSRs          : 12                   Tx LSRs          : 1
Rx LSUs          : 13883                Tx LSUs          : 12831
Rx LS Acks       : 35                   Tx LS Acks       : 317
Retransmits      : 23                   Discards         : 0
Bad Networks     : 0                    Bad Virt Links   : 0
Bad Areas        : 0                    Bad Dest Addrs   : 0
Bad Auth Types   : 0                    Auth Failures    : 0
Bad Neighbors    : 0                    Bad Pkt Types    : 0
Bad Lengths      : 0                    Bad Hello Int.   : 0
Bad Dead Int.    : 0                    Bad Options      : 0
Bad Versions     : 0                    Bad Checksums    : 0
LSA Count        : 0                    LSA Checksum     : 0x0
-------------------------------------------------------------------------------
Interface : C_Port
-------------------------------------------------------------------------------
IP Address       : 10.26.26.2
Area Id          : 0.0.0.2              Priority         : 1
Hello Intrvl     : 10 sec               Rtr Dead Intrvl  : 40 sec
Retrans Intrvl   : 5 sec                Poll Intrvl      : 120 sec
Cfg Metric       : 0                    Advert Subnet    : True
Transit Delay    : 1                    Auth Type        : None
Passive          : False                Cfg MTU          : 0
Admin Status     : Enabled              Oper State       : Point To Point
Designated Rtr   : 0.0.0.0              Backup Desig Rtr : 0.0.0.0
IF Type          : Point To Point       Network Type     : Transit
Oper MTU         : 9198                 Last Enabled     : 12/14/2010 09:48:30
Oper Metric      : 100                  Bfd Enabled      : No
Te Metric        : 100                  Te State         : Up
Admin Groups     : None
Ldp Sync         : outOfService         Ldp Sync Wait    : Disabled
Ldp Timer State  : Disabled             Ldp Tm Left      : 0
Nbr Count        : 1                    If Events        : 1
Tot Rx Packets   : 22380                Tot Tx Packets   : 22262
Rx Hellos        : 8632                 Tx Hellos        : 8631
Rx DBDs          : 20                   Tx DBDs          : 19
Rx LSRs          : 0                    Tx LSRs          : 0
Rx LSUs          : 13531                Tx LSUs          : 13609
Rx LS Acks       : 197                  Tx LS Acks       : 3
Retransmits      : 26                   Discards         : 0
Bad Networks     : 0                    Bad Virt Links   : 0
Bad Areas        : 0                    Bad Dest Addrs   : 0
Bad Auth Types   : 0                    Auth Failures    : 0
Bad Neighbors    : 0                    Bad Pkt Types    : 0
Bad Lengths      : 0                    Bad Hello Int.   : 0
Bad Dead Int.    : 0                    Bad Options      : 0
Bad Versions     : 0                    Bad Checksums    : 0
LSA Count        : 0                    LSA Checksum     : 0x0
===============================================================================
 
 
Sample Output for OSPF3
 
A:Dut-A# show router ospf3 interface area 0 detail 
 
===============================================================================
OSPF Interfaces in Area (Detailed) : 0
===============================================================================
-------------------------------------------------------------------------------
Interface : system
-------------------------------------------------------------------------------
IP Address       : 2001:db8::1
Area Id          : 0.0.0.0              Priority         : 1
Hello Intrvl     : 10 sec               Rtr Dead Intrvl  : 40 sec
Retrans Intrvl   : 5 sec                Poll Intrvl      : 120 sec
Cfg Metric       : 0                    Advert Subnet    : True
Transit Delay    : 1                    Auth Type        : None
Passive          : True                 Cfg MTU          : 0
IPsec InStatSA   :                      IPsec OutStatSA  : 
IPsec InStatSATmp:                                                              
Admin Status     : Enabled              Oper State       : Designated Rtr
Designated Rtr   : 1.1.1.1              Backup Desig Rtr : 0.0.0.0
IF Type          : Broadcast            Network Type     : Stub
Oper MTU         : 1500                 Last Enabled     : 10/09/2012 13:41:23
Oper Metric      : 0                    Bfd Enabled      : No
Te Metric        : 0                    Te State         : Down
Admin Groups     : None               
Ldp Sync         : outOfService         Ldp Sync Wait    : Disabled
Ldp Timer State  : Disabled             Ldp Tm Left      : 0
Nbr Count        : 0                    If Events        : 2
Tot Rx Packets   : 0                    Tot Tx Packets   : 0
Rx Hellos        : 0                    Tx Hellos        : 0
Rx DBDs          : 0                    Tx DBDs          : 0
Rx LSRs          : 0                    Tx LSRs          : 0
Rx LSUs          : 0                    Tx LSUs          : 0
Rx LS Acks       : 0                    Tx LS Acks       : 0
Retransmits      : 0                    Discards         : 0
Bad Networks     : 0                    Bad Virt Links   : 0
Bad Areas        : 0                    Bad Dest Addrs   : 0
Bad Auth Types   : 0                    Auth Failures    : 0
Bad Neighbors    : 0                    Bad Pkt Types    : 0
Bad Lengths      : 0                    Bad Hello Int.   : 0
Bad Dead Int.    : 0                    Bad Options      : 0
Bad Versions     : 0                    Bad Checksums    : 0
LSA Count        : 0                    LSA Checksum     : 0x0
 
 
-------------------------------------------------------------------------------
Interface : to_b
-------------------------------------------------------------------------------
IP Address       : FE80::8E90:D3FF:FEBE:8F5A-"to_b"
Area Id          : 0.0.0.0              Priority         : 1
Hello Intrvl     : 10 sec               Rtr Dead Intrvl  : 40 sec
Retrans Intrvl   : 5 sec                Poll Intrvl      : 120 sec
Cfg Metric       : 0                    Advert Subnet    : True
Transit Delay    : 1                    Auth Type        : None
Passive          : False                Cfg MTU          : 0
IPsec InStatSA   :                      IPsec OutStatSA  : 
IPsec InStatSATmp:                                                              
Admin Status     : Enabled              Oper State       : Backup Desig Rtr
Designated Rtr   : 6.6.6.6              Backup Desig Rtr : 1.1.1.1
IF Type          : Broadcast            Network Type     : Transit
Oper MTU         : 9198                 Last Enabled     : 10/09/2012 13:42:16
Oper Metric      : 100                  Bfd Enabled      : No
Te Metric        : 100                  Te State         : Down
Admin Groups     : None
Ldp Sync         : outOfService         Ldp Sync Wait    : Disabled
Ldp Timer State  : Disabled             Ldp Tm Left      : 0
Nbr Count        : 1                    If Events        : 4
Tot Rx Packets   : 456                  Tot Tx Packets   : 346
Rx Hellos        : 103                  Tx Hellos        : 103
Rx DBDs          : 5                    Tx DBDs          : 3
Rx LSRs          : 1                    Tx LSRs          : 1
Rx LSUs          : 235                  Tx LSUs          : 230
Rx LS Acks       : 112                  Tx LS Acks       : 9
Retransmits      : 1                    Discards         : 1
Bad Networks     : 0                    Bad Virt Links   : 0
Bad Areas        : 0                    Bad Dest Addrs   : 0
Bad Auth Types   : 0                    Auth Failures    : 0
Bad Neighbors    : 0                    Bad Pkt Types    : 0
Bad Lengths      : 0                    Bad Hello Int.   : 0
Bad Dead Int.    : 0                    Bad Options      : 0
Bad Versions     : 0                    Bad Checksums    : 0
LSA Count        : 2                    LSA Checksum     : 0x16aa9
 
 
-------------------------------------------------------------------------------
Interface : to_c
-------------------------------------------------------------------------------
IP Address       : FE80::8E90:D3FF:FEBE:8F5A-"to_c"
Area Id          : 0.0.0.0              Priority         : 1
Hello Intrvl     : 10 sec               Rtr Dead Intrvl  : 40 sec
Retrans Intrvl   : 5 sec                Poll Intrvl      : 120 sec
Cfg Metric       : 0                    Advert Subnet    : True
Transit Delay    : 1                    Auth Type        : None
Passive          : False                Cfg MTU          : 0
IPsec InStatSA   :                      IPsec OutStatSA  : 
IPsec InStatSATmp:                                                              
Admin Status     : Enabled              Oper State       : Designated Rtr
Designated Rtr   : 1.1.1.1              Backup Desig Rtr : 3.3.3.3
IF Type          : Broadcast            Network Type     : Transit
Oper MTU         : 9198                 Last Enabled     : 10/09/2012 13:42:14
Oper Metric      : 100                  Bfd Enabled      : No
Te Metric        : 100                  Te State         : Down
Admin Groups     : None
Ldp Sync         : outOfService         Ldp Sync Wait    : Disabled
Ldp Timer State  : Disabled             Ldp Tm Left      : 0
Nbr Count        : 1                    If Events        : 77
Tot Rx Packets   : 124                  Tot Tx Packets   : 125
Rx Hellos        : 104                  Tx Hellos        : 104
Rx DBDs          : 2                    Tx DBDs          : 3
Rx LSRs          : 1                    Tx LSRs          : 1
Rx LSUs          : 13                   Tx LSUs          : 10
Rx LS Acks       : 4                    Tx LS Acks       : 7
Retransmits      : 0                    Discards         : 75
Bad Networks     : 0                    Bad Virt Links   : 0
Bad Areas        : 0                    Bad Dest Addrs   : 0
Bad Auth Types   : 0                    Auth Failures    : 0
Bad Neighbors    : 0                    Bad Pkt Types    : 0
Bad Lengths      : 0                    Bad Hello Int.   : 0
Bad Dead Int.    : 0                    Bad Options      : 0
Bad Versions     : 0                    Bad Checksums    : 0
LSA Count        : 2                    LSA Checksum     : 0x17644
===============================================================================
*A:Dut-A#
 
Table 42:  Output Fields: OSPF Interface Detail  

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 DR 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 a router’s 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, the subnet is not advertised and the endpoints are advertised as host routes

True — When a point-to-point interface is configured as true, 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

Identifies the authentication procedure to be used for the packet

None — Routing exchanges over the network or 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 or subnet. For each OSPF protocol packet, the key is used to generate or verify a “message digest” that is appended to the end of the OSPF packet

Passive

False — This interface operates as a normal OSPF interface with regard to adjacency forming and network or link behavior.

True — No OSPF Hellos will be sent out on this interface, and the router advertises this interface as a stub network or link in its router LSAs.

MTU

The desired size of the largest packet that can be sent or received on this OSPF interface, specified in octets. This size DOES include the underlying IP header length, but not the underlying layer headers or trailers.

Admin Status

Disabled — OSPF on this interface is administratively shut down

Enabled — OSPF on this interface is administratively enabled

Oper State

Down — 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) DR 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 DR 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 DR

Backup Desig Rtr — This router is the backup DR for this network

DR-Id

Displays the IP interface address of the router identified as the DR for the network in which this interface is configured. Set to 0.0.0.0 if there is no DR.

BDR-Id

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.

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; 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; traffic en route to other networks may be routed via this network

Oper MTU

Displays the operational size of the largest packet that can be sent or received on this OSPF interface, in octets. This size DOES include the underlying IP header length, but not the underlying layer headers or 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

Indicates 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

Indicates the MPLS interface TE status from OSPF standpoint

Admin Groups

Indicates the bit-map inherited from MPLS interface that identifies the admin groups to which this interface belongs

neighbor

Syntax 
neighbor [ip-int-name | ip-address] [detail]
neighbor [remote | ip-address] [detail]
Context 
show>router>ospf
show>router>ospf3
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command displays all neighbor information. To reduce the amount of output, select the neighbors on a specific interface using address or name.

The detail option produces a large amount of data. Nokia recommends using the detail option only when specifying a particular neighbor.

Parameters 
remote—
Keyword that specifies the remote OSPF neighbor.
ip-address—
Displays neighbor information for the neighbor identified by the specified IP address.
ip-int-name—
Displays neighbor information for neighbors of the interface identified by the interface name.
Output 

The following outputs are examples of OSPF and OSPFv3 neighbor information, and the associated tables describe the output fields.

Sample Output
A:ALA-A#  show router ospf  neighbor
===============================================================================
OSPF Neighbors
===============================================================================
Interface-Name                   Rtr Id          State      Pri  RetxQ   TTL
-------------------------------------------------------------------------------
pc157-2/1                        10.13.8.158     Full       1    0       37
pc157-2/2                        10.13.7.165     Full       100  0       33
pc157-2/3                        10.13.6.188     Full       1    0       38
-------------------------------------------------------------------------------
No. of Neighbors: 3
===============================================================================
A:ALA-A#
 
Sample Output for OSPF3
*A:Dut-A# show router ospf3 neighbor 
 
===============================================================================
OSPF Neighbors
===============================================================================
Interface-Name                   Rtr Id          State      Pri  RetxQ   TTL
   Area-Id
-------------------------------------------------------------------------------
to_b                             6.6.6.6         Full       1    0       33
   0.0.0.0
to_c                             3.3.3.3         Full       1    0       35
   0.0.0.0
-------------------------------------------------------------------------------
No. of Neighbors: 2
===============================================================================
*A:Dut-A#
Table 43:  Output Fields: OSPF Neighbor  

Label

Description

Nbr IP Addr

Displays the IP address this neighbor is using in its IP source address. On links with no addresses, 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 to uniquely identify the neighbor router in the AS

Nbr State

Down — 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, a 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 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 now appear in router-LSAs and network-LSAs.

Priority

Displays the priority of this neighbor in the designated router election algorithm. A value of 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

Sample Output — Detailed
A:ALA-A#  show router ospf neighbor detail
===============================================================================
OSPF Neighbors
-------------------------------------------------------------------------------
Neighbor Rtr Id  : 10.13.8.158          Interface: pc157-2/1
-------------------------------------------------------------------------------
Neighbor IP Addr : 10.16.1.8
Local IF IP Addr : 10.16.1.7
Area Id          : 0.0.0.0
Designated Rtr   : 0.0.0.0              Backup Desig Rtr : 0.0.0.0
Neighbor State   : Full                 Priority         : 1
Retrans Q Length : 0                    Options          : -E--O-
Events           : 4                    Last Event Time  : 05/06/2006 00:11:16
Up Time          : 1d 18:20:20          Time Before Dead : 38 sec
GR Helper        : Not Helping          GR Helper Age    : 0 sec
GR Exit Reason   : None                 GR Restart Reason: Unknown
Bad Nbr States   : 1                    LSA Inst fails   : 0
Bad Seq Nums     : 0                    Bad MTUs         : 0
Bad Packets      : 0                    LSA not in LSDB  : 0
Option Mismatches: 0                    Nbr Duplicates   : 0
Num Restarts     : 0                    Last Restart at  : Never
-------------------------------------------------------------------------------
Neighbor Rtr Id  : 10.13.7.165          Interface: pc157-2/2
-------------------------------------------------------------------------------
Neighbor IP Addr : 10.12.1.3
Local IF IP Addr : 10.12.1.7
Area Id          : 0.0.0.0
Designated Rtr   : 10.13.9.157          Backup Desig Rtr : 10.13.7.165
Neighbor State   : Full                 Priority         : 100
Retrans Q Length : 0                    Options          : -E--O-
Events           : 4                    Last Event Time  : 05/05/2006 01:39:13
Up Time          : 0d 16:52:27          Time Before Dead : 33 sec
GR Helper        : Not Helping          GR Helper Age    : 0 sec
GR Exit Reason   : None                 GR Restart Reason: Unknown
Bad Nbr States   : 0                    LSA Inst fails   : 0
Bad Seq Nums     : 0                    Bad MTUs         : 0
Bad Packets      : 0                    LSA not in LSDB  : 0
Option Mismatches: 0                    Nbr Duplicates   : 0
Num Restarts     : 0                    Last Restart at  : Never
-------------------------------------------------------------------------------
Neighbor Rtr Id  : 10.13.6.188          Interface: pc157-2/3
-------------------------------------------------------------------------------
Neighbor IP Addr : 10.14.1.4
Local IF IP Addr : 10.14.1.7
Area Id          : 0.0.0.0
Designated Rtr   : 10.13.9.157          Backup Desig Rtr : 10.13.6.188
Neighbor State   : Full                 Priority         : 1
Retrans Q Length : 0                    Options          : -E--O-
Events           : 4                    Last Event Time  : 05/05/2006 08:35:18
Up Time          : 0d 09:56:25          Time Before Dead : 38 sec
GR Helper        : Not Helping          GR Helper Age    : 0 sec
GR Exit Reason   : None                 GR Restart Reason: Unknown
Bad Nbr States   : 1                    LSA Inst fails   : 0
Bad Seq Nums     : 0                    Bad MTUs         : 0
Bad Packets      : 0                    LSA not in LSDB  : 0
Option Mismatches: 0                    Nbr Duplicates   : 0
Num Restarts     : 0                    Last Restart at  : Never
===============================================================================
A:ALA-A#
 

Sample Output for OSPF3

 
*A:Dut-A# show router ospf3 neighbor detail 
 
===============================================================================
OSPF Neighbors
===============================================================================
-------------------------------------------------------------------------------
Neighbor Rtr Id : 6.6.6.6  Interface: to_b
-------------------------------------------------------------------------------
Neighbor IP Addr : FE80::225:BAFF:FE0D:1E90-"to_b"
Local IF IP Addr : FE80::8E90:D3FF:FEBE:8F5A-"to_b"
Area Id          : 0.0.0.0              
Designated Rtr   : 6.6.6.6              Backup Desig Rtr : 1.1.1.1
Neighbor State   : Full                 Priority         : 1
Retrans Q Length : 0                    Options          : --R--EV6
Events           : 6                    Last Event Time  : 10/09/2012 13:43:08
Up Time          : 0d 00:17:21          Time Before Dead : 34 sec
GR Helper        : Not Helping          GR Helper Age    : 0 sec
GR Exit Reason   : None                 GR Restart Reason: Unknown
Bad Nbr States   : 3                    LSA Inst fails   : 0
Bad Seq Nums     : 0                    Bad MTUs         : 0
Bad Packets      : 0                    LSA not in LSDB  : 0
Option Mismatches: 0                    Nbr Duplicates   : 0
Num Restarts     : 0                    Last Restart at  : Never
-------------------------------------------------------------------------------
Neighbor Rtr Id : 3.3.3.3  Interface: to_c
-------------------------------------------------------------------------------
Neighbor IP Addr : FE80::8E90:D3FF:FEAA:35F-"to_c"
Local IF IP Addr : FE80::8E90:D3FF:FEBE:8F5A-"to_c"
Area Id          : 0.0.0.0              
Designated Rtr   : 1.1.1.1              Backup Desig Rtr : 3.3.3.3
Neighbor State   : Full                 Priority         : 1
Retrans Q Length : 0                    Options          : --R--EV6
Events           : 5                    Last Event Time  : 10/09/2012 13:53:59
Up Time          : 0d 00:05:41          Time Before Dead : 36 sec
GR Helper        : Not Helping          GR Helper Age    : 0 sec
GR Exit Reason   : None                 GR Restart Reason: Unknown
Bad Nbr States   : 0                    LSA Inst fails   : 0
Bad Seq Nums     : 0                    Bad MTUs         : 0
Bad Packets      : 0                    LSA not in LSDB  : 0
Option Mismatches: 0                    Nbr Duplicates   : 0
Num Restarts     : 0                    Last Restart at  : Never
===============================================================================
*A:Dut-A#
Table 44:  Output Fields: OSPF/OSPF3 Neighbor Detail  

Label

Description

Neighbor IP Addr

Displays the IP address this neighbor is using in its IP source address. On links with no addresses, 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 DR for the network in which this interface is configured. Set to 0.0.0.0 if there is no DR.

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, a 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.

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. A value of 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

MC — multicast 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

This value represents 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 because of 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 a 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

opaque-database

Syntax 
opaque-database [link link-id | area area-id |as] [adv-router router-id] [ls-id] [detail]
Context 
show>router>ospf
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command displays OSPF opaque database information.

Output 

The following output is an example of OSPF opaque database information, and Table 45 describes the output fields.

Sample Output
A:ALA-A#   show router ospf opaque-database
===============================================================================
OSPF Opaque Link State Database (Type : All)
===============================================================================
Area Id         Type  Link State Id     Adv Rtr Id      Age  Sequence   Cksum
-------------------------------------------------------------------------------
0.0.0.0         Area  1.0.0.1           10.0.0.2        205  0x8000007e 0xb1b2
0.0.0.0         Area  1.0.0.1           10.0.0.5        617  0x80000084 0xb1a6
0.0.0.0         Area  1.0.0.1           10.0.0.8        1635 0x80000081 0xc391
0.0.0.0         Area  1.0.0.1           10.0.0.9        1306 0x80000082 0xc58c
0.0.0.0         Area  1.0.0.1           10.0.0.10       53   0x80000082 0xc986
0.0.0.0         Area  1.0.0.1           10.0.0.11       577  0x8000007e 0xd57c
0.0.0.0         Area  1.0.0.1           10.0.0.12       1628 0x80000080 0xd578
0.0.0.0         Area  1.0.0.1           10.0.0.13       581  0x80000080 0xd972
0.0.0.0         Area  1.0.0.1           10.0.0.22       1006 0x80000080 0xfd3c
0.0.0.0         Area  1.0.0.1           10.0.0.23       1238 0x80000083 0xfb39
0.0.0.0         Area  1.0.0.1           10.0.0.27       55   0x80000083 0xc21
0.0.0.0         Area  1.0.0.1           10.0.0.28       389  0x80000083 0x101b
0.0.0.0         Area  1.0.0.1           10.0.0.29       1658 0x80000082 0x1614
0.0.0.0         Area  1.0.0.1           10.0.0.30       976  0x80000083 0x180f
0.0.0.0         Area  1.0.0.2           10.0.0.2        45   0x800000a0 0x2f60
0.0.0.0         Area  1.0.0.2           10.0.0.5        1357 0x80000084 0x7038
0.0.0.0         Area  1.0.0.2           10.0.0.8        1960 0x80000084 0x3472
...
-------------------------------------------------------------------------------
No. of Opaque LSAs: 88
===============================================================================
A:ALA-A#  
 
 
*A:Dut-A# show router ospf opaque-database adv-router 10.20.1.1 detail 
==============================================================================
OSPF Opaque Link State Database (Type : All) (Detailed)
==============================================================================
------------------------------------------------------------------------------
Opaque LSA
------------------------------------------------------------------------------
Area Id          : 0.0.0.0              Adv Router Id    : 10.20.1.1           
Link State Id    : 1.0.0.1              LSA Type         : Area Opaque         
Sequence No      : 0x80000028           Checksum         : 0xb136              
Age              : 192                  Length           : 28                  
Options          :  E                                                          
Advertisement    :                                                             
     ROUTER-ID TLV  (0001) Len   4 : 10.20.1.1
------------------------------------------------------------------------------
Opaque LSA
------------------------------------------------------------------------------
Area Id          : 0.0.0.0              Adv Router Id    : 10.20.1.1           
Link State Id    : 1.0.0.2              LSA Type         : Area Opaque         
Sequence No      : 0x8000000d           Checksum         : 0x17f3              
Age              : 678                  Length           : 164                 
Options          :  E                                                          
Advertisement    :                                                             
     LINK INFO TLV  (0002) Len 140 :
       Sub-TLV: 1     Len: 1     LINK_TYPE    : 2
       Sub-TLV: 2     Len: 4     LINK_ID      : 10.10.1.2
       Sub-TLV: 3     Len: 4     LOC_IP_ADDR  : 10.10.1.1
       Sub-TLV: 4     Len: 4     REM_IP_ADDR  : 0.0.0.0
       Sub-TLV: 5     Len: 4     TE_METRIC    : 1000
       Sub-TLV: 6     Len: 4     MAX_BDWTH    : 100000 Kbps
       Sub-TLV: 7     Len: 4     RSRVBL_BDWTH : 800000 Kbps
       Sub-TLV: 8     Len: 32    UNRSRVD_CLS0 :
         P0:   80000 Kbps P1:  320000 Kbps P2:  320000 Kbps P3:  320000 Kbps 
         P4:  400000 Kbps P5:  400000 Kbps P6:  400000 Kbps P7:   80000 Kbps 
       Sub-TLV: 9     Len: 4     ADMIN_GROUP  : 0 None
       Sub-TLV: 17    Len: 36    TELK_BW_CONST:
         BW Model : MAM
         BC0:   80000 Kbps BC1:       0 Kbps BC2:  320000 Kbps BC3:       0 Kbps 
         BC4:       0 Kbps BC5:  400000 Kbps BC6:       0 Kbps BC7:       0 Kbps 
                                      
==============================================================================
*A:Dut-A# 
Table 45:  Output Fields: OSPF Opaque-database  

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.

Type

NSSA — This area is configured as an NSSA area

Area — This area is configured as a standard area (not NSSA or stub)

Stub — This area is configured as an NSSA

Link State Id

Displays the link state ID is an LSA type specific field containing either a router ID or an IP address; it identifies the piece of the routing domain being described by the advertisement.

Adv Rtr Id

Displays the router identifier of the router advertising the LSA

Age

Displays the age of the link state advertisement, in seconds

Sequence

Displays the signed 32-bit integer sequence number

Cksum

Displays the 32-bit unsigned sum of the link-state advertisements LS checksums

prefix-sids

Syntax 
prefix-sids [ip-prefix[/prefix-length]] [sid sid] [adv-router router-id]
Context 
show>router>ospf
Supported Platforms 

7210 SAS-Mxp

Description 

This command displays OSPF prefix SIDs.

Parameters 
ip-prefix[/prefix-length]
Displays information about the specified IP prefix and length, up to 64 characters.
sid
Displays information for the specific segment identifier.
Values—
0 to 524287

 

router-id
Displays information for the specific advertising router identified by its router ID.
Output 

The following output is an example of OSPF prefix SID information, and Table 46 describes the output fields.

Sample Output
*A:Dut-F# show router ospf prefix-sids 
========================================================================
Rtr Base OSPFv2 Instance 0 Prefix-Sids
========================================================================
Prefix                             Area            RtType      SID
                                   Adv-Rtr                     Flags
------------------------------------------------------------------------
10.0.11.1/32                       0.0.0.0         INTER-AREA  4
                                   10.20.1.2                   NnP
10.0.11.1/32                       0.0.0.1         INTRA-AREA  4
                                   10.20.1.1                   NnP
10.0.11.1/32                       0.0.0.1         INTRA-AREA  999
                                   10.20.1.3                   NnPB
10.0.22.2/32                       0.0.0.0         INTER-AREA  5
                                   10.20.1.2                   NnPA
10.0.22.2/32                       0.0.0.1         INTRA-AREA  5
                                   10.20.1.2                   NnP
10.0.22.2/32                       0.0.0.1         INTRA-AREA  996
                                   10.20.1.6                   NnPB
10.0.33.3/32                       0.0.0.0         INTER-AREA  0
                                   10.20.1.2                   NnP
10.0.33.3/32                       0.0.0.1         INTRA-AREA  0
                                   10.20.1.3                   NnP
10.0.33.3/32                       0.0.0.1         INTRA-AREA  998
                                   10.20.1.1                   NnPB
10.0.44.4/32                       0.0.0.0         INTRA-AREA  1
                                   10.20.1.4                   NnP
10.0.44.4/32                       0.0.0.0         INTRA-AREA  994
                                   10.20.1.5                   NnPB
10.0.44.4/32                       0.0.0.1         INTER-AREA  1
                                   10.20.1.2                   NnP
10.0.55.5/32                       0.0.0.0         INTRA-AREA  2
                                   10.20.1.5                   NnP
10.0.55.5/32                       0.0.0.0         INTRA-AREA  995
                                   10.20.1.4                   NnPB
10.0.55.5/32                       0.0.0.1         INTER-AREA  2
                                   10.20.1.2                   NnP
10.0.66.6/32                       0.0.0.0         INTER-AREA  3
                                   10.20.1.2                   NnP
10.0.66.6/32                       0.0.0.1         INTRA-AREA  3
                                   10.20.1.6                   NnP
10.0.66.6/32                       0.0.0.1         INTRA-AREA  997
                                   10.20.1.2                   NnPB
10.20.1.1/32                       0.0.0.0         INTER-AREA  10
                                   10.20.1.2                   NnP
10.20.1.1/32                       0.0.0.1         INTRA-AREA  10
                                   10.20.1.1                   NnP
10.20.1.2/32                       0.0.0.0         INTRA-AREA  11
                                   10.20.1.2                   NnP
10.20.1.2/32                       0.0.0.1         INTER-AREA  11
                                   10.20.1.2                   NnPA
10.20.1.3/32                       0.0.0.0         INTER-AREA  6
                                   10.20.1.2                   NnP
10.20.1.3/32                       0.0.0.1         INTRA-AREA  6
                                   10.20.1.3                   NnP
10.20.1.4/32                       0.0.0.0         INTRA-AREA  7
                                   10.20.1.4                   NnP
10.20.1.4/32                       0.0.0.1         INTER-AREA  7
                                   10.20.1.2                   NnP
10.20.1.5/32                       0.0.0.0         INTRA-AREA  8
                                   10.20.1.5                   NnP
10.20.1.5/32                       0.0.0.1         INTER-AREA  8
                                   10.20.1.2                   NnP
10.20.1.6/32                       0.0.0.0         INTRA-AREA  9
                                   10.20.1.6                   NnP
10.20.1.6/32                       0.0.0.1         INTER-AREA  9
                                   10.20.1.2                   NnP
------------------------------------------------------------------------
No. of Prefix/SIDs: 30
SID Flags : N = Node-SID
           nP = no penultimate hop POP
            M = Mapping server
            E = Explicit-Null
            V = Prefix-SID carries a value
            L = value/index has local significance
            I = Inter Area flag 
            A = Attached flag 
            B = Backup flag 
========================================================================
*A:Dut-F#                             
*A:Dut-C# show router ospf prefix-sids
========================================================================
Rtr Base OSPFv2 Instance 0 Prefix-Sids
========================================================================
Prefix                             Area            RtType      SID
                                   Adv-Rtr         Active      Flags
------------------------------------------------------------------------
10.20.1.1/32                       0.0.0.0         INTER-AREA  11
                                   10.20.1.2       N           NnP
10.20.1.1/32                       0.0.0.1         INTRA-AREA  11
                                   10.20.1.1       Y           NnP
10.20.1.2/32                       0.0.0.0         INTRA-AREA  22
                                   10.20.1.2       Y           NnP
10.20.1.2/32                       0.0.0.1         INTER-AREA  22
                                   10.20.1.2       N           NnP
10.20.1.3/32                       0.0.0.0         INTRA-AREA  33
                                   10.20.1.3       Y           NnP
10.20.1.3/32                       0.0.0.1         INTER-AREA  33
                                   10.20.1.2       N           NnP
10.20.1.4/32                       0.0.0.0         INTRA-AREA  44
                                   10.20.1.4       Y           NnP
10.20.1.4/32                       0.0.0.1         INTER-AREA  44
                                   10.20.1.2       N           NnP
10.20.1.5/32                       0.0.0.0         INTRA-AREA  55
                                   10.20.1.5       Y           NnP
10.20.1.5/32                       0.0.0.1         INTER-AREA  55
                                   10.20.1.2       N           NnP
10.20.1.6/32                       0.0.0.0         INTER-AREA  66
                                   10.20.1.4       N           NnP
10.20.1.6/32                       0.0.0.0         INTER-AREA  66
                                   10.20.1.5       Y           NnP
10.20.1.6/32                       0.0.0.1         INTER-AREA  66
                                   10.20.1.2       N           NnP
------------------------------------------------------------------------
No. of Prefix/SIDs: 13
Flags:  N = Node-SID
       nP = no penultimate hop POP 
        M = Mapping server 
        E = Explicit-Null  
        V = Prefix-SID carries a value 
        L = value/index has local significance 
        I = Inter Area flag 
        A = Attached flag 
========================================================================
 
*A:Dut-C# show router ospf prefix-sids sid 66 
========================================================================
Rtr Base OSPFv2 Instance 0 Prefix-Sids
========================================================================
Prefix                             Area            RtType      SID
                                   Adv-Rtr         Active      Flags
------------------------------------------------------------------------
10.20.1.6/32                       0.0.0.0         INTER-AREA  66
                                   10.20.1.4       N           NnP
10.20.1.6/32                       0.0.0.0         INTER-AREA  66
                                   10.20.1.5       Y           NnP
10.20.1.6/32                       0.0.0.1         INTER-AREA  66
                                   10.20.1.2       N           NnP
------------------------------------------------------------------------
No. of Prefix/SIDs: 3
Flags:  N = Node-SID
       nP = no penultimate hop POP 
        M = Mapping server 
        E = Explicit-Null  
        V = Prefix-SID carries a value  
        L = value/index has local significance  
        I = Inter Area flag 
        A = Attached flag 
========================================================================
*A:Dut-C#
Table 46:  Output Fields: Prefix SIDs 

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

range

Syntax 
range [area-id]
Context 
show>router>ospf
show>router>ospf3
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command displays ranges of addresses on an Area Border Router (ABR) for the purpose of route summarization or suppression.

Parameters 
area-id—
Displays the configured ranges for the specified area.
Output 

The following output is an example of OSPF range information, and Table 47 describes the output fields.

Sample Output
A:ALA-A#  show router ospf range
==========================================================
OSPF Ranges                                               
==========================================================
Area Id         Address/Mask       Advertise   LSDB Type  
----------------------------------------------------------
No. of Ranges: 0                                          
==========================================================
A:ALA-A# 
 
 
A:ALA-A#  show router ospf range 180.0.7.9
==========================================================
OSPF Ranges for Area Id : 180.0.7.9
==========================================================
Area Id         Address/Mask       Advertise   LSDB Type
----------------------------------------------------------
No. of Ranges: 0
==========================================================
A:ALA-A#
Table 47:  Output Fields: OSPF Range  

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

sham-link

Syntax 
sham-link [interface-name] [detail]
sham-link interface-name remote ip-address [detail]
Context 
show>router>ospf
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command displays information about the sham links.

Output 

The following output is an example of sham link information, and Table 48 describes the output fields.

Sample Output
A:7210SAS# show router 1 ospf sham-link 
 
===============================================================================
OSPF Sham-links
===============================================================================
If Name                          Nbr IP                        Metric Adm  Oper
-------------------------------------------------------------------------------
to-ixia-1                        20.1.1.1                      1      Up   PToP
to-ixia-1                        111.11.1.1                    1      Up   PToP
-------------------------------------------------------------------------------
No. of OSPF Sham-links: 2
*A:7210SAS>show>router>ospf#
Table 48:  Output Fields: OSPF Sham-link  

Label

Description  

If Name

Displays the IP Interface name

Nbr IP

Displays the IP address of the neighbor

Metric

Displays the metric associated with the interface

Adm

Displays the administrative state of the IP interface

Oper

Displays the operational state of the interface

No. of OSPF Sham-links

Displays the number of sham links configured

sham-link-neighbor

Syntax 
sham-link-neighbor [detail]
sham-link-neighbor interface-name remote ip-address [detail]
Context 
show>router>ospf
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command displays information about the OSPF neighbor. The user is provided with an option to select the neighbor or the interface to restrict output to specific neighbors. The detail option displays a large amount of output.

Output 

The following is an example of sham-link-neighbor information, and Table 49 describes the output fields.

Sample Output
A:duta# show router 1 ospf sham-link-neighbor 
 
=============================================================================
OSPF Sham-link Neighbors
=============================================================================
Interface Name                    Neighbor IP      State      RetxQ   DeadTi
                                                                      me
-----------------------------------------------------------------------------
to-ixia-1                         111.11.1.1       Full       0       34
-----------------------------------------------------------------------------
No. of Neighbors: 1
# show router 1 ospf sham-link-neighbor 
 
=============================================================================
OSPF Sham-link Neighbors
=============================================================================
Interface Name                    Neighbor IP      State      RetxQ   DeadTi
                                                                      me
-----------------------------------------------------------------------------
to-ixia-1                         111.11.1.1       Full       0       34
-----------------------------------------------------------------------------
No. of Neighbors: 1
*A:7210SAS>show>router>ospf#
Table 49:  Output Fields: OSPF Sham-link Neighbor  

Label

Description  

Interface Name

Displays the IP interface name

Neighbor IP

Displays the neighbor IP address

State

Specifies the operational state of the virtual link to the neighboring router

RetxQ

Displays the current length of the retransmission queue

DeadTime

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 OSPF Neighbors

Displays the number of adjacent OSPF neighbors on this interface

spf

Syntax 
spf
Context 
show>router>ospf
show>router>ospf3
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command displays statistics of shortest-path-first (SPF) calculations.

Output 

The following output is an example of OSPF SPF information, and Table 50 describes the output fields.

Sample Output
A:ALA-A#  show router ospf spf
===============================================================================
OSPF SPF Statistics
===============================================================================
 Total SPF Runs          :  109
 Last Full SPF run @     :  11/07/2006 18:43:07
 Last Full SPF Time      :  < 0.01 secs
      Intra SPF Time     :  < 0.01 secs
      Inter SPF Time     :  < 0.01 secs
      Extern SPF Time    :  < 0.01 secs
      RTM Updt Time      :  < 0.01 secs
 
 Min/Avg/Max Full SPF Times   :  0.02/0.00/0.06 secs
 Min/Avg/Max RTM Updt Times   :  0.02/0.00/0.06 secs
 
 Total Sum Incr SPF Runs :  333
 Last Sum Incr SPF run @ :  11/07/2006 18:43:09
 Last Sum Incr Calc Time :  < 0.01 secs
 
 Total Ext Incr SPF Runs :  0
===============================================================================
A:ALA-A# 
Table 50:  Output Fields: OSPF SPF  

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

statistics

Syntax 
statistics
Context 
show>router>ospf
show>router>ospf3
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command displays the global OSPF statistics.

Output 

The following output is an example of OSPF statistics information, and Table 51 describes the output fields.

Sample Output
A:ALA-A#  show router ospf statistics
===============================================================================
OSPF Statistics
===============================================================================
Rx Packets         : 308462             Tx Packets         : 246800
Rx Hellos          : 173796             Tx Hellos          : 149062
Rx DBDs            : 67                 Tx DBDs            : 48
Rx LSRs            : 21                 Tx LSRs            : 19
Rx LSUs            : 105672             Tx LSUs            : 65530
Rx LS Acks         : 28906              Tx LS Acks         : 32141
New LSAs Recvd     : 38113              New LSAs Orig      : 21067
Ext LSAs Count     : 17                 No of Areas        : 3
Total SPF Runs     : 327                Ext SPF Runs       : 0
Retransmits        : 46                 Discards           : 0
Bad Networks       : 0                  Bad Virt Links     : 0
Bad Areas          : 0                  Bad Dest Addrs     : 0
Bad Auth Types     : 0                  Auth Failures      : 0
Bad Neighbors      : 0                  Bad Pkt Types      : 0
Bad Lengths        : 0                  Bad Hello Int.     : 0
Bad Dead Int.      : 0                  Bad Options        : 0
Bad Versions       : 0                  Bad Checksums      : 0
Failed SPF Attempts: 0
CSPF Requests      : 0                  CSPF Request Drops : 0
CSPF Path Found    : 0                  CSPF Path Not Found: 0
Total SPF Runs     : 1                  Total LFA SPF Runs : 1
===============================================================================
A:ALA-A#
 
Sample Output for OSPF3
 
*A:Dut-A# show router ospf3 statistics 
 
===============================================================================
OSPF Statistics
===============================================================================
Rx Packets         : 606                Tx Packets         : 497
Rx Hellos          : 233                Tx Hellos          : 233
Rx DBDs            : 7                  Tx DBDs            : 6
Rx LSRs            : 2                  Tx LSRs            : 2
Rx LSUs            : 248                Tx LSUs            : 240
Rx LS Acks         : 116                Tx LS Acks         : 16
New LSAs Recvd     : 0                  New LSAs Orig      : 30
Ext LSAs Count     : 0                  No of Areas        : 1
No of Interfaces   : 3                  No of Neighbors    : 2
Retransmits        : 1                  Discards           : 76
Bad Networks       : 0                  Bad Virt Links     : 0
Bad Areas          : 0                  Bad Dest Addrs     : 0
Bad Auth Types     : 0                  Auth Failures      : 0
Bad Neighbors      : 0                  Bad Pkt Types      : 0
Bad Lengths        : 0                  Bad Hello Int.     : 0
Bad Dead Int.      : 0                  Bad Options        : 0
Bad Versions       : 0                  Bad Checksums      : 0
Failed SPF Attempts: 0                  
CSPF Requests      : 0                  CSPF Request Drops : 0
CSPF Path Found    : 0                  CSPF Path Not Found: 0
===============================================================================
*A:Dut-A#
Table 51:  Output Fields: OSPF Statistics  

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 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 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 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

Total SPF Runs

Displays the number of times the SPF algorithm has been run to calculate the best path to a destination

Total LFA SPF Runs

Displays the number of times the SPF algorithm has been run to calculate the LFA (backup path to a destination)

status

Syntax 
status
Context 
show>router>ospf
show>router>ospf3
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command displays the general status of OSPF.

Output 

The following output is an example of OSPF status information, and Table 52 describes the output fields.

Sample Output
A:ALA-A#  show router ospf status
===============================================================================
OSPF Status
===============================================================================
OSPF Router Id               : 10.13.7.165
OSPF Version                 : 2
OSPF Admin Status            : Enabled
OSPF Oper Status             : Enabled
Graceful Restart             : Enabled
GR Helper Mode               : Disabled
Preference                   : 10
External Preference          : 150
Backbone Router              : True
Area Border Router           : True
AS Border Router             : True
Opaque LSA Support           : True
Traffic Engineering Support  : True
RFC 1583 Compatible          : True
TOS Routing Support          : False
Demand Exts Support          : False
In Overload State            : False
In External Overflow State   : False
Exit Overflow Interval       : 0
Last Overflow Entered        : Never
Last Overflow Exit           : Never
External LSA Limit           : -1
Reference Bandwidth          : 100,000,000 Kbps
Init SPF Delay               : 500 msec
Sec SPF Delay                : 2000 msec
Max SPF Delay                : 15000 msec
Min LS Arrival Interval      : 500 msec
Max LSA Gen Delay            : 5000 msec
Last Ext SPF Run             : Never
Ext LSA Cksum Sum            : 0x2afce
OSPF Last Enabled            : 05/23/2006 23:34:36
Export Policies              : export-static
Import Policies              : None
Lfa Policies                 : pol1
                             : pol2
                             : pol3
                             : pol4
                             : pol5
===============================================================================
A:ALA-A#  
 
*A:ALU_SIM11>show>router>ospf# status
 
===============================================================================
OSPF Status
===============================================================================
OSPF Cfg Router Id           : 0.0.0.0
OSPF Oper Router Id          : 1.1.1.2
OSPF Version                 : 2
OSPF Admin Status            : Enabled
OSPF Oper Status             : Enabled
Graceful Restart             : Disabled
GR Helper Mode               : Disabled
Preference                   : 10
External Preference          : 150
Backbone Router              : True
Area Border Router           : False
AS Border Router             : False
Opaque LSA Support           : True
Traffic Engineering Support  : False
RFC 1583 Compatible          : True
Demand Exts Support          : False
In Overload State            : False
In External Overflow State   : False
Exit Overflow Interval       : 0
Last Overflow Entered        : Never
Last Overflow Exit           : Never
External LSA Limit           : -1
Reference Bandwidth          : 100,000,000 Kbps
Init SPF Delay               : 1000 msec
Sec SPF Delay                : 1000 msec
Max SPF Delay                : 10000 msec
Min LS Arrival Interval      : 1000 msec
Init LSA Gen Delay           : 5000 msec
Sec LSA Gen Delay            : 5000 msec
Max LSA Gen Delay            : 5000 msec
Last Ext SPF Run             : Never
Ext LSA Cksum Sum            : 0x0
OSPF Last Enabled            : 07/06/2010 10:34:11
Multicast Import             : False
Export Policies              : None
Import Policies              : None
Lfa Policies                 : pol1
                             : pol2
                             : pol3
                             : pol4
                             : pol5
OSPF Ldp Sync Admin Status   : Enabled
LDP-over-RSVP                : Disabled
===============================================================================
 
Sample Output for OSPF3
 
*A:Dut-A# show router ospf3 status 
 
===============================================================================
OSPF Status
===============================================================================
OSPF Cfg Router Id           : 0.0.0.0
OSPF Oper Router Id          : 1.1.1.1
OSPF Version                 : 3
OSPF Admin Status            : Enabled
OSPF Oper Status             : Enabled
Graceful Restart             : Disabled
GR Helper Mode               : Disabled
Preference                   : 10
External Preference          : 150
Backbone Router              : True
Area Border Router           : False
AS Border Router             : False
Traffic Engineering Support  : False
Demand Exts Support          : False
In Overload State            : False
In External Overflow State   : False
Exit Overflow Interval       : 0
Last Overflow Entered        : Never
Last Overflow Exit           : Never  
External LSA Limit           : -1
Reference Bandwidth          : 100,000,000 Kbps
Init SPF Delay               : 1000 msec
Sec SPF Delay                : 1000 msec
Max SPF Delay                : 10000 msec
Min LS Arrival Interval      : 1000 msec
Init LSA Gen Delay           : 5000 msec
Sec LSA Gen Delay            : 5000 msec
Max LSA Gen Delay            : 5000 msec
Last Ext SPF Run             : Never
Ext LSA Cksum Sum            : 0x0
OSPF Last Enabled            : 10/09/2012 13:41:23
Multicast Import             : False
Export Policies              : None
OSPF Ldp Sync Admin Status   : Enabled
LDP-over-RSVP                : Disabled
RSVP-Shortcut                : Disabled
Advertise-Tunnel-Link        : Disabled
Export Limit                 : 0
Export Limit Log Percent     : 0
Total Exp Routes             : 0
Table 52:  Output Fields: OSPF Status  

Label

Description

OSPF Router Id

Displays a 32-bit integer uniquely identifying the router in the AS. By default, this is the system IP address or, if not configured, this is 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 — the OSPF process is disabled on all interfaces

Enabled — the OSPF process is active on at least one interface

OSPF Oper Status

Disabled — the OSPF process is not operational on all interfaces

Enabled — 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 — indicates that this router is not configured as an OSPF back bone router

True — 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 AS border router

True — this router is configured as an AS 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

virtual-link

Syntax 
virtual-link [detail]
Context 
show>router>ospf
show>router>ospf3
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command displays information for OSPF virtual links.

Parameters 
detail—
Provides operational and statistical information about virtual links associated with this router.
Output 

The following output is an example of OSPF virtual link information, and Table 53 describes the output fields.

Sample Output
A:ALA-A#  show router ospf  virtual-link
=================================================================
OSPF Virtual Links
=================================================================
Nbr Rtr Id      Area Id         Local Interface     Metric State
-----------------------------------------------------------------
180.0.0.10      0.0.0.1         180.1.7.12          300    PToP
180.0.0.10      0.0.0.2         180.2.7.12          300    PToP
-----------------------------------------------------------------
No. of OSPF Virtual Links: 2
=================================================================
A:ALA-A# 
 
 
A:ALA-A#  show router ospf virtual-link detail
===============================================================================
OSPF Virtual Links (detailed)
===============================================================================
Neighbor Router Id :  180.0.0.10
-------------------------------------------------------------------------------
Nbr Router Id  : 180.0.0.10             Area Id        : 0.0.0.1
Local Interface: 180.1.7.12             Metric         : 300
State          : Point To Point         Admin State    : Up
Hello Intrvl   : 10 sec                 Rtr Dead Intrvl: 60 sec
Tot Rx Packets : 43022                  Tot Tx Packets : 42964
Rx Hellos      : 24834                  Tx Hellos      : 24853
Rx DBDs        : 3                      Tx DBDs        : 2
Rx LSRs        : 0                      Tx LSRs        : 0
Rx LSUs        : 15966                  Tx LSUs        : 16352
Rx LS Acks     : 2219                   Tx LS Acks     : 1757
Retransmits    : 0                      Discards       : 0
Bad Networks   : 0                      Bad Versions   : 0
Bad Areas      : 0                      Bad Dest Addrs : 0
Bad Auth Types : 0                      Auth Failures  : 0
Bad Neighbors  : 0                      Bad Pkt Types  : 0
Bad Lengths    : 0                      Bad Hello Int. : 0
Bad Dead Int.  : 0                      Bad Options    : 0
Retrans Intrvl : 5 sec                  Transit Delay  : 1 sec
Last Event     : 11/07/2006 17:11:56    Authentication : None
-------------------------------------------------------------------------------
Neighbor Router Id :  180.0.0.10
-------------------------------------------------------------------------------
Nbr Router Id  : 180.0.0.10             Area Id        : 0.0.0.2
Local Interface: 180.2.7.12             Metric         : 300
State          : Point To Point         Admin State    : Up
Hello Intrvl   : 10 sec                 Rtr Dead Intrvl: 60 sec
Tot Rx Packets : 43073                  Tot Tx Packets : 43034
Rx Hellos      : 24851                  Tx Hellos      : 24844
Rx DBDs        : 3                      Tx DBDs        : 2
Rx LSRs        : 1                      Tx LSRs        : 1
Rx LSUs        : 18071                  Tx LSUs        : 17853
Rx LS Acks     : 147                    Tx LS Acks     : 334
Retransmits    : 0                      Discards       : 0
Bad Networks   : 0                      Bad Versions   : 0
Bad Areas      : 0                      Bad Dest Addrs : 0
Bad Auth Types : 0                      Auth Failures  : 0
Bad Neighbors  : 0                      Bad Pkt Types  : 0
Bad Lengths    : 0                      Bad Hello Int. : 0
Bad Dead Int.  : 0                      Bad Options    : 0
Retrans Intrvl : 5 sec                  Transit Delay  : 1 sec
Last Event     : 11/07/2006 17:12:00    Authentication : MD5
===============================================================================
A:ALA-A# 
Table 53:  Output Fields: OSPF Virtual-link  

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 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 LSA to an OSPF neighbor

Transit Delay

Displays the time, in seconds, that it takes to transmit an LSA on the interface or virtual link

Last Event

Displays the date and time when an event was last associated with this OSPF interface

virtual-neighbor

Syntax 
virtual-neighbor [remote router-id] [detail]
Context 
show>router>ospf
show>router>ospf3
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command displays virtual neighbor information.

Parameters 
remote router-id
Specifies the router ID. This reduces the amount of output displayed.
detail—
Displays detailed information about the virtual neighbor. This option produces a large amount of data. Nokia recommends using the detail keyword only when requesting information for a specific neighbor.
Output 

The following output is an example of OSPF virtual neighbor information, and Table 54 describes the output fields.

Sample Output
A:ALA-A#  show router ospf  virtual-neighbor
===============================================================================
OSPF Virtual Neighbors
===============================================================================
Nbr IP Addr     Nbr Rtr Id      Nbr State Transit Area    RetxQ Len  Dead Time
-------------------------------------------------------------------------------
180.1.6.10      180.0.0.10      Full      0.0.0.1         0          58
180.2.9.10      180.0.0.10      Full      0.0.0.2         0          52
-------------------------------------------------------------------------------
No. of Neighbors: 2
===============================================================================
A:ALA-A# 
 
 
A:ALA-A# show router ospf virtual-neighbor detail
===============================================================================
OSPF Virtual Neighbors
===============================================================================
Virtual Neighbor Router Id : 180.0.0.10
-------------------------------------------------------------------------------
Neighbor IP Addr : 180.1.6.10           Neighbor Rtr Id  : 180.0.0.10
Neighbor State   : Full                 Transit Area     : 0.0.0.1
Retrans Q Length : 0                    Options          : -E--
Events           : 4                    Last Event Time  : 11/07/2006 17:11:56
Up Time          : 2d 17:47:17          Time Before Dead : 57 sec
Bad Nbr States   : 1                    LSA Inst fails   : 0
Bad Seq Nums     : 0                    Bad MTUs         : 0
Bad Packets      : 0                    LSA not in LSDB  : 0
Option Mismatches: 0                    Nbr Duplicates   : 0
-------------------------------------------------------------------------------
Virtual Neighbor Router Id : 180.0.0.10
-------------------------------------------------------------------------------
Neighbor IP Addr : 180.2.9.10           Neighbor Rtr Id  : 180.0.0.10
Neighbor State   : Full                 Transit Area     : 0.0.0.2
Retrans Q Length : 0                    Options          : -E--
Events           : 4                    Last Event Time  : 11/07/2006 17:11:59
Up Time          : 2d 17:47:14          Time Before Dead : 59 sec
Bad Nbr States   : 1                    LSA Inst fails   : 0
Bad Seq Nums     : 0                    Bad MTUs         : 0
Bad Packets      : 0                    LSA not in LSDB  : 0
Option Mismatches: 0                    Nbr Duplicates   : 0
===============================================================================
A:ALA-A# 
 
Table 54:  Output Fields: OSPF Virtual-neighbor  

Label

Description

Nbr IP Addr

Displays the IP address this neighbor is using in its IP source address. On links with no addresses, this will not be 0.0.0.0, but the address of another of the neighbor's interfaces.

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 because of 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

4.12.2.3. Clear Commands

ospf

Syntax 
ospf
Context 
clear>router
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command clears and resets OSPF protocol entities.

Parameters 
ospf-instance—
Clears the specified OSPF instance.
Values—
0 to 31

 

database

Syntax 
database [purge]
Context 
clear>router>ospf
clear>router>ospf3
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

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.

Parameters 
purge—
Keyword that clears all self-originated LSAs and reoriginates all self-originated LSAs

export

Syntax 
export
Context 
clear>router>ospf
clear>router>ospf3
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command reevaluates all effective export policies.

neighbor

Syntax 
neighbor [ip-int-name | ip-address]
Context 
clear>router>ospf
clear>router>ospf3
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command marks the neighbor as dead and reinitiates the affected adjacencies.

Parameters 
ip-int-name—
Clears all neighbors for the interface specified by this interface name.
ip-address—
Clears all neighbors for the interface specified by this IP address.

statistics

Syntax 
statistics
Context 
clear>router>ospf
clear>router>ospf3
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command clears all neighbor, router, interface, SPF, and global statistics for this OSPF instance.

4.12.2.4. OSPF Debug Commands

ospf

Syntax 
ospf
Context 
debug>router
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command indicates the OSPF instance for debugging purposes.

Parameters 
ospf-instance—
Specifies the OSPF instance.
Values—
0 to 31

 

area

Syntax 
area [area-id]
no area
Context 
debug>router>ospf
debug>router>ospf3
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command enables debugging for an OSPF area.

Parameters 
area-id—
Specifies the OSPF area ID, expressed in dotted decimal notation or as a 32-bit decimal integer.
Values—
0 to 4294967295

 

area-range

Syntax 
area-range [ip-address]
no area-range
Context 
debug>router>ospf
debug>router>ospf3
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command enables debugging for an OSPF area range.

Parameters 
ip-address—
Specifies the IP address for the range used by the ABR to advertise the area into another area.

cspf

Syntax 
cspf [ip-address]
no cspf
Context 
debug>router>ospf
debug>router>ospf3
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command enables debugging for an OSPF constraint-based shortest path first (CSPF).

Parameters 
ip-address—
Specifies the IP address for the range used for CSPF.

graceful-restart

Syntax 
[no] graceful-restart
Context 
debug>router>ospf
ebug>router>ospf3
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command enables debugging for OSPF and OSPF3 graceful restart.

interface

Syntax 
interface [ip-int-name | ip-address]
no interface
Context 
debug>router>ospf
debug>router>ospf3
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command enables debugging for an OSPF and OSPF3 interface.

Parameters 
ip-int-name—
Specifies the IP interface name. An interface name cannot be in the form of an IP address. Interface names can be any string up to 32 characters composed of printable, 7-bit ASCII characters. If the string contains special characters (#, $, spaces, etc.), the entire string must be enclosed within double quotes.
ip-address—
Specifies the interface IP address.

leak

Syntax 
leak [ip-address]
no leak
Context 
debug>router>ospf
debug>router>ospf3
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command enables debugging for OSPF leaks.

Parameters 
ip-address—
Specifies the IP address to debug OSPF leaks.

lsdb

Syntax 
lsdb [type] [ls-id] [adv-rtr-id] [area area-id]
no lsdb
Context 
debug>router>ospf
debug>router>ospf3
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command enables debugging for an OSPF link-state database (LSDB).

Parameters 
type—
Specifies the OSPF link-state database (LSDB) type.
Values—
router, network, summary, asbr, extern, nssa, area-opaque, as-opaque, link-opaque

 

ls-id—
Specifies an LSA type specific field containing either a router ID or an IP address. It identifies the piece of the routing domain being described by the advertisement.
adv-rtr-id—
Specifies the router identifier of the router advertising the LSA.
area-id—
Specifies a 32-bit integer uniquely identifying an area.
Values—
0 to 4294967295

 

misc

Syntax 
[no] misc
Context 
debug>router>ospf
debug>router>ospf3
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command enables debugging for miscellaneous OSPF events.

neighbor

Syntax 
neighbor [ip-int-name | ip-address]
no neighbor
Context 
debug>router>ospf
debug>router>ospf3
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command enables debugging for an OSPF or OSPF3 neighbor.

Parameters 
ip-int-name—
Specifies the neighbor interface name.
ip-address—
Specifies neighbor information for the neighbor identified by the specified router ID.

nssa-range

Syntax 
nssa-range [ip-address]
no nssa-range
Context 
debug>router>ospf
debug>router>ospf3
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command enables debugging for an NSSA range.

Parameters 
ip-address—
Specifies the IP address range to debug.

packet

Syntax 
packet [packet-type] [interface-name] [ingress | egress] [detail]
no packet
Context 
debug>router>ospf
debug>router>ospf3
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command enables debugging for OSPF packets.

Parameters 
detail—
Displays detailed packet information.
egress—
Keyword that specifies an egress packet.
ingress—
Keyword that specifies an ingress packet.
interface-name—
Specifies the interface name to debug.
Values—

ipv6-address:

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

 

packet-type—
Specifies the OSPF packet type to debug.
Values—
hello, dbdescr, lsrequest, lsupdate, lsack

 

rtm

Syntax 
rtm [ip-address]
no rtm
Context 
debug>router>ospf
debug>router>ospf3
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command enables debugging for OSPF RTM.

Parameters 
ip-address—
Specifies the IP address to debug.
Values—
ipv4-address: a.b.c.d

 

spf

Syntax 
spf [type] [dest-addr]
no spf
Context 
debug>router>ospf
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command enables debugging for OSPF SPF. Information regarding overall SPF start and stop times is displayed. To display detailed information regarding the SPF calculation of a specific route, the route must be specified as an optional argument.

Parameters 
type—
Specifies the area to debug.
Values—
intra-area, inter-area, external

 

dest-addr—
Specifies the destination IP address to debug.

virtual-neighbor

Syntax 
virtual-neighbor [ip-address]
no virtual-neighbor
Context 
debug>router>ospf
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command enables debugging for an OSPF virtual neighbor.

Parameters 
ip-address—
Specifies the IP address of the virtual neighbor.