Administrator Guide

Layer 3 Routing Commands 1728
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)
Default Configuration
This command has no default configuration.
Command Mode
Router OSPF Configuration mode.
User Guidelines
Unauthenticated interfaces cannot be configured with an authentication key.
If no parameters are specified after the authentication keyword, then plain-
text password authentication is used.
Example
The following example configures the authentication type and key for the
area 10 OSPF virtual interface and neighbor ID.
console(config-router)#area 10 virtual-link 192.168.2.7 authentication
console(config-router)#area 10 virtual-link 192.168.2.7 authentication
encrypt test123 1001010
2CSNXXX_SWUM204.book Page 1728 Monday, January 25, 2016 1:25 PM