OSPF Commands 749
•
area-id
 — The ID of the area (Range: IP address or decimal from 0 –4294967295).
Default Configuration
OSPFv2 is disabled by default.
Command Mode
Interface Configuration (VLAN) mode.
User Guidelines
There are no user guidelines for this command.
Example
console(config-if-vlan1)#ip ospf area 192.168.1.10
ip ospf authentication
Use the ip ospf authentication command in the Interface Configuration mode to set the OSPF 
Authentication Type and Key for the specified interface. Use the no form of the command to 
return the authentication type to the default value.
Syntax
ip ospf authentication {none | {simple 
key
} | {encrypt 
key key-id
}}
no ip ospf authentication
• encrypt — MD5 encrypted authentication key.
•
key
 — Authentication key for the specified interface. (Range: 8 bytes or less if the 
authentication type is 
simple
 and 16 bytes or less if the type is 
encrypt
.)
•
key-id
 — Authentication key identifier for the authentication type 
encrypt
. (Range: 0–25)
Default Configuration
This command has no default configuration.
Command Mode
Interface Configuration (VLAN) mode.
User Guidelines
Unauthenticated interfaces do not need an authentication key or authentication key ID.