O'Reilly logo

Cisco IOS in a Nutshell, 2nd Edition by James Boney

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

area authentication — router, OSPF

Synopsis

area area-id authentication [message-digest]
no area area-id authentication

Configures

OSPF authentication

Default

No authentication

Description

This command enables simple password authentication for an OSPF network. All routers within the OSPF area must be configured to use the same password. The authentication password is set by the ip ospf authentication-key command.

area-id

The area to which this command applies.

message-digest

Enables MD5 authentication for the area.

Example

The following configuration starts an OSPF process using authentication for area 0. The authentication key is letmein.

! Set the OSPF key on interface serial 0 to letmein
interface serial 0
  ip address 10.100.1.1 255.255.2255.0
  ip ospf authentication-key letmein
!
router ospf 99
  network 10.0.0.0 0.255.255.255 area 0
  area 0 authentication

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required