Example: Controlling OSPF Designated Router Election

This example shows how to control OSPF designated router election.

Requirements

Before you begin:

  1. Configure network interfaces. See the Junos OS Interfaces Configuration Guide for Security Devices.
  2. Configure security filters. See the Junos OS Security Configuration Guide.
  3. Configure the router identifiers for the devices in your OSPF network. See Example: Configuring an OSPF Router Identifier.

Overview

This example shows how to control OSPF designated router election. Within the example, you set the OSPF interface address for the device to ge-/0/0/1 and the device priority to 200.

Configuration

Step-by-Step Procedure

To control OSPF designated router election:

  1. Configure an OSPF interface.
    [edit]user@host# set protocols ospf area 0.0.0.3 interface ge-0/0/1 priority 200
  2. If you are done configuring the device, commit the configuration.
    [edit]user@host# commit

Verification

To verify the configuration is working properly, enter the show protocols ospf command.

Related Topics