Cisco Cisco Packet Data Interworking Function (PDIF)
OSPF Configuration Mode Commands
area default-cost ▀
Command Line Interface Reference, StarOS Release 18 ▄
7551
area default-cost
Configures the default cost for an area.
Product
PDSN
HA
GGSN
Privilege
Security Administrator, Administrator
Mode
Exec > Global Configuration > Context Configuration > OSPF Configuration
configure > context context_name > router ospf
Entering the above command sequence results in the following prompt:
[local]host_name(config-ospf)#
Syntax
[ no ] area { ip_address | decimal_value } default-cost cost_value
no
Deletes the default cost for the area.
ip_address
Specifies the IP address of the area in IPv4 dotted-decimal notation.
decimal_value
Specifies the identification number of the area as an integer from 0 through 4294967295.
cost_value
Sets the default cost to be configured for the specified area as an integer from 0 through 16777215.
Usage
Use this command to configure the default cost for an OSPF area.
Example
The following command sets the default cost for an OSPF area defined by the IP address
192.168.100.10
to
300
:
area 192.168.100.10 default-cost 300