7.1. OSPFv3 Commands
7.1.1. area default-cost
Command Purpose
To specify a cost for the default summary route sent into a stub, use the area default-cost command in router configuration mode.
To remove the assigned default route cost, use the no form of this command.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
|
AQ-N5000 |
7.0 |
Base |
|
AQ-N6000 |
7.0 |
Base |
Command Syntax
area AREA-ID default-cost COST
no area AREA-ID default-cost
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
AREA-ID |
Identifier of the area for which authentication is to be enabled. The identifier can be specified as either a decimal value or an IP address |
IP address or number in the range of 0-4294967295 |
COST |
Cost for the default summary route used for a stub. |
0-16777215 |
Command Mode
Router Configuration
Default
The cost value is 1 by default.
Usage
The command is used only on an Area Border Router (ABR) attached to a stub.
There are two stub area router configuration commands: the stub and default-cost options of the area command. In all routers and access servers attached to the stub area, the area should be configured as a stub area using the stub option of the area command. Use the default-cost option only on an ABR attached to the stub area. The default-cost option provides the metric for the summary default route generated by the ABR into the stub area.
Examples
The following example assigns a default cost of 20 to stub network 10.0.0.0:
Switch# configure terminal
Switch(config)# router ipv6 ospf 201
Switch(config-router)#area 10.0.0.0 stub
Switch(config-router)#area 10.0.0.0 default-cost 20
7.1.2. area range
Command Purpose
To consolidate and summarize routes at an area boundary, use the area range command in router configuration mode.To disable this function, use the no form of this command.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
|
AQ-N5000 |
7.0 |
Base |
|
AQ-N6000 |
7.0 |
Base |
Command Syntax
area AREA-ID range ADDRESS/PREFIX-LENGTH ( advertise | not-advertise | )
no area AREA-ID range ADDRESS/PREFIX-LENGTH
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
AREA-ID |
Identifier of the area for which authentication is to be enabled. The identifier can be specified as either a decimal value or an IP address |
IP address or number in the range of 0-4294967295 |
ADDRESS |
IPv6 address |
IPv6 Address |
PREFIX-LENGTH |
Prefix length of the address |
1-128 |
advertise |
Advertise this range (default) |
- |
not-advertise |
Do Not Advertise this range |
- |
Command Mode
Router Configuration
Default
This command is disabled by default.
Usage
The area range command is used only with Area Border Routers (ABRs). It is used to consolidate or summarize routes for an area. The result is that a single summary route is advertised to other areas by the ABR. Routing information is condensed at area boundaries. External to the area, a single route is advertised for each address range. This behavior is called route summarization.
Multiple area router configuration commands specifying the range option can be configured. Thus, OSPF can summarize addresses for many different sets of address ranges.
Examples
The following example specifies one summary route to be advertised by the ABR to other areas for all subnets on area 10:
Switch# configure terminal
Switch(config)# router ipv6 ospf 201
Switch(config-router)#area 10 range 2004::1/16
Related Commands
None
7.1.3. area stub
Command Purpose
To define an area as a stub area, use the area stub command in router configuration mode.
To disable this function, use the no form of this command.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
|
AQ-N5000 |
7.0 |
Base |
|
AQ-N6000 |
7.0 |
Base |
Command Syntax
area AREA-ID stub ( no-summary | )
no area AREA-ID stub ( no-summary | )
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
AREA-ID |
Identifier of the area for which authentication is to be enabled. The identifier can be specified as either a decimal value or an IP address |
IP address or number in the range of 0-4294967295 |
no-summary |
(Optional) Prevents an Area Border Router (ABR) from sending summary link advertisements into the stub area |
- |
Command Mode
Router Configuration
Default
No stub area is defined.
Usage
You must configure the area stub command on all routers and access servers in the stub area. Use the area router configuration command with the default-cost keyword to specify the cost of a default internal router sent into a stub area by an ABR.
There are two stub area router configuration commands: the stub and default-cost options of the area router configuration command. In all routers attached to the stub area, the area should be configured as a stub area using the stub keyword of the area command. Use the default-cost keyword only on an ABR attached to the stub area. The default-cost keyword provides the metric for the summary default route generated by the ABR into the stub area.
To further reduce the number of link-state advertisements (LSAs) sent into a stub area, you can configure the no-summary keyword on the ABR to prevent it from sending summary LSAs (LSA type 3) into the stub area.
Examples
The following example assigns a default cost of 20 to stub network 10.0.0.0:
Switch# configure terminal
Switch(config)# router ipv6 ospf 201
Switch(config-router)#area 10.0.0.0 stub
Switch(config-router)#area 10.0.0.0 default-cost 20
Related Commands
None
7.1.4. auto-cost
Command Purpose
To control how Open Shortest Path First Version3 (OSPFv3) calculates default metrics for the interface; use the auto-cost command in router configuration mode.
To assign cost based only on the interface type, use the no form of this command.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
|
AQ-N5000 |
7.0 |
Base |
|
AQ-N6000 |
7.0 |
Base |
Command Syntax
auto-cost reference-bandwidth RATE
no auto-cost reference-bandwidth
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
RATE |
Rate in Mbps (bandwidth). The default is 100 |
1 - 4294967 Mbps |
Command Mode
Router Configuration
Default
100 Mbps
Usage
The value set by the ipv6 ospf cost command overrides the cost resulting from the auto-cost command.
Examples
The following example changes the cost of the cost link to 1GBps:
Switch# configure terminal
Switch(config)# router ipv6 ospf 1
Switch(config-router)#auto-cost reference-bandwidth 1000
Related Commands
ipv6 ospf cost
7.1.5. clear ipv6 ospf
Command Purpose
To clear routing information based on the Open Shortest Path First (OSPF) routing process ID, use the clear ipv6 ospf command in privileged EXEC mode.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
|
AQ-N5000 |
7.0 |
Base |
|
AQ-N6000 |
7.0 |
Base |
Command Syntax
clear ipv6 ospf ( PID | ) process
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
PID |
(Optional) Process ID |
0-65535 |
Command Mode
Privileged EXEC
Default
None
Usage
Use the PID argument to clear only one OSPFv3 process. If the PID argument is not specified, all OSPFv3 processes are cleared.
Examples
The following example clears all OSPFv3 processes:
Switch# clear ipv6 ospf process
Related Commands
None
7.1.6. default-information originate (OSPFv3)
Command Purpose
To generate a default external route into an Open Shortest Path First Version3 (OSPFv3) routing domain, use the default-information originate command in router configuration mode.
To disable this feature, use the no form of this command.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
|
AQ-N5000 |
7.0 |
Base |
|
AQ-N6000 |
7.0 |
Base |
Command Syntax
default-information originate
default-information originate { metric METRIC | metric-type TYPE ) | route-map ROUTE_MAP | always }
no default-information originate
no default-information originate { metric | metric-type | route-map | always }
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
always |
(Optional) Always advertises the default route regardless of whether the system has a default route |
Up to 20 characters |
METRIC |
metric-value (Optional) Metric used for generating the default route. If you omit a value and do not specify a value using the default-metric router configuration command, the default metric value is 10. The value used is specific to the protocol |
0-16777214 |
TYPE |
(Optional) External link type associated with the default route advertised into the OSPF routing domain. It can be one of the following values |
1,2 |
ROUTE_MAP |
Route map reference |
- |
Command Mode
Router Configuration
Default
This command is disabled by default.
Usage
Whenever you use the redistribute or the default-information router configuration command to redistribute routes into an OSPFv3 routing domain, the switch automatically becomes an autonomous System Boundary Router (ASBR). However, an ASBR does not, by default, generate a default route into the OSPFv3 routing domain. The system still must have a default route for itself before it generates one, except when you have specified the always keyword.
Examples
The following example specifies a metric of 100 for the default route redistributed into the OSPFv3 routing domain and an external metric type of Type 1:
Switch# configure terminal
Switch(config)# router ipv6 ospf 109
Switch(config-router)# redistribute rip metric 100
Switch(config-router)#default-information originate metric 100 metric-type 1
Related Commands
redistribute (OSPFv3)
7.1.7. default-metric (OSPFv3)
Command Purpose
To set default metric values for the Open Shortest Path First Version3 (OSPFv3) routing protocol, use the default-metric command in router configuration mode.
To return to the default state, use the no form of this command.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
|
AQ-N5000 |
7.0 |
Base |
|
AQ-N6000 |
7.0 |
Base |
Command Syntax
default-metric METRIC-VALUE
no default-metric ( METRIC-VALUE )
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
METRIC-VALUE |
Default metric value appropriate for the specified routing protocol.Default metric value appropriate for the specified routing protocol.Built-in, automatic metric translations, as appropriate for each routing protocol. The metric of redistributed connected and static routes is set to 0 |
0-16777214 |
Command Mode
Router Configuration
Default
1 for BGP routes
20 for others
Usage
The default-metric command is used in conjunction with the redistribute router configuration command to cause the current routing protocol to use the same metric value for all redistributed routes. A default metric helps solve the problem of redistributing routes with incompatible metrics. Whenever metrics do not convert, using a default metric provides a reasonable substitute and enables the redistribution to proceed.
Examples
The following example shows a router in autonomous system using both the Routing Information Protocol (RIPng) and the OSPFv3 routing protocols. The example advertises OSPFv3-derived routes using RIPng and assigns the Internal Gateway Protocol (IGP)-derived routes a RIPng metric of 10:
Switch# configure terminal
Switch(config)# router ipv6 ospf
Switch(config-router)#default-metric 10
Switch(config-router)# redistribute ripng
Related Commands
redistribute (OSPFv3)
7.1.8. distance (OSPFv3)
Command Purpose
To define Open Shortest Path First Version3 (OSPFv3) route administrative distances based on route type, use the distance command in router configuration mode.
To restore the default value, use the no form of this command.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
|
AQ-N5000 |
7.0 |
Base |
|
AQ-N6000 |
7.0 |
Base |
Command Syntax
distance { DISTANCE | ospfv3 [ external DIST1 ] [ inter-area DIST2 ] | [ intra-area DIST3 ] }
no distance { DISTANCE | ospfv3 }
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
DISTANCE |
Administrative distance. |
1-254.(routes with a distance value of 255 are not installed in the routing table) |
external DIST1 |
(Optional) Sets the distance for routes from other routing domains, learned by redistribution. Range is 1 to 255. The default value is 110 |
1-254 |
inter-area DIST2 |
(Optional) Sets the distance for all routes from one area to another area. Range is 1 to 255. The default value is 110 |
1-254 |
intra-area DIST3 |
(Optional) Sets the distance for all routes within an area. Range is 1 to 255. The default value is 110 |
1-254 |
Command Mode
Router Configuration
Default
DIST1: 110
DIST2: 110
DIST3: 110
Usage
You may specify one of the keywords or use distance only to apply to all types of routes.
The distance command allows you to set a distance for an entire group of routes, rather than a specific route that passes an access list.
A common reason to use the distance command is when you have multiple OSPFv3 processes with mutual redistribution, and you want to prefer internal routes from one over external routes from the other.
Examples
The following example shows a router in autonomous system using both the Routing Information Protocol (RIPng) and the OSPFv3 routing protocols. The example advertises OSPFv3-derived routes using RIPng and assigns the Internal Gateway Protocol (IGP)-derived routes a RIPng distance of 90:
Switch# configure terminal
Switch(config)# router ipv6 ospf
Switch(config-router)#distance 90
Switch(config-router)# redistribute ripng
Related Commands
None
7.1.9. distribute-list (OSPFv3)
Command Purpose
To filter networks received in updates or suppress networks from being advertised in updates, use the distribute-list command in router configuration mode.
To cancel this function, use the no form of this command.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
|
AQ-N5000 |
7.0 |
Base |
|
AQ-N6000 |
7.0 |
Base |
Command Syntax
distribute-list ACCESSS-LIST-NAME ( in | out ( bgp | connected | ospfv3 | ripng | static ) )
no distribute-list ACCESSS-LIST-NAME ( in | out ( bgp | connected | ospfv3 | ripng | static ) )
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
ACCESSS-LIST-NAME |
Name of an access list to be applied |
Up to 20 characters |
in |
Filter networks received in updates |
- |
out |
Suppress networks from being advertised in updates |
- |
Command Mode
Router Configuration
Default
This command is disabled by default.
Usage
This command must specify an access list.
Examples
In the following example, OSPFv3 process 1 is configured to accept two prefixes, prefix 2001:1:1::1/32 and prefix 3001:1:1::1/32:
Switch# configure terminal
Switch(config)# ipv6 access-list fiter-as-router
Switch(config-ip-acl)# permit any 2001:1:1::1/32 any
Switch(config-ip-acl)# permit any 3001:1:1::1/32 any
Switch(config-ip-acl)#deny any any any
Switch(config)# router ipv6 ospf 1
Switch(config-router)#distribute-list acl1 in
Related Commands
ipv6 access-list
7.1.10. enable db-summary-opt
Command Purpose
Use this command to enable optimize the process when building ospfv3 neighbor ship.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
|
AQ-N5000 |
7.0 |
Base |
|
AQ-N6000 |
7.0 |
Base |
Command Syntax
enable db-summary-opt
no enable db-summary-opt
Command Mode
Router Configuration
Default
Disable
Usage
After this function enabled, if the router receives a DD packet which has newer LSA, the router should delete the LSA in the database summary list, and should not send this LSA to its neighbor.
Examples
The following example enables this optimization:
Switch# configure terminal
Switch(config)# router ipv6 ospf 1
Switch(config-if)# enable db-summary-opt
Switch# configure terminal
Switch(config)# router ipv6 ospf 1
Switch(config-router)# enable db-summary-opt
Related Commands
None
7.1.11. ipv6 ospf cost
Command Purpose
To explicitly specify the cost of sending a packet on an interface, use the ipv6 ospf cost command in interface configuration mode. To reset the path cost to the default value, use the no form of this command.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
|
AQ-N5000 |
7.0 |
Base |
|
AQ-N6000 |
7.0 |
Base |
Command Syntax
ipv6 ospf cost INTERFACE-COST ( instance ID | )
no ipv6 ospf cost ( instance ID | )
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
INTERFACE-COST |
Unsigned integer value expressed as the link-state metric. |
1-65535 |
Command Mode
Interface Configuration
Default
No default cost is predefined.
Usage
You can set the metric manually using this command, if you need to change the default. Using the bandwidth command changes the link cost as long as this command is not used.
The link-state metric is advertised as the link cost in the router link advertisement.
In general, the path cost is calculated using the following formula:
Reference Bandwidth / bandwidth
Examples
The following example sets the interface cost value to 65:
Switch# configure terminal
Switch(config)# interface eth-0-1
Switch(config-if)# no switchport
Switch(config-if)# ipv6 ospf cost 65
Related Commands
auto-cost reference bandwidth
7.1.12. ipv6 ospf dead-interval
Command Purpose
To set the interval during which at least one hello packet must be received from a neighbor before the router declares that neighbor down, use the ipv6 ospf dead-interval command in interface configuration mode. To restore the default value, use the no form of this command.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
|
AQ-N5000 |
7.0 |
Base |
|
AQ-N6000 |
7.0 |
Base |
Command Syntax
ipv6 ospf dead-interval SECONDS ( instance ID | )
no ipv6 ospf dead-interval ( instance ID | )
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
SECONDS |
Interval (in seconds) during which the router must receive at least one hello packet from a neighbor or else that neighbor is removed from the peer list and does not participate in routing. The value must be the same for all nodes on the network |
1-65535 |
ID |
Instance ID, the default value is 0. |
0-255 |
Command Mode
Interface Configuration
Default
The neighbor is considered as dead in 40s by default.
Usage
The dead interval is advertised in OSPFv3 hello packets. This value must be the same for all networking devices on a specific network.
Specifying a smaller dead interval (seconds) will give faster detection of a neighbor being down and improve convergence, but might cause more routing instability.
Examples
The following example sets the OSPFv3 dead interval to 20 seconds:
Switch# configure terminal
Switch(config)# interface eth-0-1
Switch(config-if)# no switchport
Switch(config-if)# ipv6 ospf dead-interval 20
Related Commands
ipv6 ospf hello-interval
show ipv6s ospf interface
7.1.13. ipv6 ospf hello-interval
Command Purpose
To specify the interval between hello packets that the switch sends on the interface, use the ip ospf hello-interval command in interface configuration mode.
To return to the default time, use the no form of this command.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
|
AQ-N5000 |
7.0 |
Base |
|
AQ-N6000 |
7.0 |
Base |
Command Syntax
ip ospf hello-interval SECONDS ( instance ID | )
no ip ospf hello-interval ( instance ID | )
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
SECONDS |
Interval (in seconds) during which the router must receive at least one hello packet from a neighbor or else that neighbor is removed from the peer list and does not participate in routing. The value must be the same for all nodes on the network |
1-65535 |
ID |
Instance ID, the default value is 0. |
0-255 |
Command Mode
Interface Configuration
Default
10 seconds (Ethernet)
30 seconds (non-broadcast)
Usage
This value is advertised in the hello packets. The smaller the hello interval, the faster topological changes will be detected, but more routing traffic will ensue. This value must be the same for all routers and access servers on a specific network.
Examples
The following example sets the interval between hello packets to 15 seconds:
Switch# configure terminal
Switch(config)# interface eth-0-1
Switch(config-if)# no switchport
Switch(config-if)# ipv6 ospf hello-interval 15
Related Commands
ipv6 ospf dead-interval
7.1.14. ipv6 ospf mtu-ignore
Command Purpose
To disable Open Shortest Path First Version3 (OSPFv3) maximum transmission unit (MTU) mismatch detection on receiving Database Descriptor (DBD) packets, use the ipv6 ospf mtu-ignore command in interface configuration mode.
To reset to default, use the no form of this command.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
|
AQ-N5000 |
7.0 |
Base |
|
AQ-N6000 |
7.0 |
Base |
Command Syntax
ipv6 ospf mtu-ignore ( instance ID | )
no ipv6 ospf mtu-ignore ( instance ID | )
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
ID |
Instance ID, the default value is 0. |
0-255 |
Command Mode
Interface Configuration
Default
OSPFv3 MTU mismatch detection is enabled.
Usage
OSPFv3 checks whether neighbors are using the same MTU on a common interface. This check is performed when neighbors exchange DBD packets. If the receiving MTU in the DBD packet is higher than the IP MTU configured on the incoming interface, OSPFv3 adjacency will not be established.
Examples
The following example disables MTU mismatch detection on receiving DBD packets:
Switch# configure terminal
Switch(config)# interface eth-0-1
Switch(config-if)# no switchport
Switch(config-if)# ipv6 ospf mtu-ignore
Related Commands
None
7.1.15. ipv6 ospf priority
Command Purpose
To set the router priority, which helps determine the designated router for this network, use the ip ospf priority command in interface configuration mode.
To return to the default value, use the no form of this command.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
|
AQ-N5000 |
7.0 |
Base |
|
AQ-N6000 |
7.0 |
Base |
Command Syntax
ipv6 ospf priority NUMBER-VALUE ( instance ID | )
no ipv6 ospf priority ( instance ID | )
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
NUMBER-VALUE |
A number value that specifies the priority of the router. |
0-255 |
ID |
Instance ID, the default value is 0. |
0-255 |
Command Mode
Interface Configuration
Default
Priority of 1
Usage
When two routers attached to a network both attempt to become the designated router, the one with the higher router priority takes precedence. If there is a tie, the router with the higher router ID takes precedence. A router with a router priority set to zero is ineligible to become the designated router or backup designated router. Router priority is configured only for interfaces to multi-access networks (in other words, not to point-to-point networks).
This priority value is used when you configure Open Shortest Path First Version3 (OSPFv3) for non-broadcast networks using the neighbor router configuration command for OSPFv3.
Examples
The following example sets the router priority value to 4:
Switch# configure terminal
Switch(config)# interface eth-0-1
Switch(config-if)# no switchport
Switch(config-if)# ipv6 ospf priority 4
Related Commands
None
7.1.16. ipv6 ospf retransmit-interval
Command Purpose
To specify the time between link-state advertisement (LSA) retransmissions for adjacencies belonging to the interface, use the ipv6 ospf retransmit-interval command in interface configuration mode.
To return to the default value, use the no form of this command.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
|
AQ-N5000 |
7.0 |
Base |
|
AQ-N6000 |
7.0 |
Base |
Command Syntax
ipv6 ospf retransmit-interval SECONDS ( instance ID | )
no ipv6 ospf retransmit-interval ( instance ID | )
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
SECONDS |
Time (in seconds) between retransmissions. It must be greater than the expected round-trip delay between any two routers on the attached network. |
1-65535 seconds |
ID |
Instance ID, the default value is 0. |
0-255 |
Command Mode
Interface Configuration
Default
5 seconds
Usage
When a router sends an LSA to its neighbor, it keeps the LSA until it receives back the acknowledgment message. If the router receives no acknowledgment, it will resend the LSA. The setting of this parameter should be conservative, or needless retransmission will result. The value should be larger for serial lines and virtual links.
Examples
The following example sets the retransmit interval value to 8 seconds:
Switch# configure terminal
Switch(config)# interface eth-0-1
Switch(config-if)# no switchport
Switch(config-if)# ipv6 ospf retransmit-interval 8
Related Commands
None
7.1.17. ipv6 ospf transmit-delay
Command Purpose
To set the estimated time required to send a link-state update packet on the interface, use the ipv6 ospf transmit-delay command in interface configuration mode. To return to the default value, use the no form of this command.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
|
AQ-N5000 |
7.0 |
Base |
|
AQ-N6000 |
7.0 |
Base |
Command Syntax
ipv6 ospf transmit-delay SECONDS ( instance ID | )
no ipv6 ospf transmit-delay ( instance ID | )
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
SECONDS |
Time (in seconds) between retransmissions. It must be greater than the expected round-trip delay between any two routers on the attached network. |
1-65535 seconds |
ID |
Instance ID, the default value is 0. |
0-255 |
Command Mode
Interface Configuration
Default
1 second
Usage
Link-state advertisements (LSAs) in the update packet must have their ages incremented by the amount specified in the seconds argument before transmission. The value assigned should take into account the transmission and propagation delays for the interface.
If the delay is not added before transmission over a link, the time in which the LSA propagates over the link is not considered. This setting has more significance on very low-speed links.
Examples
The following example sets the retransmit delay value to 3 seconds:
Switch# configure terminal
Switch(config)# interface eth-0-1
Switch(config-if)# no switchport
Switch(config-if)# ipv6 ospf transmit-delay 3
Related Commands
None
7.1.18. ipv6 ospf network
Command Purpose
To set network type of the interface, use the ipv6 ospf network command in interface configuration mode. To return to the default value, use the no format of this command.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
|
AQ-N5000 |
7.0 |
Base |
|
AQ-N6000 |
7.0 |
Base |
Command Syntax
ipv6 ospf network ( broadcast | non-broadcast | point-to-multipoint ( non-broadcast | ) | point-to-point | ) ( instance <0-255> | )
no ipv6 ospf network ( instance <0-255> | )
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
broadcast |
Specify broadcast multi-access network |
- |
non-broadcast |
Specify NBMA network |
- |
point-to-multipoint |
Specifypoint-to-multipointnetwork |
non-broadcast |
point-to-point |
Specify point-to-point network |
- |
instance |
Instance ID, the default value is 0. |
0-255 |
Command Mode
Interface Configuration
Default
broadcast
Usage
None
Examples
The following example sets the netwok type of interface to point-to-point:
Switch# configure terminal
Switch(config)# interface eth-0-1
Switch(config-if)# no switchport
Switch(config-if)# ipv6 ospf network point-to-point
Related Commands
None
7.1.19. ipv6 ospf neighbor
Command Purpose
To configure IPv6 ospf neighbor, use the ipv6 ospf neighbor command in interface configuration mode. To return to the default value, use the no format of this command.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
|
AQ-N5000 |
7.0 |
Base |
|
AQ-N6000 |
7.0 |
Base |
Command Syntax
ipv6 ospf neighbor ADDRESS ( { poll-interval <1-65535> | priority <0-255> } | ) ( cost <1-65535> | ) ( instance <0-255> | )
no ipv6 ospf neighbor ( instance <0-255> | )
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
ADDRESS |
IPv6 addressk of neighbor |
IPv6 Address |
poll-interval |
Dead-router polling interval for NBMA neighbor |
1-65535 |
priority |
Priority of non-broadcast neighbor |
0-255 |
cost |
Cost forpoint-to-multipointneighbor |
1-65535 |
instance |
Instance ID, the default value is 0. |
0-255 |
Command Mode
Interface Configuration
Default
No neighbor is configured.
Usage
None
Examples
The following example configure IPv6 ospf neighbor on the interface:
Switch# configure terminal
Switch(config)# interface eth-0-1
Switch(config-if)# no switchport
Switch(config-if)# ipv6 ospf neighbor fe80::1
Related Commands
None
7.1.20. passive-interface (OSPF)
Command Purpose
To disable sending routing updates for the Open Shortest Path First Version3 (OSPFv3) on an interface, use the passive-interface command in router configuration mode. To re-enable the sending of routing updates, use the no form of this command.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
|
AQ-N5000 |
7.0 |
Base |
|
AQ-N6000 |
7.0 |
Base |
Command Syntax
passive-interface IFNAME
no passive-interface IFNAME
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
IFNAME |
The interface name |
Support physical/aggregation/loopback/vlan/tunnel ports |
Command Mode
Router Configuration
Default
Routing updates are sent on the interface.
Usage
If you disable the sending of routing updates on an interface, the particular subnet will continue to be advertised to other interfaces, and updates from other switches on that interface continue to be received and processed.
Examples
The following example sets the interface eth-0-1 as passive:
Switch# configure terminal
Switch(config)# router ipv6 ospf 200
Switch(config-router)# passive-interface eth-0-1
Related Commands
router ipv6 ospf
7.1.21. redistribute (OSPFv3)
Command Purpose
To redistribute routes from one routing domain into Open Shortest Path First Version3 (OSPFv3) routing domain, use the redistribute command in router configuration mode. To disable redistribution, use the no form of this command.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
|
AQ-N5000 |
7.0 |
Base |
|
AQ-N6000 |
7.0 |
Base |
Command Syntax
redistribute PROTOCOL [ route-map WORD ] [ tag TAG-VALUE ] [ metric METRIC-VALUE ] [ metric-type TYPE-VALUE ]
no redistribute PROTOCOL [ metric METRIC -VALUE ] [ metric-type TYPE-VALUE ]
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
route-map WORD |
Route map name |
Up to 20 characters |
PROTOCOL |
(Optional) The name of a routing protocol, or the keyword connected, or static. If you specify a routing protocol, use one of the following keywords: bgp, and ripng |
- conne cted/static/bgp/ripng |
tag TAG-VALUE |
Set tag for routes redistributed into OSPF |
0-4294967295 |
metric METRIC-VALUE |
(Optional) When redistributing other processes to an OSPF process, the default metric is 20 when no metric value is specified |
0-16777214 |
metric-type TYPE-VALUE |
For OSPF, the external link type associated with the default route advertised into the OSPF routing domain. It can be one of two values |
1-2 |
Command Mode
Router Configuration
Default
Route redistribution is disabled.
metric metric-value: 20
metric-type TYPE-VALUE: Type 2 external route
Usage
The metric value specified in the redistribute command supersedes the metric value specified using the default-metric command.
Examples
The following example redistribute the static routes into OSPFv3 with metric 10:
Switch# configure terminal
Switch(config)# router ospf 100
Switch(config-router)# redistribute static metric 10
Related Commands
default-metric
7.1.22. router-id (OSPF)
Command Purpose
To use a fixed router ID, use the router-id command in router configuration mode.
To force Open Shortest Path First Version3 (OSPFv3) use the previous OSPF router ID behavior, use the no form of this command.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
|
AQ-N5000 |
7.0 |
Base |
|
AQ-N6000 |
7.0 |
Base |
Command Syntax
router-id IP-ADDRESS
no router-id
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
IP-ADDRESS |
Router ID in IP address format |
IPv6 Address |
Command Mode
Router Configuration
Default
No OSPF routing process is defined.
Usage
You can configure an arbitrary value in the IP address format for each router. However, each router ID must be unique.
If this command is used on an OSPFv3 router process which is already active (has neighbors), the new router-ID is used at the next reload or at a manual OSPFv3 process restart. To manually restart the OSPFv3 process, use the clear ip ospf command.
Examples
The following example specifies a fixed router-id:
Switch# configure terminal
Switch(config)# router ipv6 ospf 119
Switch(config-router)# router-id 10.1.1.1
Related Commands
clear ipv6 ospf
router ipv6 ospf
7.1.23. router ipv6 ospf
Command Purpose
To configure an Open Shortest Path First Version3 (OSPFv3) routing process, use the router ipv6 ospf command in Global Config mode. To terminate an OSPFv3s routing process, use the no form of this command.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
|
AQ-N5000 |
7.0 |
Base |
|
AQ-N6000 |
7.0 |
Base |
Command Syntax
router ipv6 ospf [ PROCESS-ID [ vrf VPN-NAME ] ]
no router ipv6 ospf [ PROCESS-ID ]
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
PROCESS-ID |
Internally used identification parameter for an OSPF routing process. It is locally assigned and can be any positive integer. A unique value is assigned for each OSPF routing process |
1-65535 |
vrf VPN-NAME |
(Optional) Specifies the name of the VPN routing and forwarding (VRF) instance to associate with OSPFv3 VRF processes |
A string with 1-15 characters |
Command Mode
Global Config
Default
No OSPF routing process is defined.
Usage
You can specify multiple OSPFv3 routing processes in each router. If you do not specify the process-id, the process-id will be the default 0.
Examples
The following example configures an OSPFv3 routing process and assigns a process number of 109:
Switch# configure terminal
Switch(config)# router ipv6 ospf 109
Related Commands
None
7.1.24. summary-address (OSPFv3)
Command Purpose
To create aggregate addresses for Open Shortest Path First Version3 (OSPFv3), use the summary-address command in router configuration mode. To restore the default, use the no form of this command.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
|
AQ-N5000 |
7.0 |
Base |
|
AQ-N6000 |
7.0 |
Base |
Command Syntax
summary-address PREFIX / PREFIX-LENGTH [ not-advertise ] [ tag TAG-VALUE ]
no summary-address PREFIX / PREFIX-LENGTH [ not-advertise ] [ tag TAG-VALUE ]
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
PREFIX |
IP route prefix for the destination |
IPv6 Address |
PREFIX-LENGTH |
Prefix length for the network |
1-128 |
not-advertise |
(Optional) Suppress routes that match the specified prefix/mask pair. This keyword applies to OSPFv3 only |
- |
tag TAG-VALUE |
Route tag value |
0-4294967295 |
Command Mode
Router Configuration
Default
This command is disabled by default.
Usage
Routes learned from other routing protocols can be summarized. The metric used to advertise the summary is the largest metric of all the more specific routes. This command helps reduce the size of the routing table.
Using this command for OSPFv3 causes an OSPFv3 Autonomous System Boundary Router (ASBR) to advertise one external route as an aggregate for all redistributed routes that are covered by the address. For OSPFv3, this command summarizes only routes from other routing protocols that are being redistributed into OSPFv3. Use the area range command for route summarization between OSPF areas.
OSPFv3 does not support the summary-address 0.0.0.0/0 command.
Examples
In the following example, the summary address 2001:1:1::/48 includes address 2001:1:1:1::/64, 2001:1:1:2::/64, and so on. Only the address 2001:1:1::/48 is advertised in an external link-state advertisement:
Switch# configure terminal
Switch(config)# router ipv6 ospf
Switch(config-router)# summary-address 2001:1:1::/48
Related Commands
area range
7.1.25. show ipv6 ospf
Command Purpose
To display general information about Open Shortest Path First Version3 (OSPFv3) routing processes, use the show ipv6 ospf command in user EXEC or privileged EXEC mode.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
|
AQ-N5000 |
7.0 |
Base |
|
AQ-N6000 |
7.0 |
Base |
Command Syntax
show ipv6 ospf ( PROCESS-ID | )
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
PROCESS-ID |
Internally used identification parameter for an OSPFv3 routing process. It is locally assigned and can be any positive integer. A unique value is assigned for each OSPFv3 routing process |
1-65535 |
Command Mode
Privileged EXEC
Default
None
Usage
None
Examples
The following is sample output from the show ipv6 ospf command when entered without a specific OSPFv3 process ID:
Switch# show ipv6 ospf 65535
Routing Process "OSPFv3 (65535)" with ID 1.1.1.1
Process uptime is 1 hour 52 minutes
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 incomming 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 AS-Scoped Unknown LSA 0
Number of LSA originated 3
Number of LSA received 19
Number of areas in this router is 1
Area BACKBONE(0)
Number of interfaces in this area is 1(1)
SPF algorithm executed 6 times
Number of LSA 4. Checksum Sum 0x16569
Number of Unknown LSA 0
Related Commands
None
7.1.26. show ipv6 ospf database
Command Purpose
To display lists of information related to the Open Shortest Path First Version3 (OSPFv3) database for a specific router, use the show ip ospf database command in EXEC mode.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
|
AQ-N5000 |
7.0 |
Base |
|
AQ-N6000 |
7.0 |
Base |
Command Syntax
show ipv6 ospf ( PROCESS-ID | ) database
show ipv6 ospf ( PROCESS-ID | ) database adv-router ROUTER-ID
show ipv6 ospf ( PROCESS-ID | ) database ( external | inter-prefix | inter-router | intra-prefix | link | network | nssa-external | router ) ( LINK-STATE-ID | ) ( adv-router ROUTER-ID | self-originate )
show ipv6 ospf ( PROCESS-ID | ) database max-age
show ipv6 ospf ( PROCESS-ID | ) database self-originate
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
PROCESS-ID |
Internally used identification parameter for an OSPFv3 routing process. It is locally assigned and can be any positive integer. A unique value is assigned for each OSPFv3 routing process |
1-65535 |
adv-router ROUTER-ID |
(Optional) Displays all the LSAs of the specified router. If no IP address is included, the information is about the local router itself (in this case, the same as self-originate) |
IPv4 Address in A.B.C.D format |
LINK-STATE-ID |
(Optional) Portion of the Internet environment that is being described by the advertisement. The value entered depends on the advertisement`s LS type. It must be entered in the form of an IP address |
IPv4 Address in A.B.C.D format |
Command Mode
Privileged EXEC
Default
None
Usage
The various forms of this command deliver information about different OSPFv3 link state advertisements.
Examples
The following is sample output from the show ipv6 ospf database command when no arguments or keywords are used:
Switch# show ipv6 ospf 65535 database
OSPFv3 Router with ID (1.1.1.1) (Process 65535)
Link-LSA (Interface vlan1000)
Link State ID ADV Router Age Seq# CkSum Prefix
0.0.19.232 1.1.1.1 1492 0x80000002 0x27e3 1
0.0.19.232 2.2.2.2 1488 0x80000002 0xcc94 1
Router-LSA (Area 0.0.0.0)
Link State ID ADV Router Age Seq# CkSum Link
0.0.0.0 1.1.1.1 1452 0x80000003 0x42d6 1
0.0.0.0 2.2.2.2 1449 0x80000003 0x24f0 1
Network-LSA (Area 0.0.0.0)
Link State ID ADV Router Age Seq# CkSum
0.0.19.232 2.2.2.2 1453 0x80000001 0x7f99
Intra-Area-Prefix-LSA (Area 0.0.0.0)
Link State ID ADV Router Age Seq# CkSum Prefix Reference
0.0.0.2 2.2.2.2 1448 0x80000001 0x96fd 2 Network-LSA
Related Commands
None
7.1.27. show ipv6 ospf interface
Command Purpose
To display Open Shortest Path First Version3 (OSPFv3)-related interface information; use the show ipv6 ospf interface command in EXEC mode.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
|
AQ-N5000 |
7.0 |
Base |
|
AQ-N6000 |
7.0 |
Base |
Command Syntax
show ipv6 ospf interface ( IFNAME | )
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
IFNAME |
(Optional) Interface name. If the interface-name argument is included, only information for the specified interface is included |
Support physical/aggregation/loopback/vlan tunnel ports |
Command Mode
Privileged EXEC
Default
None
Usage
None
Examples
The following is sample output of the show ipv6 ospf interface command when vlan12 is specified:
Switch# show ipv6 ospf interface vlan 12
vlan12 is up, line protocol is up
Interface ID 4108
IPv6 Prefixes
fe80::8eb5:d5ff:fed9:ff00/10 (Link-Local Address)
2004:12:0:12::1/96
OSPFv3 Process (0), Area 0.0.0.0, Instance ID 0
Router ID 1.1.1.1, Network Type BROADCAST, Cost: 1
Transmit Delay is 1 sec, State Backup, Priority 1
Designated Router (ID) 2.2.2.2
Interface Address fe80::188f:beff:fe99:9800
Backup Designated Router (ID) 1.1.1.1
Interface Address fe80::8eb5:d5ff:fed9:ff00
Timer interval configured, Hello 10, Dead 40, Wait 40, Retransmit 5
Hello due in 00:00:06
Neighbor Count is 1, Adjacent neighbor count is 1
Related Commands
None
7.1.28. show ipv6 ospf neighbor
Command Purpose
To display Open Shortest Path First Version3 (OSPFv3)-neighbor information on a per-interface basis, use the show ipv6 ospf neighbor command in privileged EXEC mode.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
|
AQ-N5000 |
7.0 |
Base |
|
AQ-N6000 |
7.0 |
Base |
Command Syntax
show ipv6 ospf neighbor ( IFNAME | ) UnicodeFF08NEIGHBOR-ID | ) ( detail | )
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
IFNAME |
(Optional) Interface name. If the interface-name argument is included, only information for the specified interface is included |
Support physical/aggregation/loopback/vlan tunnel ports |
NEIGHBOR-ID |
(Optional) Neighbor ID |
IPv4 Address in A.B.C.D format |
detail |
(Optional) Displays all neighbors given in detail (lists all neighbors) |
- |
Command Mode
Privileged EXEC
Default
None
Usage
None
Examples
The following is sample output from the show ipv6 ospf neighbor command showing a single line of summary information for each neighbor:
Switch# show ipv6 ospf neighbor
OSPFv3 Process (0)
Neighbor ID Pri State Dead Time Interface Instance ID
2.2.2.2 1 Full/DR 00:00:31 vlan12 0
2.2.2.2 1 Full/DR 00:00:33 vlan1212 0
OSPFv3 Process (65535)
Neighbor ID Pri State Dead Time Interface Instance ID
2.2.2.2 1 Full/DR 00:00:31 vlan1000 0
Related Commands
None
7.1.29. show ipv6 ospf database database-summary
Command Purpose
To display the summary of database used by OSPFv3, use the show ip ospf database database-summary command in privileged EXEC mode.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
|
AQ-N5000 |
7.0 |
Base |
|
AQ-N6000 |
7.0 |
Base |
Command Syntax
show ipv6 ospf ( PROCESS-ID | ) database database-summary
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
PROCESS-ID |
(Optional) Internal identification. It is locally assigned and can be any positive integer. The number used here is the number assigned administratively when enabling the OSPF routing process |
1-65535 |
Command Mode
Privileged EXEC
Default
None
Usage
None
Examples
The following example shows how to use show ipv6 ospf database database-summary command:
Switch# show ipv6 ospf 65535 database database-summary
OSPFv3 Router with ID (1.1.1.1) (Process ID 65535)
Area (0.0.0.0) database summary
LSA Type Count MaxAge
Router 2 0
Network 1 0
Inter-Prefix 0 0
Inter-Router 0 0
Intra-Prefix 1 0
Subtotal 4 0
Process 65535 database summary
LSA Type Count MaxAge
Router 2 0
Network 1 0
Inter-Prefix 0 0
Inter-Router 0 0
Type-5 Ext 0 0
Link 2 0
Intra-Prefix 1 0
Total 6 0
Related Commands
None
7.1.30. show ipv6 ospf route
Command Purpose
To display the summary of routes used by OSPFv3, use the show ipv6 ospf route summary command in privileged EXEC mode.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
|
AQ-N5000 |
7.0 |
Base |
|
AQ-N6000 |
7.0 |
Base |
Command Syntax
show ipv6 ospf ( PROCESS-ID | ) route
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
PROCESS-ID |
(Optional) Internal identification. It is locally assigned and can be any positive integer. The number used here is the number assigned administratively when enabling the OSPFv3 routing process |
1-65535 |
Command Mode
Privileged EXEC
Default
None
Usage
None
Examples
The following example shows how to use show ipv6 ospf route command:
Switch# show ipv6 ospf route
OSPFv3 Process (0)
Codes: C - connected, D - Discard, O - OSPF, IA - OSPF inter area
E1 - OSPF external type 1, E2 - OSPF external type 2
Destination Metric
Next-hop
C 2004:1:0:10::/96 1
directly connected, vlan10, Area 0.0.0.0
C 2004:1:0:20::/96 1
directly connected, vlan20, Area 0.0.0.14
C 2004:1:0:100::/96 1
directly connected, vlan100, Area 0.0.0.0
C 2004:1:0:200::/96 1
directly connected, vlan200, Area 0.0.0.14
O 2004:2:0:10::/96
via fe80::188f:beff:fe99:9800, vlan1212, Area 0.0.0.0
via fe80::188f:beff:fe99:9800, vlan12, Area 0.0.0.0
IA 2004:2:0:20::/96 2
via fe80::188f:beff:fe99:9800, vlan1212, Area 0.0.0.0
via fe80::188f:beff:fe99:9800, vlan12, Area 0.0.0.0
Related Commands
None
7.1.31. show ipv6 ospf route summary
Command Purpose
To display the summary of routes used by OSPFv3, use the show ipv6 ospf route summary command in privileged EXEC mode.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
|
AQ-N5000 |
7.0 |
Base |
|
AQ-N6000 |
7.0 |
Base |
Command Syntax
show ipv6 ospf ( PROCESS-ID | ) route summary
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
PROCESS-ID |
(Optional) Internal identification. It is locally assigned and can be any positive integer. The number used here is the number assigned administratively when enabling the OSPFv3 routing process |
1-65535 |
Command Mode
Privileged EXEC
Default
None
Usage
None
Examples
The following example shows how to use show ipv6 ospf route summary command:
Switch# show ipv6 ospf route summary
OSPFv3 Router with ID (1.1.1.1) (Process ID 0)
Route Type Count
(C)Connected 8
(D)Discard 0
(O)Intra area 2
(IA)Inter area 4
(E1)Ext type 1 0
(E2)Ext type 2 0
(N1)NSSA Ext type 1 0
(N2)NSSA Ext type 2 0
Total 14
OSPFv3 Router with ID (1.1.1.1) (Process ID 65535)
Route Type Count
(C)Connected 1
(D)Discard 0
(O)Intra area 1
(IA)Inter area 0
(E1)Ext type 1 0
(E2)Ext type 2 0
(N1)NSSA Ext type 1 0
(N2)NSSA Ext type 2 0
Total 2
Related Commands
None
7.1.32. show ipv6 protocols ospf
Command Purpose
To display IPv6 routing protocol process parameters and statistics of Open Shortest Path First Version3 (OSPFv3).use the show ipv6 ospf protocols ospf command in privileged EXEC mode.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
|
AQ-N5000 |
7.0 |
Base |
|
AQ-N6000 |
7.0 |
Base |
Command Syntax
show ipv6 protocols ospf
Command Mode
Privileged EXEC
Default
None
Usage
None
Examples
The following example shows how to use show ipv6 protocols ospf command:
Switch# show ipv6 protocols ospf
Routing Protocol is "OSPFv3 (0)" with ID 1.1.1.1
Redistributing:
Distance: (default is 110)
Routing Protocol is "OSPFv3 (65535)" with ID 1.1.1.1
Redistributing:
Distance: (default is 110)
Related Commands
None
7.1.33. timers spf
Command Purpose
To turn on Open Shortest Path First Version3 (OSPFv3) shortest path first (SPF) throttling, use the timers spf command in router configuration mode. To turn off SPF throttling, use the no form of this command.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
|
AQ-N5000 |
7.0 |
Base |
|
AQ-N6000 |
7.0 |
Base |
Command Syntax
timers spf exp SPF-HOLD_MIN SPF-HOLD_MAX
no timers spf exp
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
SPF-HOLD_MIN |
Indicates the maximum hold time between two consecutive SPF calculations. |
0-2147483647 milliseconds |
SPF-HOLD_MAX |
Indicates the minimum hold time between two consecutive SPF calculations. |
0-2147483647 milliseconds |
Command Mode
Router Configuration
Default
None
Usage
None
Examples
The following example shows how to configure SPF calculation parameters:
Switch# configure terminal
Switch(config)# router ipv6 ospf 1
Switch(config-router)# router-id 10.10.10.2
Switch(config-router)# timers spf exp 20 50
Related Commands
None
7.1.34. max-concurrent-dd
Command Purpose
To specify Maximum number allowed to process DD concurrently, use the max-concurrent-dd command in router configuration mode. To restore default value, use the no form of this command
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
|
AQ-N5000 |
7.0 |
Base |
|
AQ-N6000 |
7.0 |
Base |
Command Syntax
max-concurrent-dd NUMBER-VALUE
no max-concurrent-dd
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
NUMBER-VALUE |
Number of DD process |
1-65535 |
Command Mode
Router Configuration
Default
None
Usage
This command used to specify Maximum number allowed to process DD concurrently.
Examples
The following example shows how to use max-concurrent-dd command.:
Switch# configure terminal
Switch(config)# router ipv6 ospf 100
Switch(config-router)# router-id 10.10.10.2
Switch(config-router)# max-concurrent-dd 10
Related Commands
None
7.1.35. debug ipv6 ospf
Command Purpose
Use this command to specify all debugging options for OSPFv3. Use the no parameter with this command to disable this function.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
|
AQ-N5000 |
7.0 |
Base |
|
AQ-N6000 |
7.0 |
Base |
Command Syntax
debug ipv6 ospf ( all | )
no debug ipv6 ospf ( all | )
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
all |
enable all debugging |
- |
Command Mode
Privileged EXEC
Default
None
Usage
The debug ospf all command enables the display of all debug information.
Examples
Switch# debug ipv6 ospf all
Switch# debug ipv6 ospf
Related Commands
None
7.1.36. debug ipv6 ospf events
Command Purpose
Use this command to specify debugging options for OSPFv3 event troubleshooting. Use this command without parameters to turn on all the options. Use the no parameter with this command to disable this function.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
|
AQ-N5000 |
7.0 |
Base |
|
AQ-N6000 |
7.0 |
Base |
Command Syntax
debug ipv6 ospf events ( abr | asbr | nssa | os | router | vlink )
no debug ipv6 ospf events ( abr | asbr | nssa | os | router | vlink)
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
abr |
shows ABR events |
- |
asbr |
shows ASBR events |
- |
nssa |
shows NSSA events |
- |
os |
shows OS interaction events |
- |
router |
shows others router events |
- |
vlink |
shows virtual link events |
- |
Command Mode
Privileged EXEC
Default
None
Usage
The debug ospf event command enables the display of debug information related to OSPFv3 internal events.
Examples
Switch# debug ipv6 ospf events nssa
Switch# debug ipv6 ospf events lsa
Related Commands
None
7.1.37. debug ipv6 ospf ifsm
Command Purpose
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.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
|
AQ-N5000 |
7.0 |
Base |
|
AQ-N6000 |
7.0 |
Base |
Command Syntax
debug ipv6 ospf ifsm ( status | events | timers )
no debug ipv6 ospf ifsm ( status | events | timers )
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
status |
Displays IFSM status information |
- |
events |
Displays IFSM event information |
- |
timers |
Displays IFSM TIMER information |
- |
Command Mode
Privileged EXEC
Default
None
Usage
The debug ospf ifsm command enables the display of debug information related to the Interface Finite State Machine (IFSM).
Examples
Switch# debug ipv6 ospf ifsm timers
Related Commands
None
7.1.38. debug ipv6 ospf nfsm
Command Purpose
Use this command to specify debugging options for OSPFv3 Neighbor Finite State Machine (NFSM) troubleshooting.
Use the no parameter with this command to disable this function.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
|
AQ-N5000 |
7.0 |
Base |
|
AQ-N6000 |
7.0 |
Base |
Command Syntax
debug ipv6 ospf nfsm ( status | events | timers )
no debug ipv6 ospf nfsm ( status | events | timers )
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
status |
Displays NFSM status information |
- |
events |
Displays NFSM event information |
- |
timers |
Displays NFSM TIMER information |
- |
Command Mode
Privileged EXEC
Default
None
Usage
The debug ospf nfsm command enables the display of debug information related to the Neighbor Finite State Machine (NFSM).
Examples
Switch# debug ipv6 ospf nfsm timers
Related Commands
None
7.1.39. debug ipv6 ospf lsa
Command Purpose
Use this command to specify debugging options for OSPFv3 Link State Advertisements (LSA) troubleshooting.
Use the no parameter with this command to disable this function.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
|
AQ-N5000 |
7.0 |
Base |
|
AQ-N6000 |
7.0 |
Base |
Command Syntax
debug ipv6 ospf lsa ( flooding | generate | install | maxage | refresh )
no debug ipv6 ospf lsa ( flooding | generate | install | maxage | refresh )
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
flooding |
Displays LSA flooding |
- |
generate |
Displays LSA generate |
- |
install |
Displays LSA installation |
- |
maxage |
Displays the maximum age of LSA in seconds |
- |
refresh |
Displays LSA refresh |
- |
Command Mode
Privileged EXEC
Default
None
Usage
The debug ospf lsa command enables the display of debug information related to internal operations of LSAs.
Examples
Switch# debug ipv6 ospf lsa install
Related Commands
None
7.1.40. debug ipv6 ospf packet
Command Purpose
Use this command to specify debugging options for OSPFv3 packets.
Use the no parameter with this command to disable this function…
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
|
AQ-N5000 |
7.0 |
Base |
|
AQ-N6000 |
7.0 |
Base |
Command Syntax
debug ipv6 ospf packet PARAMETERS
no debug ipv6 ospf packet PARAMETERS
PARAMETERS = dd | detail | hello | ls-ack | ls-request | ls-update | recv | send
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
dd |
Specifies debugging for OSPF database descriptions |
- |
detail |
Sets the debug option to detailed information |
- |
hello |
Specifies debugging for OSPF hello packets |
- |
ls-ack |
Specifies debugging for OSPF link state acknowledgments |
- |
ls-request |
Specifies debugging for OSPF link state requests |
- |
ls-update |
Specifies debugging for OSPF link state updates |
- |
recv |
Specifies the debug option set for received packets |
- |
send |
Specifies the debug option set for sent packets |
- |
Command Mode
Privileged EXEC
Default
None
Usage
The debug ospf packet command enables the display of debug information related to the sending and receiving of packets.
Examples
Switch# debug ipv6 ospf packet dd send detail
Related Commands
None
7.1.41. debug ipv6 ospf route
Command Purpose
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.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
|
AQ-N5000 |
7.0 |
Base |
|
AQ-N6000 |
7.0 |
Base |
Command Syntax
debug ipv6 ospf route ( ase | ia | install | spf )
no debug ipv6 ospf route ( ase | ia | install | spf )
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
ase |
Specifies the debugging of external route calculation |
- |
ia |
Specifies the debugging of Inter-Area route calculation |
- |
install |
Specifies the debugging of route installation |
- |
spf |
Specifies the debugging of SPF calculation |
- |
Command Mode
Privileged EXEC
Default
None
Usage
The debug ospf route command enables the display of debug information related to route-calculation
Examples
Switch# debug ipv6 ospf route install
Related Commands
None
7.1.42. show debugging ipv6 ospf
Command Purpose
Use this command to display the set OSPFv3 debugging option…
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
|
AQ-N5000 |
7.0 |
Base |
|
AQ-N6000 |
7.0 |
Base |
Command Syntax
show debugging ipv6 ospf
Command Mode
Privileged EXEC
Default
None
Usage
None
Examples
This is a sample output from the show debugging ipv6 ospf command. Some lines in this output wrap around, they might not wrap around in the actual display:
Switch# show debugging ipv6 ospf
OSPFv3 debugging status:
OSPFv3 all packet detail debugging is on
OSPFv3 all IFSM debugging is on
OSPFv3 all NFSM debugging is on
OSPFv3 all LSA debugging is on
OSPFv3 all route calculation debugging is on
OSPFv3 all event debugging is on
Related Commands
None
7.1.43. show resource ipv6 ospf
Command Purpose
Use this command to display the route resources used by OSPFv3 protocol.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
|
AQ-N5000 |
7.0 |
Base |
|
AQ-N6000 |
7.0 |
Base |
Command Syntax
show resource ipov6 ospf
Command Mode
Privileged EXEC
Default
None
Usage
None.
Examples
The following is sample output from the show resource ipv6 ospf command:
Switch# show resource ipv6 ospf
OSPFv3
Resource Used Capability
=============================================================
Routes 16 1913
Related Commands
show ipv6 ospf route summary
7.1.44. show ipv6 vrf ospf
Command Purpose
Use this command to display the ospfv3 interface belong to which vrf
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
|
AQ-N5000 |
7.0 |
Base |
|
AQ-N6000 |
7.0 |
Base |
Command Syntax
show ipv6 vrf ospf
Command Mode
Privileged EXEC
Default
None
Usage
None.
Examples
The following is sample output from the show ipv6 vrf ospf command:
Switch# show ipv6 vrf ospf
Name Interfaces
ccc eth-0-9
Related Commands
None
7.1.45. area nssa
Command Purpose
To define an area as a NSSA area, use the area nssa command in router configuration mode. To disable this function, use the no form of this command.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
|
AQ-N5000 |
7.0 |
Base |
|
AQ-N6000 |
7.0 |
Base |
Command Syntax
area AREA-ID nssa ( translator-role ( candidate | never | always ) | ) ( no-summary | ) ( no-redistribution | ) ( default-information-originate { metric METRIC_VALUE | metric-type TYPE-VALUE | } | )
no area AREA-ID nssa ( translator-role | ) ( no-summary | ) ( no-redistribution | ) ( stability-interval | ) ( default-information-originate | )
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
AREA-ID |
Identifier of the area for which authentication is to be enabled. The identifier can be specified as either a decimal value or an IP address |
IP address or number in the range of 0-4294967295 |
candidate |
(Optional) Configure the role for ABR in NSSA area as candidate for the translator router |
- |
always |
(Optional) Configure the role for ABR in NSSA area as the specified translator router |
- |
no-summary |
(Optional) Prevents an Area Border Router (ABR) from sending Summary LSAs into the NSSA area |
- |
no-redistribution |
(Optional) Prevents an Area Border Router (ABR) from importing routes into the NSSA area |
- |
- default-information-originate |
(Optional) Configure an ASBR to send default type 7 LSA into the NSSA area |
- |
metric METRIC_VALUE |
(Optional) Configure metric for the default originate route |
0-16777214 |
metric-type TYPE-VALUE |
(Optional) Configure metric type for the default originate route |
1-2 |
stability-interval INTERVAL-VALUE |
(Optional) ConfigureStability Interval |
0-2147483647 seconds |
Command Mode
Router Configuration
Default
No NSSA area is defined.
Usage
No NSSA area is configured as default. You must configure the area nssa command on all routers and access servers in the NSSA area.
There are many similarities between NSSA and stub area, neither of which propagates external routes from other area. The difference is that NSSA area can introduce and propagate external routes to the OSPF autonomous domain, while STUB area can not introduce external routes.
Examples
The following example shows how to configure a NSSA area :
Switch# configure terminal
Switch(config)# router ipv6 ospf 201
Switch(config-router)# area 10.0.0.0 nssa
Related Commands
None