SMC Networks SMC6724L3 manual 266, Syntax Ip ospf cost cost no ip ospf cost

Models: SMC6724L3

1 618
Download 618 pages 36.53 Kb
Page 552
Image 552

COMMAND LINE INTERFACE

Related Commands

ip ospf authentication (4-263)

ip ospf cost

Use this command to explicitly set the cost of sending a packet on an interface. Use the no form to restore the default value.

Syntax

ip ospf cost cost no ip ospf cost

cost - Link metric for this interface. Use higher values to indicate slower ports. (Range: 1-65535)

Command Mode

Interface Configuration (VLAN)

Default Setting

1

Command Usage

Interface cost reflects the port speed. This router uses a default cost of 1 for all ports. Therefore, if you install a Gigabit module, you may have to reset the cost for all of the 100 Mbps ports to a value greater than 1.

Example

Console(config)#interface vlan 1

Console(config-if)#ip ospf cost 10

Console(config-if)#

4-266

Page 552
Image 552
SMC Networks SMC6724L3 manual 266, Syntax Ip ospf cost cost no ip ospf cost