5 setting priority – CANOGA PERKINS 9175 Configuration Guide User Manual

Page 102

Advertising
background image

CanogaOS Configuration Guide

17-3

R2

DUT# configure terminal

Enter the Configure mode

DUT (config)# router ospf 200

Configure the Routing process and specify the Process
ID (200). The Process ID should be a unique positive
integer identifying the routing process.

DUT (config-router)# network 10.10.10.0/24 area 0

Define the interface (10.10.10.0/24) on which OSPF
runs and associate the area ID (0) with the interface.


Validation Commands
show ip ospf, show ip ospf interface, show ip ospf neighbor, show ip ospf route

17.5 Setting Priority

This example shows the configuration for setting the priority for an interface. You can set
a high priority for a router to make it the Designated Router (DR). Router R3 is
configured to have a priority of 10, which is higher than the default priority (default priority
is 1) of R1 and R2; making it the DR.
Topology

Figure 17-2: OSPF Priority

Configurations
R3

DUT(config)# interface eth-0-1

Specify the interface (eth-0-1) to be configured.

DUT (config-if)# ip ospf priority 10

Specify the router priority to a higher R3 the Designated
Router (DR).

DUT (config-if)# exit

Exit the Interface mode and return to the Configure
mode.

DUT (config)# router ospf 100

Configure the Routing process and specify the Process
ID (100). The Process ID should be a unique positive
integer identifying the routing process.

Advertising