14 ip ospf authentication – CANOGA PERKINS 9175 Command Reference User Manual

Page 222

Advertising
background image

CanogaOS Command Reference

15-13


Examples

In the following example, OSPF process 1 is configured to accept two networks, network 20.0.0.0 and

network 10.108.0.0:

ip access-list acl1

permit any 20.0.0.0 0.0.255.255 any

permit any 10.108.0.0 0.0.255.255 any

deny any any any

router ospf 1

network 10.108.0.0/16 area 1

distribute-list acl1 in


Related Commands

ip access-list

15.14 ip ospf authentication

To specify the authentication type for an interface, use the ip ospf authentication command in interface

configuration mode. To remove the authentication type for an interface, use the no form of this

command.


Command Syntax

ip ospf authentication [message-digest | null]

no ip ospf authentication

message-digest

(Optional) Specifies that message-digest authentication will be used.

null

(Optional) No authentication is used. Useful for overriding password or

message-digest authentication if configured for an area.


Default

The area default is no authentication (null authentication).


Command Mode

Interface configuration


Usage

Before using the ip ospf authentication command, configure a password for the interface using the ip

ospf authentication-key command. If you use the ip ospf authentication message-digest command,

configure the message-digest key for the interface with the ip ospf message-digest-key command.

For backward compatibility, authentication type for an area is still supported. If the authentication type is

not specified for an interface, the authentication type for the area will be used (the area default is null

authentication).


Examples

The following example enables message-digest authentication:

Advertising