Alcatel Carrier Internetworking Solutions 060187-10 REV D Configuring Stub Area Default Metrics

Page 30

Configuring OSPF

Configuring OSPF

 

 

 

 

Configuring Stub Area Default Metrics

The default metric configures the type of cost metric that a default area border router (ABR) will advertise in the default summary Link State Advertisement (LSA). Use the ip ospf area default-metriccommand to create or delete a default metric for stub or Not So Stubby Area (NSSA) area. Specify the stub area and select a cost value or a route type, as shown:

-> ip ospf area 1.1.1.1 default-metric 0 cost 50

or

-> ip ospf area 1.1.1.1 default-metric 0 type type1

A route has a preset metric associated to it depending on its type. The first example, the stub area is given a default metric of 0 (this is Type of Service 0) and a cost of 50 added to routes from the area. The second example specifies that the cost associated with Type 1 routes should be applied to routes from the area.

Note. At this time, only the default metric of ToS 0 is supported.

To remove the area default-metric setting, enter the ip ospf area default-metriccommand using the no command, as shown:

-> no ip ospf area 1.1.1.1 default-metric 0

Setting Area Ranges

Area ranges are used to summarize many area routes into a single advertisement at an area boundary. Ranges are advertised as summaries or NSSAs. Ranges also act as filters that either allow the summary to be advertised or not. Ranges are created using the ip ospf area range command. An area and the summary IP address and IP mask must be specified. For example, to create a summary range with IP address

192.5.40.1and an IP mask of 255.255.255.0 for area 1.1.1.1, the following commands would be entered at the CLI prompt:

-> ip ospf area 1.1.1.1 range summary 192.5.40.1 255.255.255.0

-> ip ospf area 1.1.1.1 range summary 192.5.40.1 255.255.255.0 effect noMatching

To view the configured ranges for an area, use the show ip ospf area range command as demonstrated:

-> show ip ospf area 1.1.1.1 range

Configuring a Totally Stubby Area

In order to configure a totally stubby area you need to configure the area as stub on the ABR and disable summarization. By doing so the ABR will generate a default route in the totally stubby area. In addition, the other routers within the totally stubby area must only have their area configured as stub.

For example, to configure the simple totally stubby configuration shown in the figure in “Configuring a Totally Stubby Area” on page 1-20where Router B is an ABR between the backbone area 0 and the stub area 1 and Router A is in Totally Stubby Area 1.1.1.1 follow the steps below:

page 1-20

OmniSwitch 6600 Family Advanced Routing Configuration Guide March 2005

Image 30
Contents OmniSwitch 6600 Family Advanced Routing Configuration Guide Page Contents Alcatel INTERNETWORKING, INC. AII Supported Platforms Unsupported PlatformsWhat is Not in this Manual? When Should I Read this Manual?What is 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 OmniSwitch 6600 Family Getting Started Guide Related DocumentationTechnical Support Configuring Ospf This ChapterOspf Specifications Ospf Defaults Table Parameter Description Command Default Value/CommentsOspf Quick Steps Router ID Show ip ospf area Area Identifier Admin Status = Enabled Operational Status = UpAdmin Status = Enabled Area Type = normalOspf Overview Ospf Hello ProtocolOspf Areas Ospf Intra-Area and Inter-Area RoutingClassification of Routers Virtual Links Ospf Routers Connected with a Virtual LinkStub Areas Ospf Stub AreaNot-So-Stubby-Areas Totally Stubby Area ExampleNon Broadcast Ospf Routing Graceful Restart on Stacks with Redundant SwitchesEqual Cost Multi-Path Ecmp Routing Multiple Equal Cost PathsOspf Graceful Restart Helping and Restarting Router Example Configuring Ospf Preparing the Network for Ospf Enabling Ospf Activating OspfLoading the Software Removing Ospf from MemoryEnabling an Area Creating an Ospf AreaCreating an Area Specifying an Area TypeEnabling and Disabling Summarization Displaying Area StatusDeleting an Area Configuring a Totally Stubby Area Configuring Stub Area Default MetricsSetting Area Ranges No ip ospf area 1.1.1.1 default-metricEnter the following commands on Router B Assigning an Interface to an Area Creating Ospf InterfacesCreating an Interface Activating an InterfaceInterface Authentication Simple AuthenticationMD5 Encryption Ip ospf interface 120.5.80.1 hello-interval Modifying Interface ParametersIp ospf interface 120.5.80.1 dead-interval 50 cost 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 Policy Creating a Redistribution FilterShow ip ospf redist-filter rip 1.1.0.0 Show ip ospf redist-filterShow ip ospf redist-filter rip 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 Ip ospf restart-support planned-only No ip ospf restart-supportOspf Application Example Three Area Ospf NetworkPrepare the Routers Ospf Application ExampleConfiguring Ospf Enable Ospf RouterOspf Application Example Examine the Network Verifying Ospf Configuration Software License and Copyright Statements Alcatel License AgreementAlcatel 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 RSA Security Inc Apptitude, IncAgranat Sun Microsystems, IncWind River Systems, Inc Network Time Protocol VersionIndex Index