OcNOS-DC : Layer 3 Guide : Open Shortest Path First Command Reference : OSPFv3 Commands
OSPFv3 Commands
This chapter provides an alphabetized reference for each of the OSPFv3 commands. It includes the following commands:
abr-type
Use this command to set an OSPFv3 Area Border Router (ABR) type.
Use the no parameter with this command to revert the ABR type to the default setting (cisco).
Specifying the ABR type allows better functioning in a multi-vendor environment. The ABR types are:
Cisco (RFC 3509): A router is considered an ABR if it has more than one area actively attached and one of them is the backbone area.
IBM (RFC 3509): A router is considered an ABR if it has more than one area actively attached and the backbone area is configured. In this case the configured backbone need not be actively connected.
Standard (RFC 2328): A router is considered an ABR if it has more than one area actively attached to it.
Command Syntax
abr-type (cisco|ibm|standard)
no abr-type
Parameters
cisco
Specify an alternative ABR using Cisco implementation. This is the default ABR type.
ibm
Specify an alternative ABR using IBM implementation.
standard
Specify a standard ABR.
Default
By default, ABR type is Cisco
Command Mode
Router mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#configure terminal
(config)#router ipv6 ospf
(config-router)#abr-type standard
area default-cost
Use this command to specify the cost for default summary route sent into a stub or a NSSA area. If an area is configured as a stub, the OSPFv3 router originates one type-3 inter-area-prefix-LSA into the stub area. This command changes the metric for this LSA.
Use the no parameter with this command to remove the assigned default cost.
Command Syntax
area (A.B.C.D|<0-4294967295>) default-cost (<0-16777215>)
no area (A.B.C.D|<0-4294967295>) default-cost
Parameters
A.B.C.D
OSPF Area ID in IPv4 address format.
<0-4294967295>
OSPF Area ID as a decimal value.
<0-16777215>
 
The advertised cost for the default summary route used for a stub or NSSA area.
Default
By default, advertised cost for the default summary route is 1.
Command Mode
Router mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#configure terminal
(config)#router ipv6 ospf
(config-router)#area 1 default-cost 10
area nssa
Use this command to set an area as a Not-So-Stubby-Area (NSSA). There are no external routes in an OSPF stub area, so 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 using OSPF to a remote site that is using a different routing protocol. You can extend OSPF to cover the remote connection by defining the area between the central router and the remote router as a NSSA.
Use the no form of this command to make an area a normal area.
Command Syntax
area (A.B.C.D|<0-4294967295>) nssa
area (A.B.C.D|<0-4294967295>) nssa {translator-role (candidate|always)|stability-interval <0-2147483647>|no-redistribution|default-information-originate (metric <0-16777214>|metric-type <1-2>|)|no-summary}
no area (A.B.C.D|<0-4294967295>) nssa
no area (A.B.C.D|<0-4294967295>) nssa {translator-role|stability-interval|no-redistribution|default-information-originate|no-summary}
Parameters
A.B.C.D
OSPF Area ID in IPv4 address format.
<0-4294967295>
OSPF Area ID as a decimal value.
translator-role
 
NSSA-ABR translator role:
candidate
Translate NSSA-LSA to Type-5 LSA if router is elected.
always
Always translate NSSA-LSA to Type-5 LSA.
stability-interval
 
Stability timer for a NSSA area. 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.
<0-4294967295>
 
Stability interval in seconds.
no-redistribution
Do not redistribute into the NSSA.
default-information-originate
 
Originate Type-7 default LSA into the NSSA.
metric
Specify metric for default routes.
<0-16777214>
 
Specify metric value.
metric-type
Specify metric type (see RFC 3101).
<1-2>
Specify metric type:
1: Type 1 external route
2: Type 2 external route
no-summary
Do not inject inter-area routes into the NSSA.
translate-candidate
 
Translate NSSA-LSA to Type-5 LSA if router is elected.
translate-always
 
