Alcatel Carrier Internetworking Solutions 060187-10 REV D manual Enable Ospf, Router

Page 45

Configuring OSPF

OSPF Application Example

 

 

 

 

Step 2: Enable OSPF

The next step is to load and enable OSPF on each router. The commands for this step are below (the commands are the same on each router):

-> ip load ospf

-> ip ospf status enable

Step 3: Create and Enable the Areas and Backbone

Now the areas should be created and enabled. In this case, we will create an area for each router, and a backbone (area 0.0.0.0) that connects the areas.

The commands for this step are below:

Router 1

-> ip ospf area 0.0.0.0

-> ip ospf area 0.0.0.0 status enable

-> ip ospf area 0.0.0.1

-> ip ospf area 0.0.0.1 status enable

These commands created area 0.0.0.0 (the backbone) and area 0.0.0.1 (the area for Router 1). Both of these areas are also enabled.

Router 2

-> ip ospf area 0.0.0.0

-> ip ospf area 0.0.0.0 status enable

-> ip ospf area 0.0.0.2

-> ip ospf area 0.0.0.2 status enable

These commands created Area 0.0.0.0 (the backbone) and Area 0.0.0.2 (the area for Router 2). Both of these areas are also enabled.

Router 3

-> ip ospf area 0.0.0.0

-> ip ospf area 0.0.0.0 status enable

-> ip ospf area 0.0.0.3

-> ip ospf area 0.0.0.3 status enable

These commands created Area 0.0.0.0 (the backbone) and Area 0.0.0.3 (the area for Router 3). Both of these areas are also enabled.

Step 4: Create, Enable, and Assign Interfaces

Next, OSPF interfaces must be created, enabled, and assigned to the areas. The OSPF interfaces should have the same IP address as the IP router ports created above in “Step 1: Prepare the Routers” on page 1-33.

Router 1

-> ip ospf interface 31.0.0.1

-> ip ospf interface 31.0.0.1 area 0.0.0.0 -> ip ospf interface 31.0.0.1 status enable

OmniSwitch 6600 Family Advanced Routing Configuration Guide March 2005

page 1-35

Image 45
Contents OmniSwitch 6600 Family Advanced Routing Configuration Guide Page Contents Alcatel INTERNETWORKING, INC. AII Unsupported Platforms Supported PlatformsWhat is in this Manual? When Should I Read this Manual?What is Not in this Manual? Who Should Read this Manual?Stage 1 Using the Switch for the First Time How is the Information Organized?Documentation Roadmap Stage 2 Gaining Familiarity with Basic Switch Functions Stage 3 Integrating the Switch Into a NetworkAnytime Related Documentation OmniSwitch 6600 Family Getting Started GuideTechnical Support This Chapter Configuring OspfOspf Specifications Parameter Description Command Default Value/Comments Ospf Defaults TableOspf Quick Steps Router ID Admin Status = Enabled Admin Status = Enabled Operational Status = UpShow ip ospf area Area Identifier Area Type = normalOspf Hello Protocol Ospf OverviewOspf Intra-Area and Inter-Area Routing Ospf AreasClassification of Routers Ospf Routers Connected with a Virtual Link Virtual LinksOspf Stub Area Stub AreasTotally Stubby Area Example Not-So-Stubby-AreasEqual Cost Multi-Path Ecmp Routing Graceful Restart on Stacks with Redundant SwitchesNon Broadcast Ospf Routing Multiple Equal Cost PathsOspf Graceful Restart Helping and Restarting Router Example Configuring Ospf Preparing the Network for Ospf Loading the Software Activating OspfEnabling Ospf Removing Ospf from MemoryCreating an Area Creating an Ospf AreaEnabling an Area Specifying an Area TypeEnabling and Disabling Summarization Displaying Area StatusDeleting an Area Setting Area Ranges Configuring Stub Area Default MetricsConfiguring a Totally Stubby Area No ip ospf area 1.1.1.1 default-metricEnter the following commands on Router B Creating an Interface Creating Ospf InterfacesAssigning an Interface to an Area Activating an InterfaceInterface Authentication Simple AuthenticationMD5 Encryption Ip ospf interface 120.5.80.1 dead-interval 50 cost Modifying Interface ParametersIp ospf interface 120.5.80.1 hello-interval Ip ospf interface 120.5.80.1 dead-intervalCreating Virtual Links Creating a Virtual LinkModifying Virtual Link Parameters Creating Redistribution Policies and Filters Specifying an Autonomous System Boundary RouterEnabling Redistribution Creating a Redistribution Filter Creating a Redistribution PolicyShow ip ospf redist-filter rip Show ip ospf redist-filterShow ip ospf redist-filter rip 1.1.0.0 No ip ospf redist-filter rip 1.1.0.0Configuring Router Capabilities Configuring Static Neighbors Ip ospf interface 1.1.1.1 type non-broadcastIp ospf neighbor 1.1.1.8 eligible No ip ospf restart-support Ip ospf restart-support planned-onlyThree Area Ospf Network Ospf Application ExamplePrepare the Routers Ospf Application ExampleConfiguring Ospf Router Enable OspfOspf Application Example Examine the Network Verifying Ospf Configuration Alcatel License Agreement Software License and Copyright StatementsAlcatel License Agreement Software License and Copyright Statements Booting and Debugging Non-Proprietary Software Third Party Licenses and NoticesOpenLDAP Public License Version 2.4, 8 December Linux GNU General Public License Version 2, JunePreamble Third Party Licenses and Notices Software License and Copyright Statements Third Party Licenses and Notices Appendix How to Apply These Terms to Your New Programs University of California Carnegie-Mellon UniversityRandom.c Agranat Apptitude, IncRSA Security Inc Sun Microsystems, IncNetwork Time Protocol Version Wind River Systems, IncIndex Index