Quick Reference Guide
1226 OSPF Commands
no ip ospf authentication
• encrypt — MD5 encrypted authentication key.
•
key
— Authentication key for the specified interface. (Range: 8 bytes or
less if the authentication type is
simple
and 16 bytes or less if the type is
encrypt
.)
•
key-id
— Authentication key identifier for the authentication type
encrypt
. (Range: 0–25)
Default Configuration
This command has no default configuration.
Command Mode
Interface Configuration (VLAN) mode.
User Guidelines
Unauthenticated interfaces do not need an authentication key or
authentication key ID.
Example
The following example sets the OSPF Authentication Type and Key for VLAN
15.
console(config-if-vlan15)#ip ospf authentication encrypt test123 100
ip ospf cost
Use the ip ospf cost command in Interface Configuration mode to configure
the cost on an OSPF interface. Use the no form of the command to return
the cost to the default value.
Syntax
ip ospf cost
interface-cost
no ip ospf cost
•
inte
rface-cost
— Specifies the cost (link-state metric) of the OSPF
interface. (Range: 1–65535)
2CSNXXX_SWUM200.book Page 1226 Tuesday, December 10, 2013 1:22 PM










