Ip Ospf Cost; Ip Ospf Priority - Enterasys G3G170-24 Cli Reference Manual

G-series
Hide thumbs Also See for G3G170-24:
Table of Contents

Advertisement

ip ospf cost

Defaults
None.
Mode
Interface configuration: G3
Example
This example shows how to configure the VLAN 1 interface as area 0.0.0.31:
G3(su)->router(Config)#interface vlan 1
G3(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: G3
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:
G3(su)->router(Config)#interface vlan 1
G3(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
16-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))#
 

Advertisement

Table of Contents
loading

Table of Contents