ip ospf cost
Defaults
None.
Mode
Interface configuration: C2
Example
This example shows how to configure the VLAN 1 interface as area 0.0.0.31:
C2(su)->router(Config)#interface vlan 1
C2(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
Defaults
None.
Mode
Interface configuration: C2
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:
C2(su)->router(Config)#interface vlan 1
C2(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
17-14 IPv4 Routing Protocol Configuration
(su)‐>router(Config‐if(Vlan 1))#
Specifies the cost of sending a packet. Valid values range from 1 to 65535.
(su)‐>router(Config‐if(Vlan 1))#
Need help?
Do you have a question about the SecureStack C2 and is the answer not in the manual?
Questions and answers