Sun Ethernet Fabric Operating System CLI Enterprise Reference Manual
|
  
|
OSPFv3 |
OSPFv3 is the modified form of OSPF to support version 6 of IP. The fundamental mechanisms of OSPF remain unchanged, such as: flooding, DR election, area support, SPF calculations, and so on. However, some changes have been necessary due to either changes in protocol semantics from IPv4 to IPv6, or simply to handle the increased address size of IPv6.
8.1 OSPFv3 Commands
The list of CLI commands for the configuration of OSPFv3 are as follows:
8.1.1 ipv6 router ospf
Enables the OSPFv3 routing protocol. The no form of the command disables the OSPFv3 routing protocol.
Mode
|
Global Configuration
|
Defaults
|
Disabled.
|
Example
|
SEFOS(config)# ipv6 router ospf
|
Notes
|
The no form of the command disables all the interfaces and triggers flushing of self-originated LSAs and deletes the router’s link state database.
|
8.1.2 router-id - IPv4-address
Sets a fixed router identifier.
Syntax Description
|
IPv4-address - A 32-bit integer that uniquely identifies the router in the autonomous system.
|
Mode
|
Router Configuration
|
Defaults
|
IPv4-address - 0.0.0.0
|
Example
|
SEFOS(config-router)# router-id 11.0.0.1
|
8.1.3 area - stub | nssa
Defines an area as a stub area or an NSSA.
area area-id {{stub | nssa} [no-summary]}
|
Syntax Description
|
area-id - A 32-bit integer.
stub - Stub area.
nssa - NSSA.
no-summary - Allows an area to be a stubby or not-so-stubby but does not allow it to have summary routes injected into it.
|
Mode
|
Router Configuration
|
Example
|
SEFOS(config-router)# area 1.1.1.1 stub no-summary
|
Notes
|
- In stub area, the generation of summary LSA is optional.
- If no-summary option is specified in the command, then the router neither originates nor propagates summary LSAs into the stubby area or NSSA. It relies entirely on its default route.
- If the no-summary option is not specified, the router summarizes and propagates summary LSAs.
- The no-summary option can be specified only in the area border Routers and by default, it is set to send summary.
|
8.1.4 area - stability-interval
Configures the stability interval (in seconds) for the NSSA. The no form of the command sets the default value of the stability interval for the NSSA.
area area-id stability-interval seconds_1-65535
|
no area area-id stability-interval
|
Syntax Description
|
area-id - A 32 bit integer.
stability-interval - The number of seconds after which an elected translator determines that its services are no longer required, and that it must continue to perform its translation duties.
|
Mode
|
Router Configuration
|
Defaults
|
stability-interval - 40
|
Example
|
SEFOS(config-router)# area 0.0.0.1 stability-interval 50
|
8.1.5 area - translation-role
Configures the translation role for NSSA. The no form of the command configures the default translation role for the NSSA.
area area-id translation-role {always | candidate}
|
no area area-id translation-role
|
Syntax Description
|
area-id - A 32-bit integer.
translation-role - An NSSA border router’s ability to perform NSSA Translation of Type-7 LSAs to Type-5 LSAs.
|
Mode
|
Router Configuration
|
Defaults
|
translation-role - candidate
|
Example
|
SEFOS(config-router)# area 0.0.0.1 translation-role always
|
Notes
|
When the translator role is set to always, the Type-7 LSAs are always translated into Type-5 LSAs.
When translator role is set to candidate, an NSSA border router participates in the translator election process.
|
8.1.6 timers spf
Configures the delay time and the hold time between two consecutive SPF calculations. The no form of the command sets the default values for spf-delay and spf-holdtime.
Note - Delay time is the time interval when OSPFv3 receives a topology change and when it starts a Shortest Path First (SPF) calculation.
|
timers spf spf-delay spf-holdtime
|
Syntax Description
|
spf-delay - The interval by which SPF calculation is delayed after a topology change reception.
spf-holdtime - The delay between two consecutive SPF calculations.
|
Mode
|
Router Configuration
|
Defaults
|
spf-delay - 5
spf-holdtime - 10
|
Example
|
SEFOS(config-router)# timers spf 10 20
|
8.1.7 abr-type
Sets the ABR (Area Border Router) type.
abr-type {standard | cisco | ibm}
|
Syntax Description
|
standard - Standard ABR type.
cisco - CISCO ABR type.
ibm - IBM ABR type.
|
Mode
|
Router Configuration
|
Defaults
|
standard
|
Example
|
SEFOS(config-router)# abr-type cisco
|
8.1.8 area - default-metric value
Sets the default metric value for an area of type NSS/stub only.
area area-id default-metric metric
|
Syntax Description
|
area-id - A 32-bit integer.
default-metric - Cost for the default summary route in a stub/NSS area.
|
Mode
|
Router Configuration
|
Defaults
|
default-metric - 1
|
Example
|
SEFOS(config-router)# area 1.1.1.1 default-metric 20
|
Notes
|
Default metric can be defined only for a valid area.
|
8.1.9 area - default-metric type
Sets the default metric-type for an area type of NSS or stub only.
area area-id default-metric type metric-type_1-3
|
Syntax Description
|
area-id - A 32 bit integer.
default-metric type - Type of metric.
|
Mode
|
Router Configuration
|
Defaults
|
default-metric type - 1
|
Example
|
SEFOS(config-router)# area 1.1.1.1 default-metric type 2
|
Notes
|
Default metric can be defined only for a valid area.
|
8.1.10 area - virtual-link
Sets the virtual link between areas.
In OSPFv3, all areas must be connected to a backbone area. If there is a break in backbone continuity, or the backbone is purposefully partitioned, a virtual link can be established. The two endpoints of a virtual link are ABRs. The virtual link must be configured in both routers. The configuration information in each router consists of the other virtual endpoint (the other ABR) and the non-backbone area that the two routers have in common (called the transit area).
If 20.0.0.3 is the Router ID of the Neighbor and 100 is the Interface Index assigned to the OSPFv3 virtual interface, then this interface index is advertised in Hello packet sent over the virtual link and in the router’s router-LSAs.
area area-id virtual-link router-id if-index [hello-interval seconds] [retransmit-interval seconds] [transmit-delay seconds] [dead-interval seconds]
|
Syntax Description
|
area-id - A 32-bit integer.
router-id - The Router ID of the virtual neighbor.
if-index - Interface Index assigned to the OSPFv3 virtual interface.
hello-interval - The interval between hello packets on the OSPFv3 virtual link interface. This value ranges between 1 and 65535 seconds.
retransmit-interval - The time between link-state advertisement (LSA) retransmissions for adjacencies belonging to the OSPFv3 virtual link interface. This value ranges between 1 and 1800 seconds.
transmit-delay - The estimated time it takes to transmit a link state update packet over this interface. This value ranges between 1 and 1800 seconds.
dead-interval - The interval at which hello packets must not be seen before its neighbors declare the router down. This value ranges between 1 and 65535 seconds.
|
Mode
|
Router Configuration
|
Defaults
|
hello-interval - 10
retransmit-interval - 20
transmit-delay - 1
dead-interval - 60
|
Example
|
SEFOS(config-router)# area 1.1.1.1 virtual-link 20.0.0.3 1 hello-interval 50 retransmit-interval 6 transmit-delay 6 dead-interval 100
|
Notes
|
- Virtual links cannot be configured through stub areas.
- hello-interval and dead-interval values must be the same for all routers on a specific network.
|
8.1.11 ASBR Router
Configures the router as an ASBR. The no form of the command disables the ASBR status of the router.
Mode
|
Router Configuration
|
Example
|
SEFOS(config-router)# ASBR Router
|
Notes
|
Only when ASBR status is configured to enable, routes from other protocols are redistributed into OSPFv3 domain.
|
8.1.12 area - range
Creates the internal aggregation address range. The internal address range is of two types:
- Type-3 aggregation
- Type 7 translation aggregation
area area-id range IPv6-prefix prefix-length [{advertise | not-advertise}] {summary | Type7} [tag tag-value]
|
Syntax Description
|
area-id - A 32-bit integer.
range - Internal aggregation address range.
ipv6-prefix - The IPv6 address prefix of the range.
prefix-length - The prefix length of the address range.
advertise - Flushes out all the routes (LSAs) falling in the range and generates aggregated LSA for the range.
not-advertise - Suppresses routes that match the prefix/prefix-length pair.
summary - Summary LSA.
Type7 - Type-7 LSA.
tag - Sets the tag value for the aggregated route.
|
Mode
|
Router Configuration
|
Defaults
|
tag - 0
|
Example
|
SEFOS(config-router)# area 0.0.0.0 range 3ffe:5000:481d::5 80 advertise Type7 tag 20
|
Notes
|
- When parameter summary is specified, the configured range is used for aggregating Type-3 LSA.
- When parameter Type7 is specified, the configured range is used for aggregating Type-7 LSAs.
- The optional parameter tag is used to set the tag value for the aggregated route. This is not used by the OSPFv3 protocol alone. It can be used to communicate information between AS boundary routers.
|
8.1.13 area - range - cost
Summarizes routes at an area boundary. This command operates similar to the command area - range.
area area-id range IPv6-prefix | prefix-length [{advertise | not-advertise}] [tag value] [cost cost]
|
Syntax Description
|
area-id - Area identifier. This is a 32-bit integer.
ipv6-prefix - The IPv6 address prefix of the range.
prefix-length - The prefix length of the address range.
advertise - Flushes out all the routes (LSAs) falling in the range and generates aggregated LSA for the range.
not-advertise - Suppresses routes that match the prefix/prefix-length pair.
tag - Sets the tag value for the aggregated route. The tag value is used to communicate information between AS boundary routers.
cost - Metric or cost for a summary route, which is used during OSPF SPF calculation to determine the shortest paths to the destination. This value ranges between 0 and 16777215.
|
Mode
|
Router Configuration
|
Defaults
|
tag - 0
|
Example
|
SEFOS(config-router)# area 0.0.0.0 range 3ffe:5000:481d::5 / 80 advertise tag 20
|
Notes
|
The optional parameter tag is used to set the tag value for the aggregated route. This is not used by the OSPFv3 protocol alone. It can be used to communicate information between AS boundary routers.
|
8.1.14 area - summary-prefix
Enables route aggregation or filtering while importing routes in the OSPFv3 domain. The command configures Type-5 and Type-7 address range specifying whether Type-5 or Type-7 LSAs are generated or not for the configured range for the particular area.
area area-id summary-prefix IPv6-prefix prefix-length [{allowAll | denyAll | advertise | not-advertise}] [Translation {enabled | disabled}]
|
Syntax Description
|
area-id - A 32-bit integer.
summary-prefix - Summary prefix.
ipv6-prefix - The IPv6 address prefix of the range.
prefix-length - The prefix length of the address range.
allowAll - When set to allowAll and the associated area-id is 0.0.0.0, aggregated Type-5 LSAs are generated for the specified range. In addition, aggregated Type-7 LSAs are generated in all the attached NSSAs for the specified range.
denyAll - When set to denyAll, neither Type-5 LSA nor Type-7 LSAs are generated for the specified range.
advertise - When the associated area-id is 0.0.0.0, aggregated Type-5 LSAs are generated. Otherwise, if the associated area-id is x.x.x.x (other than 0.0.0.0), aggregated Type-7 LSA is generated in NSSA area x.x.x.x.
not-advertise - When the associated area-id is 0.0.0.0, Type-5 LSA is not generated for the specified range, while all the NSSA LSAs within this range are flushed out and aggregated Type-7 LSA is generated in all attached NSSAs. If associated area-id is x.x.x.x (other than 0.0.0.0), Type-7 LSA is not generated in NSSA x.x.x.x for the specified range.
Translation - When set to enabled, the P-Bit is set in the generated Type-7 LSA. When set to disabled, the P-Bit is cleared in the generated Type-7 LSA for the range.
|
Mode
|
Router Configuration
|
Defaults
|
Translation - enabled
advertise
|
Example
|
SEFOS(config-router)# area 0.0.0.0 summary-prefix 3ffe:5000::481d::5 80 allowall Translation enabled
|
Notes
|
The value allowAll/denyall is not valid for area-id other than 0.0.0.0.
|
8.1.15 redistribute
Configures the protocol from which the routes have to be redistributed into OSPFv3. The no form of the command disables the redistribution of routes from the given protocol into OSPFv3.
redistribute {static | connected | ripng | bgp}
|
no redistribute {static | connected | ripng | bgp}
|
Syntax Description
|
static - Advertises routes, configured statically in the OSPFv3 routing process.
connected - Advertises directly connected networks routes in the OSPFv3 routing process.
ripng - Advertises routes that are learnt by the RIP process in the OSPFv3 routing process.
bgp - Advertises routes that are learnt by the BGP process in the OSPFv3 routing process.
|
Mode
|
Router Configuration
|
Example
|
SEFOS(config-router)# redistribute static
|
Notes
|
To configure Redistribution of routes from other protocols, the following steps must be performed.
1. Configure the router as ASBR.
2. Configure redistribution of routes from particular protocol.
The above order must be maintained and ASBR setting must be done before enabling redistribution.
|
8.1.16 passive-interface
Sets the global default passive interface status. All the interfaces created after executing this command become passive interfaces. The no form of the command resets the global default passive interface status. All the interfaces created after executing this command become non-passive interfaces.
Mode
|
Router Configuration
|
Defaults
|
Disabled.
|
Example
|
SEFOS(config-router)# passive-interface
|
8.1.17 host - metric | area-id
Configures a host entry with metric or area-id.
host IPv6-address {metric cost} [area-id {area-id}]
|
Syntax Description
|
IPv6-address - IPV6 address prefix.
metric - Metric to be advertised.
area-id - A 32-bit integer.
|
Mode
|
Router Configuration
|
Example
|
SEFOS(config-router)# host 3ffe:481d::5 metric 10 area-id 0.0.0.1
|
8.1.18 no area
Deletes an area and does any one of the following based on the optional parameter.
- Coverts stub or nss area to normal area
- Deletes virtual link
- Deletes stub cost
- Deletes area-range or summary-prefix values
no area area-id [{stub | nssa | virtual-link router-id | default-metric | {range {summary | Type7} | summary-prefix} IPv6-prefix prefix-length}]
|
Syntax Description
|
area-id - A 32-bit integer
stub - Stub area.
nssa - Not so stubby area.
virtual-link - The Router ID of the virtual neighbor.
default-metric - Cost for the default summary route in a stub/NSS area.
range - Type-3 or Type-7 or external LSA range.
IPv6-prefix - The IPv6 address prefix of the range.
prefix-length - The prefix length of the address range.
|
Mode
|
Router Configuration
|
Example
|
SEFOS(config-router)# no area 1.1.1.1
SEFOS(config-router)# no area 1.1.1.1 stub
SEFOS(config-router)# no area 1.1.1.1 default-metric
SEFOS(config-router)# no area 1.1.1.1 virtual-link 20.0.0.3
SEFOS(config-router)# no area 1.1.1.1 range summary 3ffe:3010:481d::5 80
|
Notes
|
Before deleting an area, it is necessary to delete all the interfaces attached to that area.
|
8.1.19 no area - range
Deletes an area-range. This command operates similar to that of the command no area.
no area area-id range IPV6-prefix | prefix-length [{advertise | not-advertise}] [cost cost]
|
Syntax Description
|
area-id - Area identifier. This is a 32-bit integer.
IPv6-prefix - The IPv6 address prefix of the range.
prefix-length - The prefix length of the address range.
advertise - Flushes out all the routes (LSAs) falling in the range and generates aggregated LSA for the range.
not-advertise - Suppresses routes that match the prefix/prefix-length pair.
cost - Metric or cost for a summary route, which is used during OSPF SPF calculation to determine the shortest paths to the destination. This value ranges between 0 and 16777215.
|
Mode
|
Router Configuration
|
Example
|
SEFOS(config-router)# no area 1.1.1.1 range 3ffe:3010:481d::5 / 80
|
Notes
|
All the interfaces attached to an area must be deleted before deleting an area.
|
8.1.20 nssaAsbrDfRtTrans
This command enables setting of P bit in the default Type-7 LSA generated by an NSSA internal ASBR. The no form of the command disables setting of P bit in the default Type-7 LSA generated by an NSSA internal ASBR.
Mode
|
Router Configuration
|
Defaults
|
Disabled
|
Example
|
SEFOS(config-router)# nssaAsbrDfRtTrans
|
8.1.21 redist-config
Configures the information to be applied to routes learnt from RTM. The no form of the command deletes the information applied to routes learnt from RTM.
redist-config IPv6-prefix prefix-length [metric-value metric] [metric-type {asExttype1 | asExttype2}] [tag tag-value]
|
no redist-config IPv6-prefix prefix-length
|
Syntax Description
|
IPv6-prefix - The IPv6 address prefix.
prefix-length - The prefix length of the address.
metric-value - The metric value applied to the route before it is advertised into the OSPFv3 Domain.
metric-type - The metric type applied to the route before it is advertised into the OSPFv3 Domain.
tag - The tag type describes whether tags will be automatically generated or will be manually configured.
|
Mode
|
Router Configuration
|
Example
|
SEFOS(config-router)# redist-config 3ffe:5000:481d::5 80 metric-value 30 metric-type asExttype1 tag 12
|
8.1.22 as-external lsdb-limit
Sets the maximum number of non-default AS-external-LSA entries that can be stored in the link-state database. If the value is -1, then there is no limit.
as-external lsdb-limit lsdb-limit_-1-0x7fffffff
|
Mode
|
Router Configuration
|
Defaults
|
lsdb-limit - -1
|
Example
|
SEFOS(config-router)# as-external lsdb-limit 10
|
Notes
|
- When the number of non-default AS-external-LSAs in a router’s link-state database reaches the configured limit, the router enters Overflow- State. The router never holds more than the configured non-default AS-external-LSAs in its database.
- The LSDB limit MUST be set identically in all routers attached to the OSPFv3 backbone and/or any regular OSPFv3 area. (i.e. OSPFv3 stub areas and NSSAs are excluded).
|
8.1.23 exit-overflow-interval
Sets the number of seconds after which a router will attempt to leave the overflow state.
exit-overflow-interval interval
|
Mode
|
Router Configuration
|
Defaults
|
interval - 0
|
Example
|
SEFOS(config-router)# exit-overflow-interval 10
|
8.1.24 demand-extensions
Enables routing support for demand routing. The no form of the command disables routing support for demand routing.
Mode
|
Router Configuration
|
Defaults
|
Enabled.
|
Example
|
SEFOS(config-router)# demand-extensions
|
8.1.25 reference-bandwidth
Sets the reference bandwidth in kilobits per second for calculating the default interface metrics.
reference-bandwidth ref-bw
|
Mode
|
Router Configuration
|
Defaults
|
ref-bw - 100,000 KBPS
|
Example
|
SEFOS(config-router)# reference-bandwidth 1000000
|
8.1.26 auto-cost reference-bandwidth
Sets the reference bandwidth in kilobits per second for calculating the default interface metrics. The no form of the command sets the reference bandwidth to the default value. This command operates similar to that of the command reference-bandwidth.
auto-cost reference-bandwidth ref-bw
|
no auto-cost reference-bandwidth
|
Syntax Description
|
ref-bw - Reference bandwidth (in kilobits per second) for calculating the default interface metrics.
|
Mode
|
Router Configuration
|
Defaults
|
ref-bw - 100,000 kbps.
|
Example
|
SEFOS(config-router)# auto-cost reference-bandwidth 1000000
|
8.1.27 ipv6 ospf area
Enables OSPFv3 for IPv6 on an interface. The no form of the command disables OSPFv3 routing protocol on the interface.
ipv6 ospf area IPv4-address
|
Syntax Description
|
IPv4-address - A 32-bit integer.
|
Mode
|
Router Configuration
|
Defaults
|
Disabled.
|
Example
|
SEFOS(config-if)# ipv6 ospf area 0.0.0.0
|
Notes
|
The no form of the command disables an interface and triggers flushing of self-originated link scope LSAs, and deletes the link scope LSAs associated with this interface from the link state database. If there is a single interface in the associated area, then this command deletes its area scope LSAs from the link state database.
|
8.1.28 ipv6 ospf demand-circuit
Configures OSPFv3 to treat the interface as an OSPFv3 demand circuit. The command indicates whether demand OSPFv3 procedures (hello suppression to FULL neighbors and setting the DoNotAge flag on propagated LSAs) must be performed on the configured interface. The no form of the command disables the demand circuit on an interface.
no ipv6 ospf demand-circuit
|
Mode
|
Interface Configuration
Applicable only in VLAN Interface.
|
Defaults
|
Disabled.
|
Example
|
SEFOS(config-if)# ipv6 ospf demand-circuit
|
Notes
|
The routing support for demand routing must have been enabled (using the demand-extensions command) prior to the execution of this command.
|
8.1.29 ipv6 ospf retransmit-interval
Sets the time between LSA retransmissions for adjacencies belonging to interface. The no form of the command sets the default retransmit interval for an interface.
ipv6 ospf retransmit-interval interval
|
no ipv6 ospf retransmit-interval
|
Syntax Description
|
Interface Configuration
Applicable only in VLAN Interface.
|
Mode
|
Router Configuration
|
Defaults
|
interval - 5
|
Example
|
SEFOS(config-if)# ipv6 ospf retransmit-interval 10
|
Notes
|
The retransmit time interval is the number of seconds between the link-state advertisement retransmissions for adjacencies belonging to an interface. The retransmit-interval value is also used while retransmitting database description and link-state request packets.
|
8.1.30 ipv6 ospf transmit-delay
Sets the estimated time taken to transmit LS update packet over a particular interface. The no form of the command sets the default transmit delay for an interface.
ipv6 ospf transmit-delay 1-1800
|
no ipv6 ospf transmit-delay
|
Mode
|
Interface Configuration
Applicable only in VLAN Interface.
|
Defaults
|
delay - 1
|
Example
|
SEFOS(config-if)# ipv6 ospf transmit-delay 10
|
8.1.31 ipv6 ospf priority
Sets the router priority, which helps to determine the designated router for this network. The no form of the command sets the default router priority for an interface.
Mode
|
Interface Configuration
Applicable only in VLAN Interface.
|
Defaults
|
priority - 1
|
Example
|
SEFOS(config-if)# ipv6 ospf priority 7
|
Notes
|
A priority value of 0 signifies that the router is not eligible to become the designated router on a particular network.
|
8.1.32 no ipv6 ospf priority
Sets the default router priority for an interface. This command operates similar to that of the command ipv6 ospf priority.
no ipv6 ospf priority priority-value
|
Syntax Description
|
priority-value - Priority value of the router. A priority value of 0 signifies that the router is not eligible to become the designated router on a particular network.
|
Mode
|
Interface Configuration
Applicable only in VLAN Interface.
|
Defaults
|
priority - 1
|
Example
|
SEFOS(config-if)# no ipv6 ospf priority 7
|
8.1.33 ipv6 ospf hello-interval
Specifies the time interval between the OSPFv3 hello packets on a particular interface (the length of time, in seconds, between the Hello packets that the router sends on the interface). The no form of the command sets the default hello interval for an interface.
ipv6 ospf hello-interval seconds_1-65535
|
no ipv6 ospf hello-interval
|
Mode
|
Interface Configuration
Applicable only in VLAN Interface.
|
Defaults
|
interval - 10
|
Example
|
SEFOS(config-if)# ipv6 ospf hello-interval 20
|
Notes
|
The hello interval value must be same for all routers attached to a common link.
|
8.1.34 ipv6 ospf dead-interval
Configures the router dead interval. The command is configured in seconds and indicates the time period for which the router waits for hello packet from the neighbor before declaring this neighbor down. The no form of the command sets the interface dead interval to default value.
ipv6 ospf dead-interval seconds_1-65535
|
no ipv6 ospf dead-interval
|
Mode
|
Interface Configuration
Applicable only in VLAN Interface.
|
Defaults
|
interval - 40
|
Example
|
SEFOS(config-if)# ipv6 ospf dead-interval 50
|
Notes
|
This value must be a multiple of the hello interval and must be same for all routers attached to a common link.
|
8.1.35 ipv6 ospf poll-interval
Configures the larger time interval, in seconds, between the hello packets sent to an inactive non-broadcast multi-access neighbor. The no form of the command sets the default poll interval for an interface.
ipv6 ospf poll-interval seconds_1-65535
|
no ipv6 ospf poll-interval
|
Mode
|
Interface Configuration
Applicable only in VLAN Interface.
|
Defaults
|
interval - 120
|
Example
|
SEFOS(config-if)# ipv6 ospf poll-interval 30
|
8.1.36 ipv6 ospf metric
Explicitly specifies the metric value for sending a packet on an interface. The no form of the command sets the default value for the interface metric.
Mode
|
Interface Configuration
This command is applicable only in VLAN Interface.
|
Defaults
|
metric - 10
|
Example
|
SEFOS(config-if)# ipv6 ospf metric 20
|
8.1.37 ipv6 ospf network
Sets the network type for an interface. The no form of the command sets the default value for the network type.
ipv6 ospf network {broadcast | non-broadcast | point-to-multipoint | point-to-point}
|
Syntax Description
|
broadcast - Networks supporting many (more than two) attached routers, together with the capability to address a single physical message to all of the attached routers (broadcast).
non-broadcast - Networks supporting many (more than two) routers, but having no broadcast capability.
point-to-multipoint - Treats the non-broadcast network as a collection of point-to-point links.
point-to-point - A network that joins a single pair of routers.
|
Mode
|
Interface Configuration
Applicable only in VLAN Interface.
|
Defaults
|
broadcast
|
Example
|
SEFOS(config-if)# ipv6 ospf network non-broadcast
|
Notes
|
- If the Interface Network type is NBMA or Point-to-Multipoint, neighbor must be configured.
- When there are few configured neighbors on the interface, then both network type change command and the no form of the command do not succeed.
|
8.1.38 ipv6 ospf neighbor
Configures a neighbor on non-broadcast networks and sets the priority value for the neighbor if specified. The no form of the command deletes a configured neighbor or sets the default priority value (if the priority option is specified).
ipv6 ospf neighbor IPv6-address [priority 1-255]
|
no ipv6 ospf neighbor IPv6-address [priority 1-255]
|
Syntax Description
|
IPv6-address - IPv6 Address prefix.
priority - A number that specifies the router priority.
|
Mode
|
Interface Configuration
Applicable only in VLAN Interface.
|
Defaults
|
priority - 1
|
Example
|
SEFOS(config-if)# ipv6 ospf neighbor fe80::220:35ff:fe43:6020 priority 2
|
Notes
|
- In the OSPFv3 protocol packets, the IPv6 address indicates the source address of the neighbor. The link local address of the neighbor must be used for this field.
- Neighbors can be configured only in NBMA networks and point-to-multipoint networks.
|
8.1.39 ipv6 ospf passive-interface
Configures an OSPFv3 interface to be passive. The execution of the command results in suppressing OSPFv3 protocol packets traffic on this interface. The no form of the command configures an OSPFv3 interface to be non-passive.
ipv6 ospf passive-interface
|
no ipv6 ospf passive-interface
|
Mode
|
Interface Configuration
Applicable only in VLAN Interface.
|
Defaults
|
Disabled
|
Example
|
SEFOS(config-if)# ipv6 ospf passive-interface
|
8.1.40 ipv6 ospf neighbor probing
Enables neighbor probing on demand-circuit enabled interface. The no form of the command disables neighbor probing on demand-circuit enabled interface.
ipv6 ospf neighbor probing
|
no ipv6 ospf neighbor probing
|
Mode
|
Interface Configuration
Applicable only in VLAN Interface.
|
Defaults
|
Disabled.
|
Example
|
SEFOS(config-if)# ipv6 ospf neighbor probing
|
8.1.41 ipv6 ospf neighbor-probe retransmit-limit
Sets the number of consecutive LSA retransmissions before the neighbor is deemed inactive. The no form of the command sets the default neighbor probe retransmission limit.
ipv6 ospf neighbor-probe retransmit-limit retrans-limit
|
no ipv6 ospf neighbor-probe retransmit-limit
|
Mode
|
Interface Configuration
Applicable only in VLAN Interface.
|
Defaults
|
retrans-limit - 10
|
Example
|
SEFOS(config-if)# ipv6 ospf neighbor-probe retransmit-limit 30
|
8.1.42 ipv6 ospf neighbor-probe interval
Sets the number of seconds, that indicates how often neighbor will be probed. The no form of the command sets the default neighbor probe interval.
ipv6 ospf neighbor-probe interval interval
|
no ipv6 ospf neighbor-probe interval
|
Mode
|
Interface Configuration
Applicable only in VLAN Interface.
|
Defaults
|
interval - 120
|
Example
|
SEFOS(config-if)# ipv6 ospf neighbor-probe interval 200
|
8.1.43 debug ipv6 ospf - pkt
Sets the trace levels.
debug ipv6 ospf [pkt ([{high | low | hex}] [hp] [ddp] [lrq] [lsu] [lsa])] [level ([fn_entry] [fn_exit] [critical] [mem_alloc_succ] [mem_alloc_fail])] [module ([ppp] [rtm] [nssa] [rt_aggrg] [adj_formation] [lsdb] [ism] [nsm] [rt_calc] [interface] [config])]
|
no debug ipv6 ospf [ pkt ([{high | low | hex}] [hp] [ddp] [lrq] [lsu] [lsa])] [level ([fn_entry] [fn_exit] [critical] [mem_alloc_succ] [mem_alloc_fail])] [module ([ppp] [rtm] [nssa] [rt_aggrg] [adj_formation] [lsdb] [ism] [nsm] [rt_calc] [interface] [config])]
|
Syntax Description
|
pkt - Packet high level dump debug messages.
high - Packet high level dump trace.
low - Packet low level dump trace.
hex - Packet hex dump trace.
hp - Hello packet trace.
ddp - DDP packet trace.
lrq - Link state request packet trace.
lsu - Link state update packet trace.
lsa - Link state acknowledge packet trace.
level - Trace level debug messages.
fn_entry - Function entry trace.
fn_exit - Function exit trace.
critical - Critical trace.
mem_alloc_succ - Memory allocation success trace.
mem_alloc_fail - Memory allocation failure trace.
module - OSPFv3 module debug messages.
ppp - Protocol packet processing trace.
rtm - RTM module trace.
nssa - NSSA trace.
|
Mode
|
Privileged EXEC
|
Defaults
|
Debugging is disabled.
|
Example
|
SEFOS# debug ipv6 ospf pkt high hp level fn_entry module ppp
|
8.1.44 debug ipv6 ospf
Sets the IPv6 OSPF trace levels. The no form of the command resets the IPv6 OSPF trace levels. This command operates similar to the command debug ipv6 ospf - pkt.
debug ipv6 ospf {adj | ipsec | database-timer | flood | hello | lsa-gen | retransmission | lsdb | spf statistic}
|
no debug ipv6 ospf {adj | ipsec | database-timer | flood | hello | lsa-gen | retransmission | lsdb}
|
Syntax Description
|
adj - Adjacency information.
ipsec - The interaction between OSPF and IPSec in IPv6 networks, including creation and removal of policy definitions.
database-timer - Database-timer information.
flood - Flooding information.
hello - Hello packet information.
lsa-gen - Link-state advertisement (LSA) generation information for all LSA types.
retransmission - Retransmission information.
lsdb - Link state database information.
spf statistic - Shortest path first statistics information.
|
Mode
|
Privileged EXEC
|
Defaults
|
Debugging is disabled.
|
Example
|
SEFOS# debug ipv6 ospf adj
|
8.1.45 debug ipv6 ospf - packet | events
Sets the IPv6 OSPF event trace. The no form of the command resets the IPv6 OSPF event trace. This command operates similar to that of the command debug ipv6 ospf - pkt.
debug ipv6 ospf {packet | events}
|
no debug ipv6 ospf {packets | events}
|
Syntax Description
|
packet - Received OSPFv3 packet information.
events - OSPFv3-related events information.
|
Mode
|
Privileged EXEC
|
Defaults
|
Debugging is disabled.
|
Example
|
SEFOS# debug ipv6 ospf adj
|
8.1.46 show ipv6 ospf interface
Displays the OSPFv3-related interface information.
show ipv6 ospf interface [vlan 1-4094]
|
Syntax Description
|
vlan - VLAN identifier.
|
Mode
|
User/Privileged EXEC
|
Example
|
SEFOS# show ipv6 ospf interface vlan 1
OSPFv3 Interface Information
Interface Name: vlan2 Interface Id: 1 Area Id: 0.0.0.0
Local Address: fe80::211:22ff:fe33:4412 Router Id: 11.0.0.2
Network Type: BROADCAST Cost: 10 State: WAITING
Designated Router Id: 0.0.0.0 local address: (null)
Backup Designated Router Id: 0.0.0.0 local address: (null)
Transmit Delay: 1 sec Priority: 1 IfOptions: 0x0
Timer intervals configured:
Hello: 10, Dead: 40, Retransmit: 5, Poll: 120
Demand Circuit: Disable Neighbor Probing: Disable
Nbr Probe Retrans Limit: 10 Nbr Probe Interval: 120
Hello due in 4 sec
Neighbor Count is: 1
Adjacent with the neighbor 11.0.0.1
|
8.1.47 show ipv6 ospf neighbor
Displays OSPFv3 neighbor information.
show ipv6 ospf neighbor [neighbor-router-id]
|
Mode
|
User or Privileged EXEC
|
Example
|
SEFOS# show ipv6 ospf neighbor
ID PriStateDead Address
Time
11.0.0.41FULL/PTOP 31 fe80::211:22ff:fe33:4434
11.0.0.510FULL/BACKUP 35 fe80::260:83ff:fe38:8aa2
|
- ipv6 ospf neighbor - Configures a neighbor on non-broadcast networks and sets the priority value for the neighbor if specified
8.1.48 show ipv6 ospf - request/retrans-list
Displays the list of all LSAs in request-list or in retransmission-list.
show ipv6 ospf {request-list | retrans-list} [neighbor-router-id]
|
Syntax Description
|
request-list - The list of link state advertisements for which the neighbor has more up-to-date instances.
retrans-list - The list of link state advertisements that have been sent but not acknowledged.
neighbor-router-id - Neighbor router identifier.
|
Mode
|
User/Privileged EXEC
|
Example
|
SEFOS# show ipv6 ospf retrans-list
NeighborId 20.0.0.3, Nbr Address fe80::220:35ff:fe43:6020
Type LsId AdvRtr SeqNo Age Checksum
0x2001 0.0.0.2 11.0.0.2 0x80000011 0 0xcddf
SEFOS# show ipv6 ospf request-list
Neighbor 20.0.0.3, Address fe80::220:35ff:fe43:6020
Type LSID ADVRTR SeqNo Age Checksum
8193 0.0.0.1 11.0.0.3 0x80000002 6 0x1211
|
8.1.49 show ipv6 ospf virtual-links
Displays the parameters and the current state of OSPFv3 virtual links.
show ipv6 ospf virtual-links
|
Mode
|
User or Privileged EXEC
|
Example
|
SEFOS# show ipv6 ospf virtual-links
Interface State: PointToPoint, Neighbor State: FULL
Transit Area: 2.2.2.2, Virtual Neighbor: 11.0.0.7
Intervals Configured for the Virtual Interface:
Hello: 10, Dead: 60, Transit: 1, Retransmit : 20
|
8.1.50 show ipv6 ospf border-routers
Displays the internal OSPFv3 routing table entries to an ABR or ASBR.
show ipv6 ospf border-routers
|
Mode
|
User or Privileged EXEC
|
Example
|
SEFOS# show ipv6 ospf border-routers
OSPFv3 Process Border Router Information
Destination Type NextHop Cost Rt Area Type Id
11.0.0.2 ABR fe80::211:22ff:fe33:4412 10 intraArea 0.0.0.0
11.0.0.2 ABR fe80::211:22ff:fe33:4422 10 intraArea 0.0.0.1
11.0.0.2 ASBR fe80::211:22ff:fe33:4412 10 intraArea 0.0.0.0
11.0.0.2 ASBR fe80::211:22ff:fe33:4422 10 intraArea 0.0.0.0
|
8.1.51 show ipv6 ospf - area-range / summary-prefix
Displays either the list of all area address ranges information or all external summary address configuration information.
show ipv6 ospf {area-range | summary-prefix}
|
Syntax
|
area-range - Area associated with the OSPFv3 address range.
summary-prefix - Aggregate addresses for OSPFv3.
|
Mode
|
User or Privileged EXEC
|
Example
|
SEFOS# show ipv6 ospf area-range
OSPFv3 Summary Address Configuration Information
Network Pfx LSA Area Effect Tag
Length Type
3ffe::100:0:0:0 80 Summary 0.0.0.0 advertise 0
3ffe::110:0:0:0 80 Summary 0.0.0.0 doNotAdvertise 0
3ffe::120:0:0:0 80 Summary 0.0.0.1 advertise 0
3ffe::130:0:0:0 80 Type7 0.0.0.1 advertise 0
SEFOS# show ipv6 ospf summary-prefix
OSPFv3 External Summary Address Configuration Information
Prefix Pfx Area-id Effect TranslationState
Length
3ffe::200:0:0:0 80 0.0.0.0 advertise enabled
3ffe::210:0:0:0 80 0.0.0.0 advertise disabled
3ffe::220:0:0:0 80 0.0.0.0 doNotAdvertise enabled
3ffe::230:0:0:0 80 0.0.0.0 allowAll enabled
3ffe::240:0:0:0 80 0.0.0.0 denyAll enabled
|
8.1.52 show ipv6 ospf - General Information
Displays general information about OSPFv3 routing process.
Mode
|
User or Privileged EXEC
|
Example
|
SEFOS# show ipv6 ospf
Router Id: 11.0.0.1 ABR Type: Standard ABR
SPF schedule delay: 5 secs Hold time between two SPFs: 10 secs
Exit Overflow Interval: 0 Ref BW: 100000000 Ext Lsdb Limit: -1
Trace Value: 0x00000800 As Scope Lsa: 0 Checksum Sum: 0x0
Demand Circuit: Enable Passive Interface: Disable
Nssa Asbr Default Route Translation: Disable
Autonomous System Boundary Router
Number of Areas in this router 2
Area 0.0.0.0
Number of interfaces in this area is 1
Number of Area Scope Lsa: 4 Checksum Sum: 0x1210e
Number of Indication Lsa: 0 SPF algorithm
executed: 6 times
Area 0.0.0.1
Number of interfaces in this area is 1
Number of Area Scope Lsa: 3 Checksum Sum: 0x18d41
Number of Indication Lsa: 0 SPF algorithm
executed: 2 times
|
8.1.53 show ipv6 ospf - LSA Database
Displays the LSA information.
show ipv6 ospf [area area-id] database [{router | network | as-external | inter-prefix | inter-router | intra-prefix | link | nssa}] [{detail | HEX}]
|
Syntax Description
|
area - A 32-bit integer.
database - Displays the number of each type of LSA for each area in the database.
router - Router LSAs.
network - Network LSAs.
as-external - AS-external LSAs.
inter-prefix - Inter-prefix LSAs.
inter-router - Inter-router LSAs.
intra-prefix - Intra-prefix LSAs.
link - Link State LSAs.
nssa - NSSA LSAs.
detail - Displays the LSAs information in detail.
HEX - Displays the LSAs information in hexadecimal format.
|
Mode
|
User/Privileged EXEC
|
Example
|
SEFOS# show ipv6 ospf database
Area-id RtrId LsaType Age Seq# Checksum
0.0.0.0 11.0.0.1 0x0008 300 0x80000002 0x323f
0.0.0.0 11.0.0.2 0x0008 300 0x80000001 0xa426
0.0.0.0 11.0.0.1 0x2001 1 0x80000003 0x3b9a
|
|
0.0.0.0 11.0.0.2 0x2001 0 0x80000006 0x2fa2
0.0.0.0 11.0.0.2 0x2002 0 0x80000001 0x6081
0.0.0.0 11.0.0.2 0x2009 0 0x80000002 0x504c
|
|
SEFOS# show ipv6 ospf database detail
Age: 0 Seconds LS Type: Router Lsa
Link State Id: 0.0.0.0 Adv Rtr Id: 12.0.0.2
Sequence: 0x80000001 Checksum: 0x7c85 Length: 24
Router is an AS Boundary Router
Number of Links: 0 Options: 0x33
|
|
Age: 0 Seconds LS Type: Intra Area Prefix Lsa
Link State Id: 0.0.0.0 Adv Rtr Id: 12.0.0.2
Sequence: 0x80000001 Checksum: 0x4966 Length: 52
#Prefixes: 1 Referenced LS Type: Router Lsa
Ref Link State Id: 0.0.0.0 Ref Adv Router: 12.0.0.2
Prefix Length (Bytes): 16 Prefix Options: 0x00
Metric: 0xa
Prefix: 3ffe:481d::5
|
|
SEFOS# show ipv6 ospf database hex
00 00 00 08 00 00 00 02 0b 00 00 01 80 00 00 02 e9 d0 00 2c 01 00 00 33 fe 80 00
00 00 00 00 00 02 11 22 ff fe 33 44 21 00 00 00 00
00 07 00 08 00 00 00 02 0b 00 00 02 80 00 00 02 f9 be 00 2c 01 00 00 33 fe 80 00
00 00 00 00 00 02 11 22 ff fe 33 44 22 00 00 00 00
|
|
00 00 20 01 00 00 00 00 0b 00 00 01 80 00 00 01 fe e2 00 28 00 00 00 33 01 00 00
02 00 00 00 02 00 00 00 02 0b 00 00 02
00 06 20 01 00 00 00 00 0b 00 00 02 80 00 00 03 e7 f4 00 28 03 00 00 33 01 00 00
02 00 00 00 02 00 00 00 02 0b 00 00 01
|
8.1.54 show ipv6 ospf route
Displays routes learned by the OSPFv3 process.
Mode
|
User or Privileged EXEC
|
Example
|
SEFOS# show ipv6 ospf route
OSPFV3 Process Routing Table
Dest/Prefix-Length NextHop/IfIndex Cost Rt.Type Area
3333::/96 fec0::4444:0:2/vlan4 10 type2Ext 0.0.0.0
fec0::3003:0:0/96 :: /vlan5 1 intraArea 0.0.0.4
fec0::4444:0:0/96 :: /vlan4 1 intraArea 0.0.0.3
|
8.1.55 show ipv6 ospf areas
Displays the area table.
Mode
|
Useror Privileged EXEC
|
Example
|
SEFOS# show ipv6 ospf areas
OSPFV3 AREA CONFIGURATION INFORMATION
AreaId: 0.0.0.0 Area Type: NORMAL AREA
Spf Calculation: 3 (times) Area Bdr Rtr Count: 1
As Bdr Rtr Count: 0 Area Summary: Send Summary
Area-id: 0.0.0.1 Area Type: NSS AREA
Spf Calculation: 0 (times) Area Bdr Rtr Count: 1
As Bdr Rtr Count: 0 Area Summary: Send Summary
Stub Metric: 0x1 Stub Metric Type: 1
Translator Role: Candidate Translator State: Disabled
Nssa Stability Interval: 40
|
8.1.56 show ipv6 ospf host
Displays the host table information.
Mode
|
User/Privileged EXEC
|
Example
|
SEFOS# show ipv6 ospf host
OSPFv3 HOST CONFIGURATION Information
Address Area-id StubMetric
3ffe::80:0:1 0.0.0.0 30
|
8.1.57 show ipv6 ospf redist-config
Displays the configuration information to be applied to the routes learnt from the RTM.
show ipv6 ospf redist-config
|
Mode
|
User/Privileged EXEC
|
Example
|
SEFOS# show ipv6 ospf redist-config
Address Prefix PfxLength MetricType Metric TagType TagValue
3ffe:: 64 asExt Type2 10 manual 10
|
- redist-config - Configures the information to be applied to routes learnt from RTM

Sun Ethernet Fabric Operating System CLI Enterprise Reference Manual
|
E26514-03
|
  
|
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.