Always translate NSSA-LSA to Type-5 LSA.
Default
By default, the nssa option value is candidate.
Command Mode
Router mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
(config)#router ipv6 ospf
(config-router)#area 3 nssa translator-role candidate no-redistribution default-information-originate metric 34 metric-type 2
area range
Use this command to configure the OSPF address range. This command summarizes intra-area routes for an area. The single summary route is then advertised to other areas by the Area Border Routers (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 no parameter with this command to remove the assigned area range.
Command Syntax
area (A.B.C.D|<0-4294967295>) range X:X::X:X/M
area (A.B.C.D|<0-4294967295>) range X:X::X:X/M (not-advertise|)
no area (A.B.C.D|<0-4294967295>) range X:X::X:X/M (not-advertise|)
Parameters
A.B.C.D
OSPF Area ID in IPv4 address format.
<0-4294967295>
OSPF Area ID as a decimal value.
X:X::X:X/M
The area IPv6 range prefix and length.
not-advertise
Does not advertise this range.
Default
By default, OSPF address range is advertised.
Command Mode
Router mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#configure terminal
(config)#router ipv6 ospf
(config-router)#area 1 range 2000::/3
 
area stub
Use this command to define an area as a stub area on all routers. There are two stub area router configuration commands: the stub and commands. In all routers attached to the stub area, configure the area by using the stub option of the area command. For an area border router (ABR) attached to the stub area, use the area command.
Use the no form of this command to make an area a normal area.
Command Syntax
area (A.B.C.D|<0-4294967295>) stub
area (A.B.C.D|<0-4294967295>) stub no-summary
no area (A.B.C.D|<0-4294967295>) stub
no area (A.B.C.D|<0-4294967295>) stub no-summary
Parameters
A.B.C.D
OSPF Area ID in IPv4 address format.
<0-4294967295>
OSPF Area ID as a decimal value.
no-summary
Stops an ABR from sending summary link advertisements into the stub area.
Default
No stub area is defined.
Command Mode
Router mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#configure terminal
(config)#router ipv6 ospf
(config-router)#area 1 stub no-summary
area virtual-link
Use this command to configure a link between two backbone areas that are physically separated through other nonbackbone areas.
Use the no parameter with this command to remove the virtual link.
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.
Configure the hello-interval to be the same for all routers attached to a common network. If the hello-interval is short, the router detects topological changes faster, but more routing traffic follows.
The retransmit-interval is the expected round-trip delay between any two routers in a network. Set the value to be greater than the expected round-trip delay to avoid needless retransmissions.
The transmit-delay is the time taken to transmit a link state update packet on the interface. Before transmission, the link state advertisements in the update packet are increased by this amount. Set the transmit-delay to be greater than zero. Also, take into account the transmission and propagation delays for the interface.
Command Syntax
area (A.B.C.D|<0-4294967295>) virtual-link A.B.C.D
area (A.B.C.D|<0-4294967295>) virtual-link A.B.C.D fall-over bfd
area (A.B.C.D|<0-4294967295>) virtual-link A.B.C.D (dead-interval <1-65535>|hello-interval <1-65535>|retransmit-interval <1-1800>|transmit-delay <1-1800>)
area (A.B.C.D|<0-4294967295>) virtual-link A.B.C.D instance-id (<0-31>|<64-95>)
no area (A.B.C.D|<0-4294967295>) virtual-link A.B.C.D fall-over bfd
no area (A.B.C.D|<0-4294967295>) virtual-link A.B.C.D
no area (A.B.C.D|<0-4294967295>) virtual-link A.B.C.D (dead-interval|hello-interval|retransmit-interval|transmit-delay)
no area (A.B.C.D|<0-4294967295>) virtual-link A.B.C.D instance-id
Parameters
A.B.C.D
OSPF Area ID in IP64 address format.
<0-4294967295>
OSPF Area ID as a decimal value.
A.B.C.D
Specify router ID associated with a virtual link neighbor.
dead-interval
The interval in seconds during which no packets are received and after which the router acknowledges a neighboring router as off-line.
<1-65535>
The timer interval.
hello-interval
The interval in seconds the router waits before it sends a hello packet.
<1-65535>
The timer interval.
retransmit-interval
 
The interval in seconds the router waits before it retransmits a packet.
<1-1800>
The timer interval.
transmit-delay
The interval in seconds the router waits before it transmits a packet.
<1-1800>
The timer interval.
instance-id
The OSPFv3 instance.
<0-31>
Interface instance ID for IPv6 unicast
<64-95>
Interface instance ID for IPv4 unicast.
fall-over bfd
Fall-over Bidirectional Forwarding Detection (BFD).
Default
Default hello interval:10 seconds.
Default dead interval:40 seconds.
Default retransmit interval: 5 seconds.
Default transmit delay: 1 second
Default instance-id: 0
Command Mode
Router mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#configure terminal
(config)#router ipv6 ospf
(config-router)#area 1 virtual-link 10.10.11.50 hello 5 dead 10
(config-router)#area 1 virtual-link 10.10.11.50 instance-id 1
(config-router)#area 1 virtual-link 10.10.11.50 fall-over bfd
auto-cost reference bandwidth
Use this command to control how OSPFv3 calculates default metrics for the interface.
By default, OSPFv3 calculates the OSPFv3 metric for an interface by dividing the reference bandwidth by the interface bandwidth. The auto-cost command is used to differentiate high bandwidth links. For multiple links with high bandwidth, specify a larger reference bandwidth value to differentiate cost on those links.
Use the no form of this command to assign cost based only on the interface bandwidth.
Command Syntax
auto-cost reference-bandwidth <1-4294967>
no auto-cost reference-bandwidth
Parameters
<1-4294967>
The reference bandwidth in Mbps per second.
Default
By default, reference bandwidth is 100Mbps
Command Mode
Router mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
This example changes the reference bandwidth to 1Gbps to change the Fast Ethernet interface cost from 1 to 10.
#configure terminal
(config)#router ipv6 ospf 1
(config-router)#auto-cost reference-bandwidth 1000
 
(config)#router ipv6 ospf 1
(config-router)#no auto-cost reference-bandwidth
bfd all-interfaces
Use this command to enable Bidirectional Forwarding Detection (BFD) on all interfaces.
Use the no form of this command to disable BFD.
Command Syntax
bfd all-interfaces
no bfd all-interfaces
Parameters
None
Default
By default, BFD is disabled on all OSPF enabled interfaces.
Command Mode
Router mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
This example changes the reference bandwidth to 1Gbps to change the Fast Ethernet interface cost from 1 to 10.
#configure terminal
(config)#router ipv6 ospf 1
(config-router)#bfd all-interfaces
 
 
capability restart
Use this command to enable OSPFv3 graceful restart capability. If a router is not restart-enabled, it cannot enter graceful restart mode and act as a helper.
Use the no parameter with this command to disable the feature.
Command Syntax
capability restart graceful
no capability restart
Parameter
None
Default
By default, capability restart graceful is enabled
Command Mode
Router mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#configure terminal
(config)#router ipv6 ospf 100
(config-router)#capability restart graceful
 
(config)#router ipv6 ospf 100
(config-router)#no capability restart
clear ipv6 ospf process
Use this command to clear and restart all OSPFv3 routing processes or a given OSPFv3 routing process.
Command Syntax
clear ipv6 ospf (WORD|) process
Parameters
WORD
OSPFv3 process tag.
Command Mode
Privileged Exec Mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#clear ipv6 ospf Tag1 process
debug ipv6 ospf
Use this command to specify all debugging options for OSPFv3.
Use the no form of this command to disable the options.
Command Syntax
debug ipv6 ospf (all|bfd|events|ifsm|lsa|nfsm|nsm|packet|retransmission|rib|route|)
 
no debug ipv6 ospf (all|bfd|events|ifsm|lsa|nfsm|nsm|packet|retransmission|rib|route|)
no debug all ipv6 ospf
no debug all
Parameters
all
Enables all debugging information.
bfd
Debug OSPFv3 Bidirectional Forwarding Detection. (see debug ipv6 ospf bfd)
events
Debug OSPFv3 events (see debug ipv6 ospf events).
ifsm
Debug OSPFv3 Interface State Machines (see debug ipv6 ospf ifsm).
lsa
Debug OSPFv3 Link State Advertisements (see debug ipv6 ospf lsa).
nfsm
Debug OSPFv3 Neighbor State Machines (see debug ipv6 ospf nfsm).
nsm
Debug OSPFv3 NSM information (see debug ipv6 ospf nsm).
packet
Debug OSPFv3 packets (see debug ipv6 ospf packet).
retransmission
Debug OSPFv3 retransmission information. (see debug ipv6 ospf retransmission)
rib
Debug OSPFv3 Routing Information Base.(see debug ipv6 ospf rib)
route
Debug OSPFv3 route information (see debug ipv6 ospf route).
Command Mode
Privileged Exec and Configure mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#debug ipv6 ospf all
debug ipv6 ospf bfd
Use this command to specify the debugging options for OSPFv3 Bidirectional Forwarding Detection
Use the no parameter with this command to disable this function.
Command Syntax
debug ipv6 ospf bfd
no debug ipv6 ospf bfd
Parameters
None
Command Mode
Privileged Exec mode and Configure mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#debug ipv6 ospf bfd
 
debug ipv6 ospf events
Use this command to display debug information related to OSPF internal events. Use this command without parameters to turn on all the options.
Use the no parameter with this command to disable this function.
Command Syntax
debug ipv6 ospf events {(abr|asbr|os|router|vlink|nssa)|}
no debug ipv6 ospf events {(abr|asbr|os|router|vlink|nssa)|}
Parameters
abr
Debug ABR events
asbr
Debug ASBR events
os
Debug OS interaction events
router
Debug other router events
vlink
Debug virtual link events
nssa
Debug NSSA events
Command Mode
Privileged Exec mode and Configure mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#no debug ipv6 ospf events abr
#debug ipv6 ospf events asbr
debug ipv6 ospf ifsm
Use this command to specify debugging options for OSPFv3 Interface Finite State Machine (IFSM) troubleshooting.
Use the no parameter with this command to disable this function.
Command Syntax
debug ipv6 ospf ifsm ({events|status|timers}|)
no debug ipv6 ospf ifsm ({events|status|timers}|)
Parameters
events
Debug IFSM event information.
status
Debug IFSM status information.
timers
Debug IFSM timer information.
Command Mode
Privileged Exec mode and Configure mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#debug ipv6 ospf ifsm status
debug ipv6 ospf lfa
Use this command to specify the debugging options for OSPFv3 Loop-free Alternate path
Use the no parameter with this command to disable this function.
Command Syntax
debug ipv6 ospf lfa
no debug ipv6 ospf lfa
Parameters
None
Command Mode
Privileged Exec mode and Configure mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#debug ipv6 ospf lfa
 
debug ipv6 ospf lsa
Use this command to specify the debugging options for OSPFv3 Link State Advertisements (LSAs).
Use the no parameter with this command to disable this function.
Command Syntax
debug ipv6 ospf lsa {(generate|flooding|install|maxage|refresh)|}
no debug ipv6 ospf lsa {(generate|flooding|install|maxage|refresh)|}
Parameters
generate
Debug LSA generation.
flooding
Debug LSA flooding.
install
Debug LSA installation.
maxage
Debug the maximum age processing.
refresh
Debug LSA refresh.
Command Mode
Privileged Exec mode and Configure mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#debug ipv6 ospf lsa
debug ipv6 ospf nfsm
Use this command to specify debugging options for OSPFv3 Neighbor Finite State Machines (NFSMs).
Use the no parameter with this command to disable this function.
Command Syntax
debug ipv6 ospf nfsm {(events|status|timers)|}
no debug ipv6 ospf nfsm {(events|status|timers)|}
Parameters
events
Debug NFSM event information.
status
Debug NFSM status information.
timers
Debug NFSM timer information.
Command Mode
Privileged Exec mode and Configure mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#debug ipv6 ospf nfsm events
#no debug ipv6 ospf nfsm timers
debug ipv6 ospf nsm
Use this command to specify the debugging options for OSPFv3 NSM information.
Use the no parameter with this command to disable this function.
Command Syntax
debug ipv6 ospf nsm {(interface|redistribute)|}
no debug ipv6 ospf nsm {(interface|redistribute)|}
Parameters
redistribute
Debug redistribute.
interface
Debug the NSM interface.
Command Mode
Privileged Exec mode and Configure mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#debug ipv6 ospf nsm interface
debug ipv6 ospf packet
Use this command to specify the packet debugging options for OSPFv3 information.
Use the no parameter with this command to disable this function.
Command Syntax
debug ipv6 ospf packet ({hello|dd|ls-request|ls-update|ls-ack|send|recv|detail}|)
no debug ipv6 ospf packet ({hello|dd|ls-request|ls-update|ls-ack|send|recv| detail}|)
Parameters
hello
Debug OSPFv3 hello.
dd
Debug OSPFv3 database description.
ls-request
Debug OSPFv3 link state request.
ls-update
Debug OSPFv3 link state update.
ls-ack
Debug OSPFv3 link state acknowledgment.
send
Debug packets sent
recv
Debug packets received.
detail
Debug detail information.
Command Mode
Privileged Exec mode and Configure mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#debug ipv6 ospf packet ls-request
debug ipv6 ospf retransmission
Use this command to specify the debugging options for OSPFv3 retransmission information.
Use the no parameter with this command to disable this function.
Command Syntax
debug ipv6 ospf retransmission
no debug ipv6 ospf retransmission
Parameters
None
Command Mode
Privileged Exec mode and Configure mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#debug ipv6 ospf retransmission
debug ipv6 ospf rib
Use this command to specify the debugging options for OSPFv3 RIB information.
Use the no parameter with this command to disable this function.
Command Syntax
debug ipv6 ospf rib {(interface|redistribute)|}
no debug ipv6 ospf rib {(interface|redistribute)|}
Parameters
redistribute
Debug redistribute.
interface
Debug the NSM interface.
Command Mode
Privileged Exec mode and Configure mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#debug ipv6 ospf rib interface
 
debug ipv6 ospf route
Use this command to specify which route calculation to debug. Use this command without parameters to turn on all the options.
Use the no parameter with this command to disable this function.
Command Syntax
debug ipv6 ospf route {(ase|ia|install|spf)|}
no debug ipv6 ospf route {(ase|ia|install|spf)|}
Parameters
ase
Debug external route calculations.
ia
Debug inter-area route calculations.
install
Debug the route installation.
spf
Debug the SPF calculation.
Command Mode
Privileged Exec mode and Configure mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#no debug ipv6 ospf route
#debug ipv6 ospf route ia
default-information originate
Use this command to create a default external route into an OSPF routing domain.
The system acts like an Autonomous System Boundary Router (ASBR) when you use the default-information originate command to redistribute routes into an OSPF routing domain. An ASBR does not by default generate a default route into the OSPF routing domain.
When you give the default-information originate command, also specify a route-map to avoid a dependency on the default network in the routing table.
Use the no parameter with this command to disable this feature.
Command Syntax
default-information originate
default-information originate {metric <0-16777214>|metric-type (1|2)|route-map WORD|always}
no default-information originate
no default-information originate {metric|metric-type|route-map|always}
Parameters
always
Used to advertise the default route regardless of whether there is a default route.
metric
Sets the OSPF metric used in creating the default route.
<0-16777214>
 
Sets the OSPF metric used in creating the default route. The value used is specific to the protocol.
metric-type
The external link type associated with the default route advertised into the OSPF routing domain (see RFC 3101).
1
Sets OSPF External Type 1 metric.
2
Sets OSPF External Type 2 metric (default).
route-map
Route map.
WORD
Specify the name of route map.
Default
Sets the OSPF metric used in creating the default route. The default metric value is 20. The value used is specific to the protocol. metric-type The external link type associated with the default route advertised into the OSPF routing domain (see RFC 3101).
By default, 2 sets OSPF External Type 2 metric
Command Mode
Router mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#configure terminal
(config)#router ipv6 ospf
(config-router)#default-information originate always metric 23 metric-type 2 route-map myinfo
 
(config)#router ipv6 ospf
(config-router)#no default-information originate metric metric-type route-map
default-metric
Use this command to set a default metric for OSPF.
A default metric facilitates redistributing routes with incompatible metrics. If the metrics do not convert, the default metric provides an alternative. Use this command to use the same metric value for all redistributed routes. Use this command in conjunction with the redistribute command.
Use the no parameter with this command to return to the default state.
Command Syntax
default-metric <1-16777214>
no default-metric
Parameter
<1-16777214>
Default metric value.
Default
Default metric for redistributed routes will be 20.
Command Mode
Router mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#configure terminal
(config)#router ipv6 ospf
(config-router)#default-metric 100
distance
Use this command to define OSPFv3 route administrative distances based on route type. This command sets the distance for an entire group of routes rather than a specific route that passes an access list.
The administrative distance rates the trustworthiness of a routing information source. A higher distance value means a lower trust rating. For example, an administrative distance of 254 means that the routing information source cannot be trusted and should be ignored.
Use the no form of this command to restore the default value.
Command Syntax
distance <1-254>
distance ospfv3 {intra-area <1-254>|inter-area <1-254>|external <1-254>}
no distance (<1-254>|)
no distance ospfv3
Parameters
<1-254>
Used alone, this parameter specifies a default administrative distance used when no other specification exists for a routing information source.
intra-area
Routes within an area.
<1-254>
Distance for all routes within an area
inter-area
Routes from one area to another area.
<1-254>
Distance for all routes from one area to another area.
external
Routes from other routing domains learned by redistribution.
<1-254>
Distance for routes from other routing domains learned by redistribution.
Default
By default, distance value for each type of route is 110
Command Mode
Router mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
#configure terminal
(config)#router ipv6 ospf 100
(config-router)#distance ospfv3 inter-area 20 intra-area 10 external 40
distribute-list
Use this command to filter networks in routing updates. This command redistributes other routing protocols into the OSPF routing table.
Use the no parameter with this command to disable this function.
Command Syntax
distribute-list WORD out ((kernel|connected|static|rip|bgp|isis|ospf (WORD|<1-65535>|)))
distribute-list WORD in
no distribute-list WORD out ((kernel|connected|static|rip|bgp|isis|ospf (WORD|<1-65535>|)))
no distribute-list WORD in
Parameters
WORD
Specify the name of the access list.
in
Filter incoming routing updates.
out
Filter outgoing routing updates.
kernel
Specify kernel routes.
connected
Specify connected routes.
static
Specify static routes.
rip
Specify RIP routes.
bgp
Specify BGP routes.
isis
Specify IS-IS routes.
ospf
Specify OSPF routes.
WORD
Specify the OSPF process tag. If not specified, redistribute OSPF process with tag "null".
<1-65535>
Specify OSPF process ID <1-65535>. If not specified, redistribute OSPF instance with process ID 0.
Default
No default value is specified
Command Mode
Router mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
The following example shows the distribution of BGP routing updates based on the access list list1 (network 172.10.0.0).
#configure terminal
(config)#access-list list1 permit 172.10.0.0/16
(config)#router ipv6 ospf 100
(config-router)#distribute-list list1 out bgp
(config-router)#redistribute bgp
enable db-summary-opt
Use this command to enable the database summary list optimization for OSPFv3.
When this feature is enabled, the database exchange process is optimized by removing the LSA from the database summary list for the neighbor if the LSA instance in the summary list is the same as or less recent than the LSA in the database description packet received from the neighbor.
Use the no form of the command to disable database summary list optimization.
Command Syntax
enable db-summary-opt
no enable db-summary-opt
Parameters
None
Default
By default, db summary opt is disabled
Command Mode
Router mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#configure terminal
(config)#router ipv6 ospf
(config-router)#enable db-summary-opt
(config-router)#no enable db-summary-opt
 
fast-reroute keep-all-paths
Use this command to enable fast rerouting on all OSPFv3 interfaces.
Use the no parameter with this command to disable fast rerouting.
Command Syntax
fast-reroute keep-all-paths
no fast-reroute keep-all-paths
Parameters
None
Defaults
By default, fast rerouting is disabled.
Command Mode
Router mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#configure terminal
(config)#router ipv6 ospf 200
(config-router)#fast-reroute keep-all-paths
fast-reroute tie-break
Use this command to set the tie-breaking policy for selecting a fast reroute repair path. You assign a priority to each type of repair path.
Use the no parameter with this command to set the tie-breaking policy for a specific type of repair path to its default priority. To set all types of repair paths to their default priorities, do not specify a repair path with the no form of this command.
Command Syntax
fast-reroute tie-break (primary-path|interface-disjoint|node-protecting|broadcast-interface-disjoint) index <1-4>
no fast-reroute tie-break (primary-path|interface-disjoint|node-protecting|broadcast-interface-disjoint) index <1-4>
no fast-reroute tie-break
Parameters
primary-path
When there are multiple loop-free alternate paths. The primary path is selected for an frr if it is node-protecting as well as link-protecting
interface-disjoint
 
Do not select point-to-point interfaces that have no alternate next hop for rerouting if the primary gateway fails, thus protecting the interface.
node-protecting
 
Bypass the primary-path gateway router which might not protect the router that is the next hop in the primary path.
broadcast-interface-disjoint
 
Do not use the interface if connected to a broadcast network. Repair paths protect links when a repair path and a protected primary path use different next-hop interfaces. However, on broadcast interfaces, if the repair path is computed via the same interface as the primary path, but their next-hop gateways are different, the router is protected but the link might not be.
index
Tie break priority. A lower value has higher preference.
<1-4>
Range of priority values.
Defaults
The default priority scheme is:
1. primary-path
2. interface-disjoint
3. node-protecting
4. broadcast-interface-disjoint
Command Mode
Router mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#configure terminal
(config)#router ipv6 ospf 200
(config-router)#fast-reroute tie-break interface-disjoint index 1
ipv6 ospf authentication
Use this command to enable the authentication and/or confidentiality for OSPFv3 sessions on this interface using crypto map configuration.
Use no form of this command to disable the authentication and/or confidentiality for OSPFv3 sessions.
Command Syntax
ipv6 ospf authentication cryptomap WORD
no ipv6 ospf authentication cryptomap WORD
Parameters
authentication
IPsec Authentication
cryptomap
Map used to setup IPsec SA
WORD
Name of the Crypto-map
Default
No default value.
Command Mode
Interface mode
Applicability
This command was introduced in OcNOS version 6.0.
Example
#configure terminal
(config)#interface eth1
(config-if)#ipv6 ospf authentication cryptomap map1
ipv6 ospf bfd
Use this command to enable Bidirectional Forwarding Detection (BFD).
Use this command with either the no or disable parameter to disable BFD.
Command Syntax
ipv6 ospf bfd (disable|)
ipv6 ospf bfd (disable|)instance-id (<0-31>|<64-95>)
no ipv6 ospf bfd (disable|)
no ipv6 ospf bfd (disable|)instance-id (<0-31>|<64-95>)
Parameters
disable
Specify to disable BFD.
instance-id
Specify the instance. Default value for instance-id is 0.
<0-31>
Interface instance ID for IPv6 unicast
<64-95>
Interface instance ID for IPv4 unicast
Default
By default, IPv6 OSPF BFD is disabled. Default value for instance-id is 0.
Command Mode
Interface mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
#configure terminal
(config)#interface eth1
(config-if)#ipv6 ospf bfd instance-id 2
 
Note: Interface level CLI: "ipv6 ospf bfd" will be displayed as "ipv6 ospf bfd instance-id 0" from 5.0 release.
 
ipv6 ospf cost
Use this command to specify the link-cost described in LSAs.
The cost (or metric) of an interface in OSPF indicates the overhead required to send packets across a certain interface. The value is taken to describe Link State information, and used for route calculation.
Use the no parameter with this command to reset the cost to default.
Command Syntax
ipv6 ospf cost <1-65535>
ipv6 ospf cost <1-65535> instance-id (<0-31>|<64-95>)
no ipv6 ospf cost
no ipv6 ospf cost instance-id (<0-31>|<64-95>)
Parameters
cost
Specify the link-state metric.
<1-65535>
Specify the link-state metric.
instance-id
Specify the instance.
<0-31>
Interface instance ID for IPv6 unicast
<64-95>
Interface instance ID for IPv4 unicast.
Default
By default, ipv6 cost value is 10.
Command Mode
Interface mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#configure terminal
(config)#interface eth0
(config-if)#ipv6 ospf cost 20 instance-id 1
ipv6 ospf dead-interval
Use this command to set the amount of time that the router waits to receive an OSPF hello packet from the neighbor before declaring the neighbor down.
The dead interval is advertised in hello packets. OSPF compares the dead interval in a received packet to the dead interval configured for the receiving interface. If the intervals do not match, the hello packet is discarded.
Use the no parameter with this command to reset the interval to default.
Command Syntax
ipv6 ospf dead-interval <1-65535>
ipv6 ospf dead-interval <1-65535> instance-id (<0-31>|<64-95>)
no ipv6 ospf dead-interval
no ipv6 ospf dead-interval instance-id (<0-31>|<64-95>)
Parameters
dead-interval
Specify the interval.
<1-65535>
Specify the interval in seconds.
instance-id
Specify the instance.
<0-31>
Interface instance ID for IPv6 unicast
<64-95>
Interface instance ID for IPv4 unicast.
Default
By default, dead interval is 40 seconds
Command Mode
Interface mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#configure terminal
(config)#interface eth0
(config-if)#ipv6 ospf dead-interval 20
ipv6 ospf display route single-line
Use this command to display the output of the show ipv6 ospf route command with each route entry in a single-line.
Use the no parameter with this command to display the output with each route entry in a multiple lines.
Command Syntax
ipv6 ospf display route single-line
no ipv6 ospf display route single-line
Parameters
None
Default
By default, show ipv6 ospf route displays routes in multiple lines
Command Mode
Configure mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#configure terminal
(config)#ipv6 ospf display route single-line
ipv6 ospf hello-interval
Use this command to specify the interval between hello packets.
The hello interval is advertised in the hello packets. An OSPF router compares the hello interval in a received packet to the interval configured for the receiving interface. If this interval does not match, the hello packet is discarded. A shorter hello interval ensures faster detection of topological changes, but results in more routing traffic.
Use the no parameter with this command to reset the interval to default.
Command Syntax
ipv6 ospf hello-interval <1-65535>
ipv6 ospf hello-interval <1-65535> instance-id (<0-31>|<64-95>)
no ipv6 ospf hello-interval
no ipv6 ospf hello-interval instance-id (<0-31>|<64-95>)
Parameters
hello-interval
Specify the interval.
<1-65535>
Specify the interval in seconds.
instance-id
Specify the instance.
<0-31>
Interface instance ID for IPv6 unicast
<64-95>
Interface instance ID for IPv4 unicast.
Default
By default, hello interval is 10 seconds
Command Mode
Interface mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#configure terminal
(config)#interface eth0
(config-if)#ipv6 ospf hello-interval 5 instance-id 1
ipv6 ospf link-lsa-suppression
Use this command to enable or disable link LSA (type 8) suppression. A type 8 LSA gives information about link-local addresses and a list of IPv6 addresses on the link.
If enabled and the interface type is not broadcast or NBMA, the router does not send type 8 link LSAs. This implies that other routers on the link determine the router's next-hop address using a mechanism other than the type 8 link LSA. This feature is implicitly disabled if the interface type is broadcast or NBMA.
Command Syntax
ipv6 ospf link-lsa-suppression (enable|disable)
ipv6 ospf link-lsa-suppression (enable|disable) instance-id (<0-31>|<64-95>)
Parameters
enable
Enable type 8 link LSA suppression
disable
Disable type 8 link LSA suppression (default).
<0-31>
Interface instance ID for IPv6 unicast
<64-95>
Interface instance ID for IPv4 unicast.
Default
By default, type 8 link LSA suppression is disabled
Command Mode
Interface mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#configure terminal
(config)#interface eth0
(config-if)#ipv6 ospf link-lsa-suppression enable
ipv6 ospf mtu-ignore
Use this command to configure OSPF so that it does not check the MTU size during DD (Database Description) exchange.
Use the no form of this command to make OSPF check the MTU size during DD exchange.
Command syntax
ipv6 ospf mtu-ignore
ipv6 ospf mtu-ignore instance-id (<0-31>|<64-95>)
no ipv6 ospf mtu-ignore
no ipv6 ospf mtu-ignore instance-id (<0-31>|<64-95>)
Parameters
<0-31>
Interface instance ID for IPv6 unicast
<64-95>
Interface instance ID for IPv4 unicast.
Default
By default, during the DD exchange process, OSPF checks the MTU size described in DD packets received from its neighbor. If the MTU size does not match the interface MTU, the neighbor adjacency is not established. Using this command makes OSPF ignore this check and allows establishing of adjacency regardless of MTU size in the DD packet.
Command Mode
Interface mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
(config)#interface eth1
(config-if)#ipv6 ospf mtu-ignore
 
ipv6 ospf neighbor
Use this command to connect OSPFv3 routers to non-broadcast multi-access (NBMA) networks.
One neighbor entry must be included for each known NBMA neighbor. The neighbor address must be a link-local address.
Note: For point-to-multipoint interfaces, the cost parameter is the only applicable option.
Use the no parameter with this command to remove a configuration.
Command Syntax
ipv6 ospf neighbor X:X::X:X (instance-id (<0-31>|<64-95>)|)
ipv6 ospf neighbor X:X::X:X {cost <1-65535>} (instance-id (<0-31>|<64-95>)|)
ipv6 ospf neighbor X:X::X:X {poll-interval <0-4294967295>|priority <0-255>} (instance-id (<0-31>|<64-95>)|)
no ipv6 ospf neighbor X:X::X:X ({cost|poll-interval|priority}|) (instance-id (<0-31>|<64-95>)|)
Parameters
X:X::X:X
Specify a neighbor IP address.
instance-id
Specify the instance.
<0-255>
Specify the instance ID.
cost
Cost of the interface. This parameter does not apply to NBMA networks.
<1-65535>
Cost of the interface.
poll-interval
Dead neighbor polling interval.
<0-4294967295>
 
Dead neighbor polling interval in seconds. It is recommended to set this value much higher than the hello interval.
priority
Specify a priority. This parameter does not apply to point-to-multipoint interfaces.
<0-31>
Interface instance ID for IPv6 unicast
<64-95>
Interface instance ID for IPv4 unicast.
Default
Default cost is 10.
Default poll interval is 120 seconds.
Command Mode
Interface mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#configure terminal
(config)#interface eth0
(config-if)#ipv6 ospf neighbor 2000:500::1 cost 2 instance-id 3
ipv6 ospf network
Use this command to set an OSPFv3 network type.
Use the no option with this command to return to the default value.
Command Syntax
ipv6 ospf network (broadcast|non-broadcast|point-to-multipoint (non-broadcast|)|point-to-point) (instance-id (<0-31>|<64-95>)|)
no ipv6 ospf network (instance-id (<0-31>|<64-95>)|)
Parameters
broadcast
Sets the network type to broadcast.
non-broadcast
Sets the network type to NBMA.
point-to-multipoint
 
Sets the network type to point-to-multipoint.
non-broadcast
 
Sets the network type to NBMA.
point-to-point
Sets the network type to point-to-point.
instance-id
Specify the instance.
<0-31>
Interface instance ID for IPv6 unicast
<64-95>
Interface instance ID for IPv4 unicast.
Default
By default, ipv6 ospf network is broadcast type
Command Mode
Interface mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
The following example shows how to set the network to point-to-point type on the eth0 interface.
#configure terminal
(config)#interface eth0
(config-if)#ipv6 ospf network point-to-point
ipv6 ospf priority
Use this command to set the router priority for determining the designated router (DR) for the network.
A router with the higher router priority becomes the DR. If the priority is the same for two routers, the router with the higher router ID takes precedence.
Only routers with a nonzero priority value are eligible to become the designated or backup designated router. Configure router priority for broadcast or NBMA networks only and not for point-to-point networks.
Use the no parameter with this command to reset the value to default.
Command Syntax
ipv6 ospf priority <0-255>
ipv6 ospf priority <0-255> instance-id (<0-31>|<64-95>)
no ipv6 ospf priority instance-id (<0-31>|<64-95>)
Parameters
priority
Specify the router priority of the interface.
<0-255>
Specify the router priority of the interface. The default is 1.
instance-id
Specify the instance.
<0-31>
Interface instance ID for IPv6 unicast
<64-95>
Interface instance ID for IPv4 unicast.
Default
By default, priority is 1
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#configure terminal
(config)#interface eth0
(config-if)#ipv6 ospf priority 127
ipv6 ospf restart grace-period
Use this command to enable the graceful restart feature and set the grace period for restarting the router.
If graceful restart is enabled, NSM is notified about the grace period. If the OSPF daemon unexpectedly shuts down, NSM sends this value to the OSPF daemon when it comes up again which uses this value to end the graceful state.
Use the no parameter with this command to revert to the default grace period.
Command Syntax
ipv6 ospf restart grace-period <2-1800>
no ipv6 ospf restart grace-period
Parameters
grace-period
Specify the grace period.
<2-1800>
Specify the grace period in seconds.
Default
By default, grace period is 120 seconds
Command Mode
Configure mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#configure terminal
(config)#ipv6 ospf restart grace-period 250
ipv6 ospf restart helper
Use this command to configure the helper behavior for graceful restart.
Use the no parameter with this command to revert to the default.
Command Syntax
ipv6 ospf restart helper {max-grace-period <2-1800>}
ipv6 ospf restart helper never (router-id A.B.C.D|)
no ipv6 ospf restart helper
no ipv6 ospf restart helper never
no ipv6 ospf restart helper {max-grace-period|never router-id (A.B.C.D|all)}
Parameters
<2-1800>
Help only if received grace-period is less than this value.
A.B.C.D
Router ID of neighbor to never to act as helper.
never
Prevent the neighbor from entering helper mode.
max-grace-period

Help only if received grace-period is less than this value.
router-id
Router of neighbor to never to act as helper.
Default
By default, router behave as helper. To disable it as helper, ospf restart helper never command should be configured. ospf restart helper max-grace-period – Max-grace-period to function as helper. If not configured, value will be the grace-period in restarting node.
Command Mode
Configure mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#configure terminal
(config)#ipv6 ospf restart helper never router-id 1.1.1.1
 
#configure terminal
(config)#no ipv6 ospf restart helper never
ipv6 ospf restart planned-only
Use this command to configure the OSPFv3 GR support for only planned restart.
Use the no parameter with this command to revert to the default.
Note: OSPFv3 supports only planned restart. Hence this command configuration and un-configuration does not have any functionality impact
Command Syntax
ipv6 ospf restart planned-only
no ipv6 ospf restart planned-only
Parameters
None
Default
By default, OSPFv3 supports planned restart only.
Command Mode
Configure mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
#configure terminal
(config)#ipv6 ospf restart planned-only
 
#configure terminal
(config)#no ipv6 ospf restart planned-only
 
ipv6 ospf retransmit-interval
Use this command to set the interval between retransmission of Link State Update packets. This interval is also used to retransmit DD packets and Link State Request packets.
After sending an LSA to a neighbor, the router keeps the LSA on the LS-retransmission list until it receives an acknowledgement. If the router does not receive an acknowledgment from the neighbor during the retransmit interval, it sends the LSA to the neighbor again.
Use the no parameter with this command to reset the interval to the default value.
Command Syntax
ipv6 ospf retransmit-interval <1-1800>
ipv6 ospf retransmit-interval <1-1800> instance-id (<0-31>|<64-95>)
no ipv6 ospf retransmit-interval
no ipv6 ospf retransmit-interval instance-id (<0-31>|<64-95>)
Parameters
retransmit-interval
 
Specify the interval.
<1-1800>
Specify the interval in seconds.
instance-id
Specify the instance.
<0-31>
Interface instance ID for IPv6 unicast
<64-95>
Interface instance ID for IPv4 unicast.
Default
By default, ipv6 ospf retransmit interval is 5 seconds
Command Mode
Interface mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#configure terminal
(config)#interface eth0
(config-if)#ipv6 ospf retransmit-interval 3
ipv6 ospf transmit-delay
Use this command to set the estimated time it takes to transmit a Link State Update packet over the interface. The transmit-delay value is added to the LS age of LSAs and is advertised through this interface whenever the LSAs are transmitted.
Use the no parameter with this command to reset the delay to the default value.
Command Syntax
ipv6 ospf transmit-delay <1-1800>
ipv6 ospf transmit-delay <1-1800> instance-id (<0-31>|<64-95>)
no ipv6 ospf transmit-delay
no ipv6 ospf transmit-delay instance-id (<0-31>|<64-95>)
Parameters
transmit-delay
Specify the time to transmit a link-state update.
<1-1800>
Specify the time in seconds to transmit a link-state update.
instance-id
Specify the instance.
<0-31>
Interface instance ID for IPv6 unicast
<64-95>
Interface instance ID for IPv4 unicast.
Default
By default, transmit delay is 1 second
Command Mode
Interface mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#configure terminal
(config)#interface eth0
(config-if)#ipv6 ospf transmit-delay 2
ipv6 router ospf
Use this command to enable OSPFv3 routing on an interface.
Specify the process ID to configure multiple instances of OSPFv3. When running a single instance of OSPFv3, you do not need to specify a instance ID.
When OSPFv3 receives a packet, it checks if the instance ID in the packet matches the instance ID of the receiving interface.
Use the no parameter with this command to disable OSPFv3 routing on an interface.
Command Syntax
ipv6 router ospf area (A.B.C.D|<0-4294967295>)
ipv6 router ospf area (A.B.C.D|<0-4294967295>) instance-id (<0-31>|<64-95>)
ipv6 router ospf area (A.B.C.D|<0-4294967295>) tag WORD
ipv6 router ospf area (A.B.C.D|<0-4294967295>) tag WORD instance-id (<0-31>|<64-95>)
ipv6 router ospf tag WORD area (A.B.C.D|<0-4294967295>)
ipv6 router ospf tag WORD area (A.B.C.D|<0-4294967295>) instance-id (<0-31>|<64-95>)
no ipv6 router ospf area (A.B.C.D|<0-4294967295>)
no ipv6 router ospf area (A.B.C.D|<0-4294967295>) instance-id (<0-31>|<64-95>)
no ipv6 router ospf area (A.B.C.D|<0-4294967295>) tag WORD
no ipv6 router ospf area (A.B.C.D|<0-4294967295>) tag WORD instance-id (<0-31>|<64-95>)
no ipv6 router ospf tag WORD area (A.B.C.D|<0-4294967295>)
no ipv6 router ospf tag WORD area (A.B.C.D|<0-4294967295>) instance-id (<0-31>|<64-95>)
Parameters
area
OSPF Area ID in IPv4 address format.
A.B.C.D
OSPF area ID in IP address format.
<0-4294967295>
 
OSPF area ID as a decimal value.
instance-id
Specify the instance.
<0-31>
Interface instance ID for IPv6 unicast
<64-95>
Interface instance ID for IPv4 unicast.
tag
Tag value to use as a “match” value for controlling redistribution via route maps.
WORD
Set the tag value.
Default
By default, ipv6 router ospf is disabled
Command Mode
Interface mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#configure terminal
(config)#interface eth0
(config-if)#ipv6 router ospf area 1 tag Tag1 instance-id 1
ipv6 te-metric
Use this command to set the traffic engineering metric for an interface.
The traffic engineering metric is used in OSPF-TE Link State Advertisements. If the traffic engineering metric is not set, the ipv6 ospf cost value for an interface is used in OSPF-TE Link State Advertisements.
Use the no parameter with this command to unset the traffic engineering metric for this interface.
Command Syntax
ipv6 te-metric <1-65535>
ipv6 te-metric <1-65535> instance-id (<0-31>|<64-95>)
no ipv6 te-metric
no ipv6 te-metric instance-id (<0-31>|<64-95>)
Parameters
te-metric
Specify the TE metric.
<1-65535>
Specify the TE metric value.
instance-id
Specify the instance.
<0-31>
Interface instance ID for IPv6 unicast
<64-95>
Interface instance ID for IPv4 unicast.
Default
By default, traffic engineering metric value is 0
Command Mode
Interface mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#configure terminal
(config)#interface eth0
(config-if)#ipv6 te-metric 6
log-adjacency-changes
Use this command for the router to send a SYSLOG message when an OSPF neighbor goes up or down.
Use no parameter of this command to stop sending SYSLOG message.
Command Syntax
log-adjacency-changes (brief|detail|)
no log-adjacency-changes
Parameters
detail
Sends a SYSLOG message for each state change, not just when a neighbor goes up or down.
Default
None
Command Mode
Router mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
#configure terminal
(config)#router ipv6 ospf
(config-router)#log-adjacency-changes brief
(config-router)#log-adjacency-changes detail
 
#configure terminal
(config)#router ipv6 ospf
(config-router)#no log-adjacency-changes
max-concurrent-dd
Use this command to limit the number of Database Descriptors (DD) that can be processed concurrently.
This command is useful when a router's performance is affected from simultaneously bringing up several OSPFv3 adjacencies. This command limits the maximum number of DD exchanges that can occur concurrently per OSPFv3 instance, thus allowing for all of the adjacencies to come up.
Use the no option with this command to remove the limit.
Command Syntax
max-concurrent-dd <1-65535>
no max-concurrent-dd
Parameters
<1-65535>
Specify the number of DD processes.
Default
By default, number of maximum concurrent DD processes is 5
Command Mode
Router mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
The following example set the max-concurrent-dd value to 4.
#configure terminal
(config)#router ipv6 ospf
(config-router)#max-concurrent-dd 4
passive-interface
Use this command to suppress sending Hello packets on all interfaces, or on a specified interface.
This command configures OSPFv3 on simplex Ethernet interfaces. Since a simplex interface represents only one network segment between two devices, configure the transmitting interface as a passive interface. This ensures that OSPFv3 does not send hello packets for the transmitting interface. Both the devices can see each other via the hello packet generated for the receiving interface.
Use the no form with this command to resume sending hello packets on all interfaces, or on a specified interface.
Command Syntax
passive-interface
passive-interface IFNAME (disable|enable)
no passive-interface
no passive-interface IFNAME
Parameters
IFNAME
Specify an interface name
Default
By default, passive interface is disabled
Command Mode
Router mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#configure terminal
(config)#router ipv6 ospf
(config-router)#passive-interface
(config-router)#passive-interface eth0 disable
redistribute
Use this command to import routes from other routing protocols, or from another OSPF instance, into OSPFv3 AS-external-LSAs.
OSPFv3 advertises routes learned from other routing protocols or from other OSPF instances, including static or connected routes. Each injected prefix is put into the AS-external-LSA with a specified metric and metric-type.
Use the no parameter with this command to stop redistribution.
Command Syntax
redistribute (kernel|connected|static|rip|bgp|isis|ospf (WORD|<1-65535>|)) {metric <0-16777214>|metric-type (1|2)|route-map WORD|tag <0-4294967295>}
no redistribute (kernel|connected|static|rip|bgp|isis|ospf (WORD|)) (metric|metric-type|route-map|tag|)
Parameters
kernel
Specify kernel routes.
connected
Specify connected routes.
static
Specify static routes.
rip
Specify RIP routes.
bgp
Specify BGP routes.
isis
Specify IS-IS routes.
ospf
Specify OSPF routes.
WORD
Specify an OSPFv3 Process Tag. If not specified, redistribute OSPF process with tag "null".
<1-65535>
Specify an OSPF process identifier. If not specified, redistribute OSPF instance with process ID 0.
metric
Specify the external metric.
<0-16777214>
 
Specify the external metric.
metric-type
Specify the external metric-type (see RFC 3101):
1
Set OSPF External Type 1 metric.
2
Set OSPF External Type 2 metric.
route-map
Specify a route map reference.
WORD
Specify name of the route-map.
tag
Tag value to use as a “match” value for controlling redistribution via route maps
<0-4294967295>
 
Specify the route tag.
Default
By default, redistribute is disabled
Command Mode
Router mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
The following example shows redistribution of BGP routes into the OSPFv3 routing table, with the metric as 10.
#configure terminal
(config)#router ipv6 ospf
(config-router)#redistribute bgp metric 10 metric-type 1
 
The following example shows redistribution of static IPv4 routes into the OSPFv3 routing table.
#configure terminal
(config)#router ipv6 ospf
(config-router)#redistribute static
 
restart ipv6 ospf graceful
Use this command to restart OSPFv3 gracefully.
After this command is executed, the router immediately shuts down. NSM is notified that OSPF has shut down gracefully. NSM preserves routes installed by OSPF until the grace period expires.
Command Syntax
restart ipv6 ospf graceful (grace-period <1-1800>|)
Parameters
grace-period
Specify a grace period.
<1-1800>
Specify a grace period in seconds.
Default
By default, restart ipv6 ospf graceful is disabled. Default value of grace-period is 120 seconds.
Command Mode
Privileged Exec mode and Exec mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#restart ipv6 ospf graceful grace-period 200
router-id
Use this command to specify a router ID for the OSPFv3 process.
Configure each router with a unique router-id. In an OSPFv3 router process that has active neighbors, a new router-id is used at the next reload or when you start the OSPFv3 manually.
Use the no form of this command to force OSPFv3 to stop the routing functionality.
Command Syntax
router-id A.B.C.D
no router-id
Parameters
A.B.C.D
Specify the router ID in IPv4 address format.
Default
By default, router id is loop-back IP address of IP address with highest IP
Command Mode
Router mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
The following example shows a fixed router ID 43.3.3.3
#configure terminal
(config)#router ipv6 ospf
(config-router)#router-id 43.3.3.3
router ipv6 ospf
Use this command to initiate OSPFv3 routing process and enter Router mode to configure OSPFv3 routing process. For making the OSPFv3 routing process functional, you must specify OSPFv3 process tag in router mode and enable OSPFv3 on at least one interface. OSPFv3 is only enabled on interfaces where OSPFv3 process tag matches the tag specified using ipv6 router ospf area command in Interface mode.
Use the no parameter with this command to remove OSPFv3 process.
Command Syntax
router ipv6 ospf
router ipv6 ospf WORD
router ipv6 vrf ospf WORD
no router ipv6 ospf
no router ipv6 ospf WORD
no router ipv6 vrf ospf WORD
Parameters
WORD
Tag value to use as a “match” value for controlling redistribution via route maps.
vrf
Enable an IPv6 VRF routing process
Default
No default value is specified
Command Mode
Configure mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#configure terminal
(config)#router ipv6 ospf Tag1
(config-router)#
show debugging ipv6 ospf
Use this command to display the OSPFv3 debugging options.
Command Syntax
show debugging ipv6 ospf
Parameters
None
Command Mode
Exec mode and Privileged Exec mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#show debugging ipv6 ospf
 
OSPFv3 debugging status:
OSPFv3 all packet debugging is on
OSPFv3 all NFSM debugging is on
#
 
show ipv6 ospf
Use this command to display global and area information about OSPFv3.
Command Syntax
show ipv6 ospf (WORD|)
Parameters
WORD
Tag value to use as a “match” value for controlling redistribution via route maps.
Command Mode
Privileged Exec mode and Exec Mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
OcNOS#show ipv6 ospf
Routing Process "OSPFv3 (null)" with ID 1.2.3.4
Process uptime is 18 hours 12 minutes
SPF schedule delay initial 0.500 secs
SPF schedule delay min 0.500 secs
SPF schedule delay max 50.0 secs
Minimum LSA interval 5 secs, Minimum LSA arrival 1 secs
Number of incoming current DD exchange neighbors 0/5
Number of outgoing current DD exchange neighbors 0/5
Number of external LSA 0. Checksum Sum 0x0000
Number of LSA originated 6
Number of LSA received 142
Number of areas in this router is 1
Area BACKBONE(0)
Number of interfaces in this area is 2(2)
SPF algorithm executed 12 times
Number of LSA 6. Checksum Sum 0x317BC
Number of Unknown LSA 0
Dste Staus: Disabled
 
Table 2-67 explains the fields for each ospf entry.
 
Table 2-67: show ipv6 ospf output details
Field
Description
Routing Process with ID
OSPFv3 process identifier and router identifier.
Process uptime is
OSPFv3 process is running time.
SPF schedule delay initial
Initial SPF schedule delay.
SPF schedule delay min
Minimum delay between receiving a change to SPF calculation.
SPF schedule delay max
Maximum delay between receiving a change to SPF calculation.
Minimum LSA interval
Minimum LSA refresh interval.
Minimum LSA arrival
Minimum time between reception of new LSAs during flooding.
Number of incoming current DD exchange
neighbors
Incoming neighbor Database Descriptors and maximum concurrent DDs. Shows the count of DD that is getting received at the moment of executing the show CLI and the maximum concurrent DDs configured.
Number of outgoing current DD exchange
neighbors
Outgoing neighbor Database Descriptors and maximum concurrent DDs. Shows the count of DD that is getting sent at the moment of executing the show CLI and the maximum concurrent DDs configured.
Number of external LSA
Number of AS external LSAs and checksum.
Number of opaque AS LSA
Number of AS opaque LSAs and checksum.
Number of LSA originated
LSAs originated by the OSPFv3 instance.
Number of LSA received
LSAs received by the OSPFv3 instance.
Number of areas in this router is
Number of areas attached to this router.
Area
Area identifier.
(BACKBONE)
Area is a backbone.
no-summary
Area is a stub and does no import summaries.
(Inactive)
Area is not active.
Number of interfaces in this area is
Number of interfaces in this area.
Dste Status
Whether DSTE is enabled or disabled.
 
show ipv6 ospf database
Use this command to display information in the OSPFv3 Link State database.
Command Syntax
show ipv6 ospf database
show ipv6 ospf database (self-originate|max-age|adv-router A.B.C.D|)
show ipv6 ospf database (router|network|inter-prefix|inter-router|external|nssa-external|link|intra-prefix|te|grace)
show ipv6 ospf database (router|network|inter-prefix|inter-router|external|nssa-external|link|intra-prefix|te|grace) (self-originate|adv-router A.B.C.D|)
show ipv6 ospf database (router|network|inter-prefix|inter-router|external|nssa-external|link|intra-prefix|te|grace) A.B.C.D (self-originate|adv-router A.B.C.D|)
show ipv6 ospf WORD database
show ipv6 ospf WORD database (router|network|inter-prefix|inter-router|external|nssa-external|link|intra-prefix|te|grace)
show ipv6 ospf WORD database (router|network|inter-prefix|inter-router|external|nssa-external|link|intra-prefix|te|grace) adv-router A.B.C.D
Parameters
self-originate
Self-originated link states
max-age
LSAs in MaxAge list
adv-router
Advertising router for Type 8 Link LSAs (Link State Advertisements):
A.B.C.D
Router ID of the advertising router.
router
Router LSAs.
network
Network LSAs.
inter-prefix
Inter-Area-Prefix LSAs.
inter-router
Inter-Area-Router LSAs.
external
AS external LSAs.
nssa-external
NSSA LSAs.
link
Link LSAs.
intra-prefix
Intra-Area-Prefix LSAs (Type 9) with prefixes for stub and transit networks
te
Intra-area TE LSAs.
grace
Grace LSAs.
A.B.C.D
Link state ID as an IP address.
WORD
Tag value to use as a “match” value for controlling redistribution via route maps.
Command Mode
Privileged Exec mode and Exec Mode
Applicability
This command was introduced before OcNOS version 1.3.
Example: adv-router Parameter
This example shows using the adv-router parameter:
#show ipv6 ospf database link adv-router 10.70.0.58
OSPFv3 Router with ID (10.70.0.58) (Process 100)
Link-LSA (Interface eth1)
LS age: 492
LS Type: Link-LSA
Link State ID: 0.0.0.3
Advertising Router: 10.70.0.58
LS Seq Number: 0x80000001
Checksum: 0xC2D6
Length: 68
Priority: 1
Options: 0x000013 (-|R|-|-|E|V6)
Link-Local Address: fe80::204:75ff:feaa:fedb
Number of Prefixes: 2
Prefix: 5f00:1:2:10::/64
Prefix Options: 0 (-|-|-|-)
Header
OSPFv3 Router with ID (10.70.0.58) (Process 100)
Link-LSA (Interface eth1)
The router ID and OSPFv3 process tag of the local router.
Interface name of the router associated with this Link-LSA.
OSPFv3 Database Fields
Table 2-68 explains the fields for each database entry.
 
Table 2-68: OSPFv3 database fields
Field
Description
LS age
The length of time in seconds since the LSA was originated.
LS Type
The type of LSA
Link State ID
Interface identifier of the originating router.
Advertising router
The Router ID of the router advertising this LSA. On a transit network, this is always the Designated Router ID.
LS Seq Number
Sequence number of an LSA.
Checksum
LSA header checksum (excluding the LS age field).
Length
The length in bytes of the LSA (including the 20-byte header).
Priority
The router priority of the interface attaching the originating router of the link.
Options
Bits in network LSAs that originate on the link:
 
DC-bit: Whether the router supports OSPF over Demand Circuits.
R-bit: Whether the router is active. If this bit is clear, routes which transit the advertising node cannot be computed.
N-bit: How the router handles Type 7 LSAs.
MC-bit: Whether IP multicast packets are forwarded.
E-bit: Whether AS-External-LSAs are flooded. This bit is set in all AS External LSAs and in all LSAs. originated in the backbone and non-stub areas.
V6-bit: Whether to include the router/link in routing calculations.
Link-Local Address
The originating router's link-local interface address.
Number of Prefixes
The number of IPv6 prefixes associated to the link:
Prefix: The global IPv6 prefix associated to this link.
Prefix Options: Each prefix is advertised along with an 8-bit capabilities field.They serve as input for routing calculations allowing, for example, some prefixes to be ignored or marked as not re-advertisable.
Referenced LS Type
Identifies the Router-LSA or Network-LSA with which the IPv6 prefixes are associated:
Type 0x2001: prefixes associated with Router-LSA
Type 0x2002: prefixes associated with Network-LSA
Referenced Link State ID
Referenced LS Type 0x2001: this field is 0
Referenced LS Type 0x2002: the interface ID of the link's Designated Router.
Referenced Advertising Router
Referenced LS Type 0x2001: ID of the originating router.
Referenced LS Type 0x2002: ID of the Designated Router
 
Prefix:
Referenced LS Type 0x2001: global IPv6 prefix associated with the router
Referenced LS Type 0x2002: global IPv6 prefix associated with the transit link
 
Prefix Options: Bits in network LSAs that originate on the link:
DC: How the router handles demand circuits
R: Whether the router is active. If this bit is clear, routes which transit the advertising node cannot be computed.
N: How the router handles Type 7 LSAs
MC: Whether IP multicast packets are forwarded
E: Whether AS-External-LSAs are flooded
V6: Whether to include the router/link in routing calculations
 
Metric: The cost of this prefix.
Example: intra-prefix and adv-router Parameters
This example shows using the adv-router and intra-prefix parameters.
Note: The same information for OSPFv2 can be viewed in type 1 router LSAs and type 2 network LSAs. However, in OSPFv3 all addressing information has been removed from router LSAs and network LSAs, leading to the introduction of the Intra-Area-Prefix LSA. In a transit network, the Intra-Area-Prefix-LSA serves the same purpose as a network LSA and on a point-to-point or point-to-multipoint network serves the same purpose as a router LSA.
#show ipv6 ospf database intra-prefix adv-router 10.70.0.58
OSPFv3 Router with ID (10.70.0.58) (Process 100)
Intra-Area-Prefix-LSA (Area 0.0.0.0)
LS age: 1435
LS Type: Intra-Area-Prefix-LSA
Link State ID: 0.0.0.2
Advertising Router: 10.70.0.58
LS Seq Number: 0x80000001
Checksum: 0x1B4E
Length: 56
Number of Prefixes: 2
Referenced LS Type: 0x2002
Referenced Link State ID: 0.0.0.3
Referenced Advertising Router: 10.70.0.58
Prefix: 5f00:1:2:10::/64
Prefix Options: 0 (-|-|-|-)
Metric: 0
Prefix: 6f00:1:2:10::/64
Prefix Options: 0 (-|-|-|-)
Metric: 0
Header
OSPFv3 Router with ID (10.70.0.58) (Process 100)
Intra-Area-Prefix-LSA (Area 0.0.0.0)
The router ID and OSPFv3 process tag for the router.
Intra-Area-Prefix-LSA has area flooding scope. This LSA belongs to Area 0.0.0.0.
show ipv6 ospf interface
Use this command to display OSPFv3 interface information.
Command Syntax
show ipv6 ospf interface
show ipv6 ospf interface IFNAME
Parameters
IFNAME
The name of the interface.
Command Mode
Privileged Exec mode and Exec mode
Applicability
This command was introduced before OcNOS version 1.3.
Usage
This is a sample output from the show ipv6 ospf interface command displaying the OSPFv3 interface information:
#show ipv6 ospf interface
eth0 is up, line protocol is up
Interface ID 3, Instance ID 0, Area 0.0.0.0
IPv6 Link-Local Address fe80::248:54ff:fec0:f32d/10
Router ID 1.2.3.4, Network Type BROADCAST, Cost: 10
Transmit Delay is 1 sec, State Backup, Priority 1
Designated Router (ID) 5.6.7.8
Interface Address fe80::203:47ff:fe4c:776e
Backup Designated Router (ID) 1.2.3.4
Interface Address fe80::248:54ff:fec0:f32d
Timer interval configured, Hello 10, Dead 40, Wait 40, Retransmit 5
Hello due in 00:00:01
Neighbor Count is 1, Adjacent neighbor count is 1
 
If Hello Suppression is enabled
RTR_B#show ipv6 ospf interface
eth1 is up, line protocol is up
Interface ID 3
IPv6 Prefixes
fe80::5054:ff:fef3:f166/64 (Link-Local Address)
2001::2/64
OSPFv3 Process (1), Area 0.0.0.0, Instance ID 66
Router ID 2.2.2.2, Network Type P2MP-NBMA, Cost: 1, TE Metric: 1
Reduce LSA Flooding
Transmit Delay is 1 sec, State Point-To-Point, Priority 1
Timer interval configured, Hello 30, Dead 120, Wait 120, Retransmit 5
Hello due in 00:00:32
Neighbor Count is 1, Adjacent neighbor count is 1
Suppress hello for 1 neighbor(s)
Hello received 2 sent 3, DD received 4 sent 6
LS-Req received 1 sent 1, LS-Upd received 7 sent 4
LS-Ack received 0 sent 3, Discarded 0
Table 2-69 explains the fields for each ospf interface entry.
 
Table 2-69: show ipv6 ospf interface output details
Field
Description
Interface Type and whether it is up or down.
Status of the interface type.
Line protocol
Status of the line protocol.
Interface ID
Interface for which information is displayed.
Instance ID
For running multiple instances of OSPFv3 on the router
Area
Area ID in A.B.C.D form
IPv6 Link-Local Address
link-local address is an IPv6 unicast address – cannot communicate to link-local addresses that are outside the directly connected network. In IPv6 (X:X::X:X/M) form.
Router ID
As stated – In A.B.C.D form.
Network Type
One of the following:
Ethernet is Broadcast
Serial p2p non-broadcast
NBMA – Non-Broadcast MultiAccess (NBMA) media
cost
The cost of sending packets over this interface – range is 1 to 65535.
Transmit 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.
Priority
OSPFv3 router priority for the interface. The range is 0 to 255. A router with priority 0 can never become the designated router, the default is 1.
Designated Router (ID)
The ID number of the Designated Router (DR).
Interface Address
The IPV6 address of this device.
Backup Designated Router
The ID number or the Backup Designated Router (BDR).
Interface Address
The IPv6 address of the Backup Designated Router.
Timer interval configured
The timer values of the following instances: Hello, Dead, Wait, Retransmit.
Hello due in
The countdown for receiving the next Hello packet.
Neighbor Count is
Number of neighbor count.
Adjacent neighbor count is
Number of adjacent neighbor count.
show ipv6 ospf neighbor
Use this command to display information about an OSPFv3 neighbor.
Command Syntax
show ipv6 ospf neighbor
show ipv6 ospf WORD neighbor
show ipv6 ospf neighbor INTERFACE
show ipv6 ospf WORD neighbor INTERFACE
show ipv6 ospf neighbor INTERFACE detail
show ipv6 ospf WORD neighbor INTERFACE detail
show ipv6 ospf neighbor detail
show ipv6 ospf WORD neighbor detail
show ipv6 ospf neighbor A.B.C.D
show ipv6 ospf WORD neighbor A.B.C.D
Parameters
WORD
Tag value to use as a “match” value for controlling redistribution via route maps.
INTERFACE
Display the name of the Interface
A.B.C.D
Neighbor IP address.
detail
Details of neighbors
Command Mode
Privileged Exec mode and Exec Mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
This is a sample output from the show ipv6 ospf neighbor command displaying information about the OSPFv3 neighbor.
#show ipv6 ospf neighbor
OSPFv3 Process (*null*)
Neighbor ID Pri State Dead Time Interface Instance ID
5.6.7.8 1 Full/DR 00:00:38 eth0 0
 
If Hello Suppression is enabled
RTR_B#
RTR_B#show ipv6 ospf neighbor
OSPFv3 Process (1)
Neighbor ID Pri State Dead Time Interface Instance ID
1.1.1.1 1 Full/ - inactive eth1 0
4.4.4.4 1 Full/DR 00:00:40 eth2 0
4.4.4.4 1 Full/ - inactive VLINK1 0
RTR_B#
 
RTR_B#
RTR_B#show ipv6 ospf neighbor detail
Neighbor 1.1.1.1, interface address fe80::5054:ff:feb3:d3bc
In the area 0.0.0.0 via interface eth1
Neighbor priority is 1, State is Full, 7 state changes
Hello is suppressed
DR is 0.0.0.0 BDR is 0.0.0.0
Options is 0x000133 (AF|*|*|DC|R|-|-|E|V6)
Dead timer due in inactive
Database Summary List 0
Link State Request List 0
Table 2-70 explains the fields for each ospf neighbor entry.
 
Table 2-70: show ipv6 ospf neighbor output details 
Field
Description
Neighbor
Router ID of the neighbor router.
interface address
IPv6 address of the neighbor’s interface.
In the area
The neighbor router’s area ID.
via interface
Neighbor router’s interface name.
Neighbor Priority is
OSPFv3 router priority for the interface. The range is 0 to 255. A router with priority 0 can never become the designated router, the default is 1.
State
The Link State Address (LSA) of the neighbor, and there has been 7 state changes, and sending Hello packets is suppressed.
DR
Designated Router (DR) ID
BDR
Backup Designated Router (BDR) ID
Options is
The hexadecimal representation of the seven bits in the Options Field of Hello packets (see RFC 5340):
AF-bit – Address Family bit.
V6-bit – If this bit is clear, the router/link should be excluded from IPv6 routing calculations.
E-bit – This bit describes the way AS-external-LSAs are flooded.
N-bit – This bit indicates whether or not the router is attached to an NSSA.
R-bit – This bit (the `Router' bit) indicates whether the originator is an active router. If the router bit is clear, then routes that transit the advertising node cannot be computed. Clearing the router bit is appropriate for a multi-homed host that wants to participate in routing, but does not want to forward non-locally addressed packets.
DC-bit – This bit describes the router's handling of demand circuits, as specified in [DEMAND].
*-bit – These bits are reserved for migration of OSPFv2 protocol extensions.
Dead timer due in
The countdown timer for marking neighbor connections dead. In this example, the Deat Timer has been deactivated.
Database Summary List
Describes routes to IPv6 address prefixes that belong to other areas.
Link State Request List
Sent or received when Link-State Request packets finds that parts of the Link State Database are out of date.
Timer interval configured
The set values for the following packet types: Hello, Dead, Wait, Retransmit.
Neighbor Count
The number of known neighbors.
Adjacent neighbor count
The number of directly adjacent neighbors.
show ipv6 ospf route
Use this command to display the IPv6 routing table for OSPFv3.
The routes can be displayed in two ways:
Each routing entry in a single-line
Each routing entry in multiple lines
By default, the routing table is displayed in the multi-line format. For a single line display, give the ipv6 ospf display route single-line command.
Command Syntax
show ipv6 ospf route
show ipv6 ospf WORD route
Parameters
WORD
Tag value to use as a “match” value for controlling redistribution via route maps.
Command Mode
Privileged Exec mode and Exec mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
The following is sample output in single-line format:
#show ipv6 ospf route
Destination Metric Next-hop
3ffe:1:1::/48 10 directly connected, eth0
3ffe:2:1::/48 10 directly connected, eth0
3ffe:2:2::/48 10 directly connected, eth0
3ffe:3:1::/48 10 directly connected, eth0
3ffe:3:2::/48 10 directly connected, eth0
3ffe:3:3::/48 10 directly connected, eth0
E2 3ffe:100:1::1/128 10/20 via fe80::203:47ff:fe4c:776e, eth0
E2 3ffe:100:2::1/128 10/20 via fe80::203:47ff:fe4c:776e, eth0
E2 3ffe:100:3::1/128 10/20 via fe80::203:47ff:fe4c:776e, eth0
IA 3ffe:101:1::/48 20 via fe80::203:47ff:fe4c:776e, eth0
IA 3ffe:101:2::/48 20 via fe80::203:47ff:fe4c:776e, eth0
IA 3ffe:101:3::/48 20 via fe80::203:47ff:fe4c:776e, eth0
The following is sample output in multi-line format:
#show ipv6 ospf route
Destination Metric
Next-hop Interface
3ffe:1:1::/48 10
-- eth0
3ffe:2:1::/48 10
-- eth0
3ffe:2:2::/48 10
-- eth0
3ffe:3:1::/48 10
-- eth0
3ffe:3:2::/48 10
-- eth0
3ffe:3:3::/48 10
-- eth0
E2 3ffe:100:1::1/128 10/20
fe80::203:47ff:fe4c:776e eth0
Table 2-71 explains the fields for each ospf route entry.
 
Table 2-71: show ipv6 ospf route output details
Field
Description
IP address
IP address of the remote network.
Metric
For OSPF the metric is cost, which indicates the best quality path to use to forward packets.
Next hop router IP address
This route is available through the next hop router located at this IP address. This identifies exactly where packets go when they match this route.
Outgoing interface name
Interface used to get to the next-hop address for this route.
 
show ipv6 route fast-reroute
Use this command to display loop-free alternate routes with alternate next hops.
Command Syntax
show ipv6 route fast-reroute
Parameters
None
Command Mode
Privileged Exec mode
Applicability
This command was introduced before OcNOS version 1.3.
Usage
#show ipv6 route fast-reroute
 
show ipv6 ospfv3 topology
Use this command to display information about OSPFv3 topology for each area.
Command Syntax
show ipv6 ospfv3 topology
show ipv6 ospfv3 WORD topology
show ipv6 ospfv3 topology area (A.B.C.D|<0-4294967295>)
show ipv6 ospfv3 WORD topology area (A.B.C.D|<0-4294967295>)
Parameters
WORD
Tag value to use as a “match” value for controlling redistribution via route maps.
area
OSPFv3 area ID
A.B.C.D
OSPFv3 Area ID in IPv4 address format.
<0-4294967295>
 
OSPFv3 Area ID as a decimal value.
Command Mode
Privileged Exec mode and Exec Mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
#show ipv6 ospfv3 topology
OSPFv3 paths to Area (0.0.0.0) routers
Router ID Bits Metric Next-Hop Interface
1.2.3.4 --
5.6.7.8 E 10 5.6.7.8 eth0
Example
#show ipv6 ospfv3 topology
 
OSPFv3 paths to Area (0.0.0.0) routers
Router ID Bits Metric Next-Hop Interface
1.2.3.4 --
5.6.7.8 E 10 5.6.7.8 eth0
Table 2-72 explains the fields for each ospfv3 topology entry.
 
Table 2-72: show ipv6 ospfv3 topology output details
Field
Description
OSPFv3 path to Area
Area ID in IPv4 format.
Router ID
ID in IPv4 format,
Bits
Bits appended to packets:
V-bit Indicates whether the advertising router is an endpoint of a virtual link.
E-bit Indicates whether the advertising router is an Autonomous System Border Router (ASBR).
B-bit Indicates whether the advertising router is an Area Border Router (ABR).
W-bit When set, the router is a wild-card multicast receiver.
Metric
The value of ospfv3 metric.
Next-Hop
The next-hop identifier.
Interface
The interface name through which the virtual link extends.
show ipv6 ospf virtual-links
Use this command to display information about OSPFv3 virtual-links.
Command Syntax
show ipv6 ospf virtual-links
show ipv6 ospf WORD virtual-links
Parameters
WORD
Tag value to use as a “match” value for controlling redistribution via route maps.
Command Mode
Privileged Exec mode and Exec Mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
#show ipv6 ospf virtual-links
Virtual Link VLINK1 to router 5.6.7.8 is up
Transit area 0.0.0.1 via interface eth0, instance ID 0
Local address 3ffe:1234:1::1/128
Remote address 3ffe:5678:3::1/128
Transmit Delay is 1 sec, State Point-To-Point,
Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5
Hello due in 00:00:01
Adjacency state Up
 
If Hello Suppression is enabled
RTR_B#show ipv6 ospf virtual-links
Virtual Link VLINK1 to router 4.4.4.4 is up
Transit area 0.0.0.1 via interface eth2, instance ID 0
Hello suppression Enabled
DoNotAge LSA allowed
Local address 2002::1/128
Remote address 2002::2/128
Transmit Delay is 1 sec, State Point-To-Point,
Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5
Hello due in inactive
Adajcency state Full
RTR_B#
RTR_B#
Table 2-73 explains the fields for each ospf virtual-links entry.
 
Table 2-73: show ipv6 ospf virtual-links output details
Field
Description
Virtual Link
Virtual link name, the router ID to which it is connected, and the state of the link.
Transit area
Transit area ID, the interface it uses, and its instance ID – an Instance ID should default to 0. It is only necessary to assign a value other than 0 on those links that will contain multiple separate communities of OSPF routers.
Local address
The local IPV6 address and subnet mask.
Remote address
The remote IPv6 address and subnet mask.
Transmit 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. The state is point-to-point.
Timer intervals configured
The configured values in seconds of the following timers: Hello, Dead, Wait, Retransmit.
Hello due in
A countdown timer that indicates when the next Hello packet should arrive.
Adjacency State
Whether the adjacency state is either up or down.
show ipv6 vrf
Use this command to list information about VRFs.
Command Syntax
show ipv6 vrf (WORD|)
Parameter
WORD
VPN Routing/Forwarding instance name.
Command Mode
Exec mode and Privileged Exec mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
The following is a sample output of the show ipv6 vrf command displaying VRF information:
#show ipv6 vrf
Name Interfaces
 
qa eth0
you eth1
myVRF eth2
Table 2-74 explains the fields.
 
Table 2-74: show ipv6 vrf output details
Field
Description
Name
Name of the interface.
Interfaces
Type of an interface.
shutdown
Use this command to temporarily shut down a protocol in the least disruptive manner and to notify its neighbors that it is going away.
Use the no parameter of this command, not to temporarily shut a protocol.
Command Syntax
shutdown
no shutdown
Parameter
None
Default
None
Command Mode
Router mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
#configure terminal
(config)#router ipv6 ospf
(config-router)#shutdown
 
#configure terminal
(config)#router ipv6 ospf
(config-router)#no shutdown
snmp restart ospf6
Use this command restart SNMP in OSPFv3
Command Syntax
snmp restart ospf6
Parameter
None
Default
By default, SNMP restart is disabled
Command Mode
Configure mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#snmp restart ospf6
 
summary-address
Use this command to summarize or suppress external routes with the specified address range.
An address range is a pairing of a starting address and a mask that is almost the same as IP network number. For example:
If the specified IPV6 address range is 2020:100:100:2000::/53, it matches 2020:100:100:2222::/64, 2020:100:100:2666::/64 and so on.
If the specified IPV4 address range is 192.168.0.0/255.255.240.0, it matches 192.168.1.0/24, 192.168.4.0/22, 192.168.8.128/25 and so on.
Redistributing routes from other protocols into OSPF requires the router to advertise each route individually in an external LSA. Use this command to advertise one summary route for all redistributed routes covered by a specified network address and mask. This minimizes the size of the OSPF link state database.
Use the no form this command to remove summary addresses.
Command Syntax
summary-address X:X::X:X/M (not-advertise|(all-tag (<0-4294967295> ))| ) (translate-tag (<0-4294967295>) | )
summary-address A.B.C.D/M (not-advertise|tag <0-4294967295>|)
no summary-address A.B.C.D/M
no summary-address X:X::X:X/M (not-advertise|all-tag|translate-tag)
no summary-address A.B.C.D/M (not-advertise|tag)
Parameters
X:X::X:X/M
The range of addresses given as IPv6 starting address and a mask.
A.B.C.D/M
The range of addresses given as IPv4 starting address and a mask.
not-advertise
Suppress routes that match the range.
tag
Tag value to use as a “match” value for controlling redistribution via route maps.
<0-4294967295>
 
Set a tag value. The default is 0.
all-tag
Set tag for all summarized type-5, translated type5 and type-7 LSA.
translate-tag
Set tag only for summarized translated type-5 LSA.
Default
By default, summary-address value is 0
Command Mode
Router mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
The following example uses the summary-address command to aggregate external LSAs that match the network 172.16.0.0/24 and assign a tag value of 3.
#configure terminal
(config)#router ipv6 ospf
(config-router)#summary-address 2020:100:100:2000::/53 all-tag 3
timers spf exp
Use this command to set the Shortest-Path First (SPF) best-path schedule minimum and maximum delay between receiving a change to SPF calculation in milliseconds.
Use no parameter of this command to unset the SPF best-path schedule.
Command Syntax
timers spf exp <0-2147483647> <0-2147483647>
no timers spf exp
Parameters
<0-2147483647>
 
The minimum delay in milliseconds between receiving a change to SPF calculation.
<0-2147483647>
 
The maximum delay in milliseconds between receiving a change to SPF calculation.
Default
Default minimum delay: 500 milliseconds
Default maximum delay: 50000 milliseconds (50 seconds)
Command Mode
Router mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
#configure terminal
(config)#router ipv6 ospf
(config-router)#timers spf exp 300 300