Ip ospf cost, Ip ospf dead-interval – Enterasys Networks X-Pedition XSR CLI User Manual

Page 170

Advertising
background image

OSPF Commands

5-94 Configuring the Internet Protocol

ip ospf cost

This command sets the cost of sending a packet on a interface. Each router interface that 
participates in OSPF routing is assigned a default cost. This command overwrites the default.

Syntax

ip ospf cost cost

Syntax of the “no” Form

no ip ospf cost

Mode

Interface configuration: 

XSR(config-if<xx>)#

Default

10

Example

The following example sets cost 20 for interface FastEthernet 1:

XSR(config)#interface fastethernet 1
XSR(config-if<F1>)#ip ospf cost 20

ip ospf dead-interval

This command sets the interval a router must wait to receive a hello packet from its neighbor 
before determining that the neighbor is out of service.

Syntax

ip ospf dead-interval seconds

Syntax of the “no” Form

The no form of this command sets the value to the default:

no ip ospf dead-interval

Mode

Interface configuration: 

XSR(config-if<xx>)#

cost

Cost of sending a packet ranging from 1 to 65,535.

seconds

Interval that a router must wait to receive the hello packet. It must be the same 
on neighboring routers (on a specific subnet), but it can vary between subnets. 
This value is an unsigned integer ranging from 1 to 65,535 seconds.

Advertising