ip ospf priority Configuring OSPF
Enterasys Matrix DFE-Gold Series Configuration Guide 21-25
Mode
Routercommand,Interfaceconfiguration:Matrix>Router(config‐if(Vlan1))#
Usage
EachrouterinterfacethatparticipatesinOSPFroutingisassignedadefaultcost.Thiscommand
overwritesthedefaultof10.
The“no”formofthiscommandresetstheOSPFcosttothedefaultof10.
Example
ThisexampleshowshowtosettheOSPFcostto20forVLAN1:
Matrix>Router(config)#interface vlan 1
Matrix>Router(config-if(Vlan 1))#ip ospf cost 20
ip ospf priority
UsethiscommandtosettheOSPFpriorityvalueforrouterinterfaces.
Syntax
ip ospf priority number
no ip ospf priority
Parameters
Defaults
None.
Mode
Routercommand,Interfaceconfiguration:Matrix>Router(config‐if(Vlan1))#
Usage
Thepriorityvalueiscommunicatedbetweenroutersbymeansofhellomessagesandinfluences
theelectionofadesignatedrouter.
The“no”formofthiscommandresetsthevaluetothedefaultof1.
Example
ThisexampleshowshowtosettheOSPFpriorityto20forVLAN1:
Matrix>Router(config)#interface vlan 1
Matrix>Router(config-if(Vlan 1))#ip ospf priority 20
number Specifiestherouter’sOSPFpriorityinarangefrom0to255.