Cisco Cisco Packet Data Gateway (PDG)
Ethernet Interface Configuration Mode Commands
ip ospf cost ▀
Command Line Interface Reference, StarOS Release 16 ▄
3609
ip ospf cost
Configures the cost associated with sending a packet over the OSPF logical interface.
Product
PDSN
HA
GGSN
Privilege
Security Administrator, Administrator
Mode
Exec > Global Configuration > Context Configuration > Ethernet Interface Configuration
configure > context context_name > interface interface_name broadcast
Entering the above command sequence results in the following prompt:
[context_name]host_name(config-if-eth)#
Syntax
ip ospf cost value
no ip ospf cost
no
Disable this function.
value
Specifies the cost to assign to OSPF packets as an integer from 1 through 65535. Default: 10
Usage
Use this command to set the cost associated with routes from the interface.
Example
Use the following command to set the cost to
20
;
ip ospf cost 20
Use the following command to disable the cost setting;
no ip ospf cost