OSPFv3 Area Commands
The area commands for OSPFv3 are covered in this section
protocols ospfv3 area <area-id>
Defines an OSPFv3 area within an Autonomous System (AS).
- process-id
- The OSPFv3 process ID. Enter alphanumeric characters.
- area-id
- The ID of an OSPFv3 area being configured, expressed as an IP address or a decimal value. The decimal value ranges from 0 to 4294967.
Configuration mode
protocols {
ospfv3 {
process process-id {
area area-id
}
}
}
Use this command to define an area within an OSPFv3 AS.
Use the set form of this command to create an OSPFv3 area or define the parameters for a specified OSPFv3 area.
Use the delete form of this command to remove an OSPFv3 area.
Use the show form of this command to display the OSPFv3 area configuration.
protocols ospfv3 area <area-id> nssa
Designates an OSPFv3 area as a not-so-stubby area (NSSA).
- process-id
- The OSPFv3 process ID. Enter alphanumeric characters.
- area-id
- The ID of an OSPFv3 area being configured, expressed as an IP address or a decimal value. The decimal value ranges from 0 to 4294967.
Configuration mode
protocols {
ospfv3 {
process process-id {
area area-id {
nssa
}
}
}
}
Use this command to designate an OSPFv3 area as an NSSA. There are no external routes in an OSPFv3 stub area. Therefore you cannot redistribute from another protocol into a stub area. An NSSA allows external routes to be flooded within the area. These routes are then leaked into other areas. However, the external routes from other areas still do not enter the NSSA. You can configure an area to be a stub area or an NSSA, but not both.
This command simplifies administration when connecting a central site that is using OSPFv3 to a remote site that is using a different routing protocol. You can extend OSPFv3 to cover the remote connection by defining the area between the central router and the remote router as an NSSA.
Type 5 AS-external LSAs are not allowed in stubby areas. Type 7 LSAs may be translated into Type 5 LSAs by the NSSA Area Border Router (ABR) and may traverse the NSSA in this manner. Inter-area routes are not allowed.
Use the set form of this command to designate an OSPFv3 area as an NSSA.
Use the delete form of this command to remove an NSSA designation.
Use the show form of this command to display an NSSA configuration.
protocols ospfv3 area <area-id> nssa default-cost
Sets the administrative cost, or metric, to be applied to the OSPFv3 not-so-stubby-area (NSSA).
- process-id
- The OSPFv3 process ID. Enter alphanumeric characters.
- area-id
- The ID of an OSPFv3 area being configured, expressed as an IP address or a decimal value. The decimal value ranges from 0 to 4294967.
- cost
- The administrative cost, or metric, that is applied to an NSSA. The range is 0 to 6777215. The default is 1.
Configuration mode
protocols {
ospfv3 {
process process-id {
area area-id {
nssa {
default-cost cost
}
}
}
}
}
Use this command to set the administrative cost or metric to be applied to the OSPFv3 NSSA.
Use the set form of this command to set the administrative cost or metric to be applied to the OSPFv3 NSSA.
Use the delete form of this command to remove the area type configuration.
Use the show form of this command to display the area type configuration.
protocols ospfv3 area <area-id> nssa default-information-originate
Sets a default external route into an OSPFv3 routing area.
- process-id
- The OSPFv3 process ID. Enter alphanumeric characters.
- area-id
- The ID of an OSPFv3 area being configured, expressed as an IP address or a decimal value. The decimal value ranges from 0 to 4294967.
Configuration mode
protocols {
ospfv3 {
process process-id {
area area-id {
nssa {
default-information-originate
}
}
}
}
}
Use this command to set a default external route into an OSPFv3 routing area.
Use the set form of this command to set a default external route into an OSPFv3 routing area.
Use the delete form of this command to remove the area type configuration.
Use the show form of this command to display the area type configuration.
protocols ospfv3 area <area-id> nssa default-information-originate metric
Sets an OSPFv3 default metric into an OSPFv3 routing area.
- process-id
- The OSPFv3 process ID. Enter alphanumeric characters.
- area-id
- The ID of an OSPFv3 area being configured, expressed as an IP address or a decimal value. The decimal value ranges from 0 to 4294967.
Configuration mode
protocols {
ospfv3 {
process process-id {
area area-id {
nssa {
default-information-originate metric
}
}
}
}
}
Use this command to set an OSPFv3 default metric into an OSPFv3 routing area.
Use the set form of this command to set an OSPFv3 default metric into an OSPFv3 routing area.
Use the delete form of this command to remove the area type configuration.
Use the show form of this command to display the area type configuration.
protocols ospfv3 area <area-id> nssa default-information-originate metric-type
Sets an OSPFv3 metric type for default routes.
- process-id
- The OSPFv3 process ID. Enter alphanumeric characters.
- area-id
- The ID of an OSPFv3 area being configured, expressed as an IP address or a decimal value. The decimal value ranges from 0 to 4294967.
Configuration mode
protocols {
ospfv3 {
process process-id {
area area-id {
nssa {
default-information-originate metric-type
}
}
}
}
}
Use this command to set an OSPFv3 metric type for default routes.
Use the set form of this command to set OSPFv3 metric type for default routes.
Use the delete form of this command to remove the area type configuration.
Use the show form of this command to display the area type configuration.
protocols ospfv3 area <area-id> nssa no-redistribution
Configures a not-so-stubby-area (NSSA) router to disallow redistributed link-state advertisement (LSA) from entering an NSSA.
- process-id
- The OSPFv3 process ID. Enter alphanumeric characters.
- area-id
- The ID of an OSPFv3 area being configured, expressed as an IP address or a decimal value. The decimal value ranges from 0 to 4294967.
Configuration mode
protocols {
ospfv3 {
process process-id {
area area-id {
nssa {
no-redistribution
}
}
}
}
}
Use this command to configure an NSSA router to disallow redistributed LSAs from entering the NSSA. Use this command when the router is both an NSSA Autonomous System Boundary Router (ASBR) and an NSSA Area Border Router (ABR).
Use the set form of this command to configure an NSSA router to disallow redistributed LSAs from entering the NSSA.
Use the delete form of this command to remove the area type configuration.
Use the show form of this command to display the area type configuration.
protocols ospfv3 area <area-id> nssa no-summary
Configures OSPFv3 so that inter-area routes are not injected into a not-so-stubby-area (NSSA).
- process-id
- The OSPFv3 process ID. Enter alphanumeric characters.
- area-id
- The ID of an OSPFv3 area being configured, expressed as an IP address or a decimal value. The decimal value ranges from 0 to 4294967.
Configuration mode
protocols {
ospfv3 {
process process-id {
area area-id {
nssa {
no-summary
}
}
}
}
}
Use this command to configure OSPFv3 so that inter-area routes are not injected into an NSSA. This command prevents route summaries from being generated into the area.
Use the set form of this command to configure OSPFv3 so that inter-area routes are not injected into an NSSA.
Use the delete form of this command to remove the area type configuration.
Use the show form of this command to display the area type configuration.
protocols ospfv3 area <area-id> nssa stability-interval
Configures a stability timer for a not-so-stubby-area (NSSA).
- process-id
- The OSPFv3 process ID. Enter alphanumeric characters.
- area-id
- The ID of an OSPFv3 area being configured, expressed as an IP address or a decimal value. The decimal value ranges from 0 to 4294967.
- interval
- Stability interval in seconds. The range is from 0 to 2147483647.
Configuration mode
protocols {
ospfv3 {
process process-id {
area area-id {
nssa {
stability-interval interval
}
}
}
}
}
Use this command to configure a stability timer for an NSSA. If an elected translator determines its services are no longer required, it continues to perform its duties for this time interval. This minimizes excess flushing of translated Type-7 LSAs and provides a more stable translator transition.
Use the set form of this command to configure a stability timer for an NSSA.
Use the delete form of this command to remove the area type configuration.
Use the show form of this command to display the area type configuration.
protocols ospfv3 area <area-id> nssa translator-role
Specifies the translator role of the not-so-stubby-area (NSSA) Area Border Router (ABR) router in a NSSA.
- process-id
- The OSPFv3 process ID. Enter alphanumeric characters.
- area-id
- The ID of an OSPFv3 area being configured, expressed as an IP address or a decimal value. The decimal value ranges from 0 to 4294967.
- always
- The NSSA-ABR translator role of always. This role allows the NSSA-ABR router to translate Type 7 link-state advertisements (LSAs) into Type 5 LSAs.
- candidate
- The NSSA-ABR translator role of candidate. This role allows the NSSA-ABR router to translate Type 7 LSAs into Type 5 LSAs, if a router is elected.
Configuration mode
protocols {
ospfv3 {
process process-id {
area area-id {
nssa {
translator-role always
translator-role candidate
}
}
}
}
}
Use this command to specify the translator role of an NSSA-ABR router in an NSSA.
Use the set form of this command to specify the translator role of an NSSA-ABR router in an NSSA.
Use the delete form of this command to remove the area type configuration.
Use the show form of this command to display the area type configuration.
protocols ospfv3 area <area-id> range
Configures an OSPFv3 address range.
By default, routes are advertised and routes are not substituted.
- process-id
- The OSPFv3 process ID. Enter alphanumeric characters.
- area-id
- The ID of an OSPFv3 area being configured, expressed as an IP address or a decimal value. The decimal value ranges from 0 to 4294967.
- ipv6net
- The range to be summarized, expressed as an IPv6 network in the format ipv6-address/prefix.
- advertise
- Advertise this range.
- not-advertise
- Do not advertise this range. Directs the router not to advertise routes in this range.
Configuration mode
protocols {
ospfv3 {
process process-id {
area area-id {
range {
ipv6net {
advertise
not-advertise
}
}
}
}
}
}
Use this command to configure an OSPFv3 address range. This command summarizes intra-area routes for an Area Border Router (ABR). Use this command only with an ABR.
The range parameter cannot co-exist with NSSA stub or virtual-link configuration if configured in the same area. This means the range parameter can be used only if the area type is normal (or unspecified, because normal is the default type), not stub or NSSA. In addition, the range parameter cannot be used within an area that is configured as a virtual link.
The single summary route is then advertised to other areas by the ABRs. Routing information is condensed at area boundaries and outside the area. If the network numbers in an area are assigned in a way such that they are contiguous, the ABRs can be configured to advertise a summary route that covers all the individual networks within the area that fall into the specified range.
Use the set form of this command to direct the router to summarize routes matching a prefix range.
Use the delete form of this command to remove the assigned area range.
Use the show form of this command to display area-range configuration.
protocols ospfv3 area <area-id> stub
Designates an OSPFv3 area as a stub area.
By default, summary routes are generated into the area.
- process-id
- The OSPFv3 process ID. Enter alphanumeric characters.
- area-id
- The ID of an OSPFv3 area being configured, expressed as an IP address or a decimal value.
- cost
- The administrative cost, or metric, that is applied to the default route in this area. The range is 0 to 6777215.
- no-summary
- Prevents route summaries from being generated into the area.
Configuration mode
protocols {
ospfv3 {
process process-id {
area area-id {
stub {
default-cost cost
no-summary
}
}
}
}
}
Use this command to designate an OSPFv3 area as a stub area. No Type 5 Autonomous System (AS)-external link-state advertisement (LSAs) are allowed into a stub area.
Use the set form of this command to set the OSPFv3 area type to a stub area.
Use the delete form of this command to remove area type configuration.
Use the show form of this command to display an area type configuration.
protocols ospfv3 area <area-id> virtual-link <router-id>
Configures a link between two backbone areas that are physically separated through other non-backbone areas.
- process-id
- The OSPFv3 process ID. Enter alphanumeric characters.
- area-id
- The ID of an OSPFv3 area being configured, expressed as an IP address or a decimal value.
- router-id
- The router ID for an OSPFv3 process. The format is an IPv4 address.
Configuration mode
protocols {
ospfv3 {
process process-id {
area area-id {
virtual-link router-id {
}
}
}
}
}
Use this command to configure a link between two backbone areas that are physically separated through other non-backbone areas.
In OSPFv3, all non-backbone areas must be connected to a backbone area. If the connection to the backbone is lost, the virtual link repairs the connection.You can configure virtual links between any two backbone routers that have an interface to a common non-backbone area. The protocol treats these two routers joined by a virtual link as if they were connected by an unnumbered point-to-point network.
Use the set form of this command to configure a link between two backbone areas that are physically separated through other non-backbone areas.
Use the delete form of this command to remove the virtual link.
Use the show form of this command to display virtual-link configuration.
protocols ospfv3 area <area-id> virtual-link <router-id> dead-interval <interval>
Specifies the dead interval for a virtual link.
The dead interval is 40 seconds.
- process-id
- The OSPFv3 process ID. Enter alphanumeric characters.
- area-id
- The ID of an OSPFv3 area being configured, expressed as an IP address or a decimal value.
- router-id
- The router ID for an OSPFv3 process. The format is an IPv4 address.
- interval
- An interval in seconds during which the virtual link should wait to detect Hello packets from neighboring routers before declaring the neighbor down. The range is from 1 to 65535. The default is 40 seconds.
Configuration mode
protocols {
ospfv3 {
process process-id {
area area-id {
virtual-link router-id {
dead-interval interval
}
}
}
}
}
Use this command to specify the interval during which a virtual link should expect a hello packet from its neighbor.
If the dead interval passes without the interface receiving a hello packet from the neighbor, the status of the neighbor is changed to out-of-service, and all associated state is cleared.
The dead interval must be the same for all routers that are to establish two-way communication within a network. If two routers do not agree on these parameters, they do not establish adjacencies and disregard communication from each other.
Use the set form of this command to specify the dead interval for a virtual link.
Use the delete form of this command to restore a deal interval of 40 seconds.
Use the show form of this command to display dead-interval configuration.
protocols ospfv3 area <area-id> virtual-link <router-id> hello-interval <interval>
Sets the interval between OSPFv3 Hello packets on a virtual link.
Hello packets are sent every 10 seconds.
- process-id
- The OSPFv3 process ID. Enter alphanumeric characters.
- area-id
- The ID of an OSPFv3 area being configured, expressed as an IP address or a decimal value.
- router-id
- The router ID for an OSPFv3 process. The format is an IPv4 address.
- interval
- The interval, in seconds, between Hello packets. This value must be the same for all nodes on the network. The range is 1 to 65535. The default is 10.
Configuration mode
protocols {
ospfv3 {
process process-id {
area area-id {
virtual-link router-id {
hello-interval interval
}
}
}
}
}
Use this command to set the interval at which OSPFv3 Hello packets are sent for a virtual link.
A hello packet is an OSPFv3 packet used to detect and maintain relationships with neighbors on the same network (directly connected routers). The greater the interval between Hello packets, the less router traffic occurs, but the longer it takes for topological changes to be detected.
The hello interval must be the same for all routers that are to establish two-way communication within a network. If two routers do not agree on these parameters, they do not establish adjacencies and disregard communication from each other.
Use the set form of this command to set the hello interval.
Use the delete form of this command to restore a hello interval of 10 seconds.
Use the show form of this command to display hello-interval configuration.
protocols ospfv3 area <area-id> virtual-link <router-id> retransmit-interval <interval>
Specifies the retransmit interval for a virtual link.
Unacknowledged LSAs are retransmitted at five-second intervals.
- process-id
- The OSPFv3 process ID. Enter alphanumeric characters.
- area-id
- The ID of an OSPFv3 area being configured, expressed as an IP address or a decimal value.
- router-id
- The router ID for an OSPFv3 process. The format is an IPv4 address.
- interval
- The interval, in seconds, between retransmitting unacknowledged link-state advertisements (LSAs). This interval must be the same for all nodes on the network. The range is 1 to 65535. The default interval is 5.
Configuration mode
protocols {
ospfv3 {
process process-id {
area area-id {
virtual-link router-id {
retransmit-interval interval
}
}
}
}
}
Use this command to set the retransmit interval for a virtual link. The interval is the number of seconds before retransmitting an unacknowledged LSA.
When an OSPFv3 router sends an LSA to a neighbor, the neighbor acknowledges receipt with a link-state acknowledgment (LS Ack) packet. If the local router fails to receive the expected LS Ack packet, it retransmits the LSA at the interval specified by this command. This interval must be the same for all nodes on the network.
Use the set form of this command to set a retransmit interval for a virtual link.
Use the delete form of this command to restore a retransmit interval of five seconds for unacknowledged LSAs.
Use the show form of this command to display retransmit-interval configuration.
protocols ospfv3 area <area-id> virtual-link <router-id> transmit-delay <delay>
Specifies the transmit delay for a virtual link.
Link-state transmits occur at one-second intervals.
- process-id
- The OSPFv3 process ID. Enter alphanumeric characters.
- area-id
- The ID of an OSPFv3 area being configured, expressed as an IP address or a decimal value.
- router-id
- The router ID for an OSPFv3 process. The format is an IPv4 address.
- delay
- The delay, in seconds, between link state transmits. This value must be the same for all nodes on the network. The range is 1 to 65535. The default is 1.
Configuration mode
protocols {
ospfv3 {
process process-id {
area area-id {
virtual-link router-id {
transmit-delay delay
}
}
}
}
}
Use this command to set the transmit delay for a virtual link in an area. This delay is the estimated time required to send a link-state update (LSU) packet.
This timer is used to accommodate transmission and propagation delays on the network, particularly on low-speed networks in which delays may be significant. The router increments the age of link-state advertisements (LSAs) in LSU packets to account for these delays.
The delay includes both the transmission time and the propagation delay across the network. The transmit delay is added to the age of the LSA packet before the LSA is transmitted The LSA age is used to help the network sequence LSAs, so that it can determine which of competing LSAs is the more recent and trustworthy.
LSAs are numbered in sequence, but the sequence numbers are finite, and so cannot be used as the sole determinant of the most recent LSA. Instead, OSPFv3 also tracks the age of LSAs. Each time the LSA is forwarded to another router, its current age is incremented by the transmit delay. The age of the packet, together with its sequence number, helps the receiving router to determine which version of a received LSA is more recent, and therefore to be used.
Use the set form of this command to set the transmit delay. Set the transmit-delay to be greater than zero. Also, take into account the transmission and propagation delays for the interface.
Use the delete form of this command to restore an interval of one second for link-state transmits.
Use the show form of this command to display the transmit-delay configuration.