Command Line Reference Guide
Open Shortest Path First (OSPFv2 and OSPFv3) | 719
Command
History
ip ospf authentication-key
c e s
Enable authentication and set an authentication key on OSPF traffic on an interface.
Syntax
ip ospf authentication-key [encryption-type] key
To delete an authentication key, enter no ip ospf authentication-key.
Parameters
Defaults
Not configured.
Command Modes
INTERFACE
Command
History
Usage
Information
All neighboring routers in the same network must use the same password to exchange OSPF
information.
ip ospf cost
c e s
Change the cost associated with the OSPF traffic on an interface.
Syntax
ip ospf cost cost
To return to default value, enter no ip ospf cost.
Parameters
Defaults
The default cost is based on the reference bandwidth.
Command Modes
INTERFACE
Command
History
Version 8.3.5.0 Introduced on S55
Version 7.6.1.0 Introduced on S-Series
Version 7.5.1.0 Introduced on C-Series
pre-Version 6.1.1.1 Introduced on E-Series
encryption-type
(OPTIONAL) Enter 7 to encrypt the key.
key
Enter an 8 character string. Strings longer than 8 characters are truncated.
Version 8.3.5.0 Introduced on S55
Version 7.6.1.0 Introduced on S-Series
Version 7.5.1.0 Introduced on C-Series
pre-Version 6.1.1.1 Introduced on E-Series
cost
Enter a number as the cost.
Range: 1 to 65535.
Version 8.3.5.0 Introduced on S55
Version 7.6.1.0 Introduced on S-Series
Version 7.5.1.0 Introduced on C-Series
pre-Version 6.1.1.1 Introduced on E-Series










