DGS-3620 m/ mSW Rls. 1.02.000
11-14 ip ospf cost
ip ospf cost COST
no ip ospf cost
Syntax Description
COST
Default
Command Mode
Usage Guideline
Example
Switch# configure terminal
Switch(config)# interface vlan 1
Switch(config-if)# ip ospf cost 2
CLI Reference Guide
Use this command to configure the cost of sending a packet on an OSPF
interface. Use the no command to restore to the default value.
OSPF interface cost.
The value range is 1 to 65535.
The default value is 1
Interface configuration mode
The interface cost reflects the overhead for sending the packet across the interface.
This cost is advertised as the link cost in the router link advertisement. The cost is
inversely proportional to the speed of an interface. The cost can be either manually
assigned or be automatically determined.
Users can verify the settings by entering the show ip ospf interface command.
To set System interface's OSPF interface cost to 2:
ip ospf cost
338