OSPF Commands 865
Command Mode
Router OSPF Configuration mode.
User Guidelines
This command has no user guidelines.
Example
The following example creates an OSPF virtual interface for area 10 and
neighbor router.
console(config-router)#area 10 virtual-link
192.168.2.2

area virtual-link authentication

Use the area virtual-link authentication command in Router OSPF
Configuration mode to configure the authentication type and key for the
OSPF virtual interface identified by the area ID and neighbor ID. Use the no
form of the command to return the authentication type to the default value.
Syntax
area
area-id
virtual-link
neighbor-id
authentication {none | simple
key
|encrypt
key

key-id

}
no area
area-id
virtual-link
neighbor-id
authentication
area-id
— Identifies the OSPF area to configure. (Range: IP address or
decimal from 0–4294967295)
neighbor-id
— Identifies the Router identifier of the neighbor.
encrypt — Use MD5 Encryption for an OSPF Virtual Link.
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–255)