area authentication
Enables or disables both simple and MD5 authentication in an area.
Syntax: [no] area area-id authentication [message-digest]
area-id
The area identifier of the area in which to perform authentication. The area-id can be either a decimal value or the dotted decimal IP address.
message-digest
Enable MD5 authentication for the specified OSPF area.
Description: The Avici router supports both simple and MD5 authentication. The authentication key for simple authentication is a clear 64-bit password. Authentication is enabled or disabled on a per-area basis. MD5 authentication consists of a key ID and 128-bit password. In both cases the key is set using the ip ospf command.
Use the area area-id authentication command to set an area for simple authentication.
Use the area area-id authentication message-digest command to set an area for MD5 authentication.
Factory Default: No authentication.
Command Mode: Router configuration.
Example 1: In the following example:
- The router ospf command enables OSPF and specifies an OSPF process number
- The network area command enables OSPF on the specified network and assigns the network an OSPF area ID of 0
- The area authentication command enables simple password authentication for area 0
- The interface pos command specifies an interface and changes the command mode to Interface configuration
- The ip ospf authentication-key command sets the password for the specified interface:
router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
router(config)#router ospf 12
router(config-router)#network 10.1.1.0 0.0.0.255 area 0
router(config-router)#area 0 authentication
router(config-router)#interface pos 1/1/1
router(config-if)#ip ospf authentication-key parab0la
Example 2: In the following example:
- The network area command enables OSPF on the specified network and assigns the network an OSPF area ID of 0
- The area authentication message-digest command enables MD5 authentication for area 0
- The interface pos command specifies an interface and changes the command mode to Interface configuration
- The ip ospf message-digest key md5 command enables MD5 authentication and sets the password for the specified interface:
router(config)#router ospf 12
router(config-router)#network 10.1.1.0 0.0.0.255 area 0
router(config-router)#area 0 authentication message-digest
router(config-router)#interface pos 1/1/1
router(config-if)#ip ospf message-digest-key 1 md5 parab0la
Related Commands: area range
ip ospf authentication-key
ip ospf message-digest-key md5
router ospf
area stub
network area
interface
Copyright © 2004
Avici Systems Inc.
Avici® and TSR®
is a registered trademark of Avici Systems Inc.
IPriori, Composite Links, SSR, QSR, and NSR® are
trademarks of Avici Systems Inc.
Source
File Name: ospf.fm
HTML File Name: ospf2.html
Last Updated: 05/10/04 at 16:34:58