
IP Routing Commands
4-281
4
Related Commands
ip ospf authentication (4-278)
ip ospf cost
This command explicitly sets 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
ip ospf dead-interval
This command sets the interval at which hello packets are not seen before
neighbors declare the router down. Use the
no
form to restore the default value.
Syntax
ip ospf dead-interval
seconds
no ip ospf dead-interval
seconds
- The maximum time that neighbor routers can wait for a hello
packet before declaring the transmitting router down. This interval must be
set to the same value for all routers on the network. (Range: 1-65535)
Command Mode
Interface Configuration (VLAN)
Default Setting
40, or four times the interval specified by the
ip ospf hello-interval
command.
Console(config)#interface vlan 1
Console(config-if)#ip ospf cost 10
Console(config-if)#
Summary of Contents for ES3628C
Page 2: ......
Page 4: ...ES3628C F3 1 0 18 E032005 R01 149100005100H...
Page 38: ...Introduction 1 10 1...
Page 48: ...Initial Configuration 2 10 2...
Page 281: ...IP Routing 3 233 3 Web Click Routing Protocol RIP Statistics Figure 3 133 RIP Statistics...
Page 326: ...Configuring the Switch 3 278 3...
Page 652: ...Command Line Interface 4 326 4...
Page 666: ...Glossary Glossary 8...
Page 672: ...Index 6 Index...
Page 673: ......
Page 674: ...ES3628C E032005 R01 149100005100H...