Default cost of an ospf interface – Cabletron Systems SMARTSWITCH ROUTER 9032578-05 User Manual
Page 140

Chapter 11: OSPF Configuration Guide
114
SmartSwitch Router User Reference Manual
Default Cost of an OSPF Interface
The default cost of an OSPF interface is calculated using its bandwidth. A VLAN that is
attached to an interface could have several ports of differing speeds. The bandwidth of an
interface is represented by the highest bandwidth port that is part of the associated
VLAN. The cost of an OSPF interface is inversely proportional to this bandwidth. The cost
is calculated using the following formula:
Cost = 2000000000 / speed (in bps)
The following is a table of the port types and the OSPF default cost associated with each
type:
Table 7. OSPF Default Cost Per Port Type
To configure OSPF interface parameters, enter one of the following commands in
Configure mode:
Port Media Type
Speed
OSPF Default Cost
Ethernet 1000
1000 Mbps
2
Ethernet 10/100
100 Mbps
20
Ethernet 10/100
10 Mbps
200
WAN (T1)
1.5 Mbps
1333
WAN (T3)
45 Mbps
44
Enable OSPF state on interface.
ospf set interface
<name-or-IPaddr>
|all
state disable|enable
Specify the cost of sending a packet
on an OSPF interface.
ospf set interface
<name-or-IPaddr>
|all
cost
Specify the priority for determining
the designated router on an OSPF
interface.
ospf set interface
<name-or-IPaddr>
|all
priority
Specify the interval between OSPF
hello packets on an OSPF interface.
ospf set interface
<name-or-IPaddr>
|all
hello-interval
Configure the retransmission interval
between link state advertisements for
adjacencies belonging to an OSPF
interface.
ospf set interface
<name-or-IPaddr>
|all
retransmit-interval