Alcatel Carrier Internetworking Solutions 060187-10 REV D manual Ospf Quick Steps

Page 14

OSPF Quick Steps

Configuring OSPF

 

 

 

 

OSPF Quick Steps

The followings steps are designed to show the user the necessary set of commands for setting up a router to use OSPF:

1Create a VLAN using the vlan command. For example:

-> vlan 5

-> vlan 5 enable

2Assign a router IP address and subnet mask to the VLAN using the ip interface command. For exam- ple:

-> ip interface vlan-5 vlan 5 address 120.1.4.1 mask 255.0.0.0

3Assign a port to the created VLANs using the vlan command. For example:

-> vlan 5 port default 2/1

Note. The port will be statically assigned to the VLAN, as a VLAN must have a physical port assigned to it in order for the router port to function. However, the router could be set up in such a way that mobile ports are dynamically assigned to VLANs using VLAN rules. See the chapter titled “Defining VLAN Rules” in the OmniSwitch 6600 Family Network Configuration Guide.

4Assign a router ID to the router using the ip router router-idcommand. For example:

-> ip router router-id 1.1.1.1

5Load and enable OSPF using the ip load ospf and the ip ospf status commands. For example:

-> ip load ospf

-> ip ospf status enable

6Create a backbone to connect this router to others, and an area for the router’s traffic, using the ip ospf area command. (Backbones are always labeled area 0.0.0.0.) For example:

-> ip ospf area 0.0.0.0

-> ip ospf area 0.0.0.1

7Enable the backbone and area using the ip ospf area status command. For example:

-> ip ospf area 0.0.0.0 status enable

-> ip ospf area 0.0.0.1 status enable

8Create an OSPF interface for each VLAN created in Step 1, using the ip ospf interface command. The OSPF interface should use the same IP address or interface name used for the VLAN router IP created in Step 2. For example:

-> ip ospf interface 120.1.4.1

or

-> ip ospf interface vlan-5

page 1-4

OmniSwitch 6600 Family Advanced Routing Configuration Guide March 2005

Image 14
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?Documentation Roadmap Stage 1 Using the Switch for the First TimeHow is the Information Organized? Anytime Stage 2 Gaining Familiarity with Basic Switch FunctionsStage 3 Integrating the Switch Into a Network 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 TypeDeleting an Area Enabling and Disabling SummarizationDisplaying Area Status 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 InterfaceMD5 Encryption Interface AuthenticationSimple Authentication 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-intervalModifying Virtual Link Parameters Creating Virtual LinksCreating a Virtual Link Enabling Redistribution Creating Redistribution Policies and FiltersSpecifying an Autonomous System Boundary Router 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 Ip ospf neighbor 1.1.1.8 eligible Configuring Static NeighborsIp ospf interface 1.1.1.1 type non-broadcast 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 OpenLDAP Public License Version 2.4, 8 December Booting and Debugging Non-Proprietary SoftwareThird Party Licenses and Notices Preamble LinuxGNU General Public License Version 2, June 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 Random.c University of CaliforniaCarnegie-Mellon University RSA Security Inc Apptitude, IncAgranat Sun Microsystems, IncWind River Systems, Inc Network Time Protocol VersionIndex Index