4 enabling ospf on an interface – CANOGA PERKINS 9175 Configuration Guide User Manual

Page 101

Advertising
background image

CanogaOS Configuration Guide

17-2

DUT# configure terminal

Enter the Configure mode.

associated with a specific OSPF area. The area ID can be
a decimal value or an IP address.

DUT(config-router)# end

Return to privileged EXEC mode.

DUT# show ip protocols

Verify your entries.


To end an OSPF routing process, use the “no router ospf process-id” global
configuration command.
This example shows how to configure an OSPF routing process and assign it a process
number of 109:

DUT(config)# router ospf 109
DUT(config-router)# network 131.108.0.0 255.255.255.0 area 24

17.4 Enabling OSPF on an Interface

This example shows the minimum configuration required for enabling OSPF on an
interface. R1 and R2 are two routers in Area 0 connecting to network 10.10.10.0/24.
Note: Configure one interface so that it belongs to only one area. However, you can
configure different interfaces on a router to belong to different areas.
Topology

Figure 17-1: OSPF AS

Configurations
R1

DUT# configure terminal

Enter 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.

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
(area ID 0 specifies the backbone area).

Advertising