DGS-6604
ip ospf authentication
CLI Reference Guide
286
ip ospf authentication
Use this command to send and receive OSPF packets with the specified
authentication method. Use the no form of this command to disable the
authentication.
ip ospf authentication [message-digest]
no ip ospf authentication
Default
No authentication
Command Mode
Interface configuration
Usage Guideline
The authentication mode can be: no-authentication, use authentication key for
authentication, or use message-digest key for authentication.
When it is specified to use the authentication key but the key is not configured,
then null key will be used.
When it is specified to use the message digest but the digest key is not
configured, then the null key will be used.
Example
In the following example shows how to enable message authentication on
interface VLAN 1.
Verify the settings by entering the
show ip ospf interface
command.
Syntax Description
message-digest
(Optional) Use the message digest authentication.
Switch# configure terminal
Switch(config)# interface vlan1
Switch(config-if)# ip ospf message-digest-key 10 md5 yourpass
Switch(config-if)# ip ospf authentication message-digest