Enterasys Networks 9034313-07 manual Ip ospf cost, Ip ospf priority

Models: 9034313-07

1 872
Download 872 pages 24.54 Kb
Page 585
Image 585

ip ospf cost

Mode

Interface configuration: C3(su)‐>router(Config‐if(Vlan 1))#

Example

This example shows how to configure the VLAN 1 interface as area 0.0.0.31:

C3(su)->router(Config)#interface vlan 1

C3(su)->router(Config-if(Vlan 1))#ip ospf areaid 0.0.0.31

ip ospf cost

Use this command to set the cost of sending an OSPF packet on an interface. The no form of this command resets the OSPF cost to the default of 10.

Syntax

ip ospf cost cost no ip ospf cost

Parameters

cost

Specifies the cost of sending a packet. Valid values range from 1 to 65535.

Defaults

None.

Mode

Interface configuration: C3(su)‐>router(Config‐if(Vlan 1))#

Usage

Each router interface that participates in OSPF routing is assigned a default cost. This command overwrites the default of 10.

Example

This example shows how to set the OSPF cost to 20 for the VLAN 1 interface:

C3(su)->router(Config)#interface vlan 1

C3(su)->router(Config-if(Vlan 1))#ip ospf cost 20

ip ospf priority

Use this command to set the OSPF priority value for router interfaces. The no form of this command resets the value to the default of 1.

Syntax

ip ospf priority number no ip ospf priority

SecureStack C3 Configuration Guide 20-15

Page 585
Image 585
Enterasys Networks 9034313-07 manual Ip ospf cost, Ip ospf priority