Name

ip ospf priority — interface

Synopsis

ip ospf priority priority
no ip ospf priority priority

Configures

OSPF priority

Default

1

Description

This command sets the priority for the router within the OSPF area to which the interface is connected. The priority determines which routers are selected as the area’s DR and BDR, and can range from 0 to 255. Routers with a priority of 0 are excluded from the selection process; the router with the highest priority is selected.

Example

interface serial0
    ip ospf priority 10

Get Cisco IOS in a Nutshell, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.