The following example establishes a virtual link with MD5 authentication:
router ospf
network 10.50.50.0 0.0.0.255 area 10
area 10.0.0.0 virtual-link 10.3.4.5 message-digest-key 100
md5 test123
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-id
area
virtual-link
key key-id
encrypt
area-id
no area
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.
1164
OSPF Commands
neighbor-id
]
neighbor-id
virtual-link
authentication [none | simple
authentication
key
|