CLI Guide
Valid values: 0 (key is not encrypted) or 7 (key is encrypted).
key
Text string used in authentication.
For MD5 authentication, the key must be 32 hex digits (non-encrypted) or 64 hex digits
(encrypted).
For SHA-1 authentication, the key must be 40 hex digits (non-encrypted) or 80 hex digits
(encrypted).
null
Causes an encryption policy congured for the area to not be inherited on the interface.
Defaults Not congured.
Command Modes ROUTER OSPFv3
Supported Modes Full—Switch
Command History
Version Description
9.9(0.0) Introduced on the FN IOM.
9.2(0.0) Introduced on the MXL 10/40GbE Switch IO Module.
Usage Information
Before you enable IPsec encryption on an OSPFv3 interface, rst enable OSPFv3 globally on the router. Congure
the same encryption policy (same SPI and keys) on each interface in an OSPFv3 link.
An SPI value must be unique to one IPsec security policy (authentication or encryption) on the router.
When you congure encryption for an OSPFv3 area with the area encryption command, you enable both
IPsec encryption and authentication. However, when you enable authentication on an area with the area
authentication command, you do not enable encryption at the same time.
If you have enabled IPsec authentication in an OSPFv3 area with the area authentication command, you
cannot use the
area encryption command in the area at the same time.
The conguration of IPsec encryption on an interface-level takes precedence over an area-level conguration. If
you remove an interface conguration, an area encryption policy that has been congured is applied to the
interface.
auto-cost
Specify how the OSPF interface cost is calculated based on the reference bandwidth method.
Syntax
auto-cost [reference-bandwidth ref-bw]
To return to the default bandwidth or to assign cost based on the interface type, use the no auto-cost
[reference-bandwidth ref-bw] command.
Parameters
ref-bw (OPTIONAL) Specify a reference bandwidth in megabits per second. The range is from 1
to 4294967. The default is 100 megabits per second.
Open Shortest Path First (OSPFv2 and OSPFv3) 961