ip ospf authentication-key

Last Updated : Nov 06, 2012 |
Configures the interface authentication password. Use no ip ospf authentication-key to remove the OSPF password.
Prolog information

Syntax

ip ospf authentication-key key
no ip ospf authentication-key

Parameters

Parameter
Description
Possible Values
Default Value
key
The interface authentication password
string (1-8 chars)

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 authentication password for the VLAN 1 interface as my_pass:
Gxxx-001(if:Vlan 1)# ip ospf authentication-key my_pass