Users Guide

Table Of Contents
ip ospf area
Attaches an interface to an OSPF area.
Syntax
ip ospf process-id area area-id
Parameters
process-id Set an OSPF process ID for a specific OSPF process, from 1 to 65535.
area area-id Enter the OSPF area ID in dotted decimal A.B.C.D format or enter an area ID
number, from 1 to 65535.
Default Not configured
Command Mode INTERFACE
Usage
Information
The no version of this command removes an interface from an OSPF area.
Example
OS10(conf-if-vl-10)# ip ospf 10 area 5
Supported
Releases
10.2.0E or later
ip ospf authentication-key
Configures a text authentication key to enable OSPF traffic on an interface.
Syntax
ip ospf authentication-key key
Parameters key Enter an eight-character string for the authentication key.
Defaults Not configured
Command Mode INTERFACE
Usage
Information
To exchange OSPF information, all neighboring routers in the same network must use the same
authentication key. The no version of this command deletes the authentication key.
Example
OS10(config)# interface ethernet 1/1/1
OS10(conf-if-eth1/1/1)# ip ospf authentication-key sample
Supported
Releases
10.3.0E or later
ip ospf cost
Changes the cost associated with the OSPF traffic on an interface.
Syntax
ip ospf cost cost
Parameters cost Enter a value as the OSPF cost for the interface, from 1 to 65335.
Default Based on bandwidth reference
Command Mode INTERFACE
Usage
Information
if not configured, interface cost is based on the auto-cost command. This command configures OSPF
over multiple vendors to ensure that all routers use the same cost. If you manually configure the cost, the
calculated cost based on the reference bandwidth does not apply to the interface. The no version of this
command removes the IP OSPF cost configuration.
Example
OS10(config)# interface vlan 10
OS10(conf-if-vl-1)# ip ospf cost 10
Supported
Releases
10.2.0E or later
Layer 3 951