ip ospf authentication

Last Updated : Oct 26, 2015 |
Specifies the authentication type for an interface. Use no ip ospf authentication to remove the authentication type for an interface.
Prolog information

Syntax

ip ospf authentication auth_type
no ip ospf authentication

Parameters

Parameter
Description
Possible Values
Default Value
auth_type
The type of authentication
message-digest, null
null

User level

read-write

Context

interface:Serial (DS1 PPP L2-L3, DS1 PPP L3, DS1 FR-SUB L2-L3, DS1 FR-SUB L3, USP PPP L2-L3, USP PPP L3), FastEthernet (L2-L3, L3, PPP L2-L3, PPP L3), VLAN (L2-L3, L3), Loopback (L2-L3, L3), Tunnel (L2-L3, L3), Dialer (L2-L3, L3)

Example

To set the OSPF authentication for the FastEthernet interface as message-digest:
Gxxx-001(if:FastEthernet 10/3)# ip ospf authentication message-digest