25 ip ospf priority – CANOGA PERKINS 9175 Command Reference User Manual

Page 231

Advertising
background image

CanogaOS Command Reference

15-22

no switchport

ip address 192.168.77.17/24

ip ospf network non-broadcast


Related Commands

neighbor (OSPF)

15.25 ip ospf priority

To set the router priority, which helps determine the designated router for this network, use the ip ospf

priority command in interface configuration mode. To return to the default value, use the no form of this

command.


Command Syntax

ip ospf priority number-value

no ip ospf priority

number-value

A number value that specifies the priority of the router. The range is from 0

to 255.


Default

Priority of 1


Command Mode

Interface configuration


Usage

When two routers attached to a network both attempt to become the designated router, the one with the

higher router priority takes precedence. If there is a tie, the router with the higher router ID takes

precedence. A router with a router priority set to zero is ineligible to become the designated router or

backup designated router. Router priority is configured only for interfaces to multiaccess networks (in

other words, not to point-to-point networks).

This priority value is used when you configure Open Shortest Path First (OSPF) for nonbroadcast

networks using the neighbor router configuration command for OSPF.


Examples

The following example sets the router priority value to 4:

interface eth-0-1

ip ospf priority 4


Related Commands

ip ospf network

neighbor (OSPF)

Advertising