Network Router User Manual
Table Of Contents
- Notices
- Contents
- About This Manual
- Introduction
- Hot Swapping Line Cards and Control Modules
- Bridging Configuration Guide
- Bridging Overview
- VLAN Overview
- Configuring SSR Bridging Functions
- Monitoring Bridging
- Configuration Examples
- SmartTRUNK Configuration Guide
- ATM Configuration Guide
- Packet-over-SONET Configuration Guide
- DHCP Configuration Guide
- IP Routing Configuration Guide
- IP Routing Protocols
- Configuring IP Interfaces and Parameters
- Configuring IP Interfaces to Ports
- Configuring IP Interfaces for a VLAN
- Specifying Ethernet Encapsulation Method
- Configuring Jumbo Frames
- Configuring Address Resolution Protocol (ARP)
- Configuring Reverse Address Resolution Protocol (RARP)
- Configuring DNS Parameters
- Configuring IP Services (ICMP)
- Configuring IP Helper
- Configuring Direct Broadcast
- Configuring Denial of Service (DOS)
- Monitoring IP Parameters
- Configuring Router Discovery
- Configuration Examples
- VRRP Configuration Guide
- RIP Configuration Guide
- OSPF Configuration Guide
- BGP Configuration Guide
- Routing Policy Configuration Guide
- Route Import and Export Policy Overview
- Configuring Simple Routing Policies
- Configuring Advanced Routing Policies
- Multicast Routing Configuration Guide
- IP Policy-Based Forwarding Configuration Guide
- Network Address Translation Configuration Guide
- Web Hosting Configuration Guide
- Overview
- Load Balancing
- Web Caching
- IPX Routing Configuration Guide
- Access Control List Configuration Guide
- Security Configuration Guide
- QoS Configuration Guide
- Performance Monitoring Guide
- RMON Configuration Guide
- LFAP Configuration Guide
- WAN Configuration Guide
- WAN Overview
- Frame Relay Overview
- Configuring Frame Relay Interfaces for the SSR
- Monitoring Frame Relay WAN Ports
- Frame Relay Port Configuration
- Point-to-Point Protocol (PPP) Overview
- Configuring PPP Interfaces
- Monitoring PPP WAN Ports
- PPP Port Configuration
- WAN Configuration Examples
- New Features Supported on Line Cards

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
<num>
Specify the priority for determining
the designated router on an OSPF
interface.
ospf set interface <name-or-IPaddr>|all
priority
<num>
Specify the interval between OSPF
hello packets on an OSPF interface.
ospf set interface <name-or-IPaddr>|all
hello-interval
<num>
Configure the retransmission interval
between link state advertisements for
adjacencies belonging to an OSPF
interface.
ospf set interface <name-or-IPaddr>|all
retransmit-interval
<num>