Справочник Пользователя для Enterasys Networks E1 Series

Скачать
Страница из 808
Process Overview: Routing Protocol Configuration
Configuring OSPF
13-31
13.1.2.4 ip ospf cost
Use this command to set the cost of sending a packet on an interface. Each router interface that 
participates in OSPF routing is assigned a default cost. This command overwrites the default of 10.
ip ospf cost cost
Syntax Description
Command Syntax of the “no” Form
The “no” form of this command resets the OSPF cost to the default of 10:
no ip ospf cost
Command Type
Router command.
Command Mode
Interface configuration: Matrix>Router(config-if(Vlan <vlan_id>))#
Command Defaults
None.
Example
This example shows how to set the OSPF cost to 20 for VLAN 1:
13.1.2.5 ip ospf priority
Use this command to set the OSPF priority value for router interfaces. The priority value is 
communicated between routers by means of hello messages and influences the election of a 
designated router.
ip ospf priority number
cost
Specifies the cost of sending a packet. Valid values range 
from 1 to 65535.
Matrix>Router(config)#interface vlan 1
Matrix>Router(config-if(Vlan 1))#ip ospf cost 20