Configuring the broadcast network type for an interface

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Enter interface view.

interface interface-type interface-number

N/A

3. Configure the OSPF network type for the interface as broadcast.

ospf network-type broadcast

By default, the network type of an interface depends on the link layer protocol.

4. (Optional.) Configure a router priority for the interface.

ospf dr-priority priority

The default router priority is 1.