Alcatel Carrier Internetworking Solutions 060187-10 REV D manual Prepare the Routers

Page 43

Configuring OSPF

OSPF Application Example

 

 

 

 

Step 1: Prepare the Routers

The first step is to create the VLANs on each router, add an IP interface to the VLAN, assign a port to the VLAN, and assign a router identification number to the routers. For the backbone, the network design in this case uses slot 2, port 1 as the egress port and slot 2, port 2 as ingress port on each router. Router 1 connects to Router 2, Router 2 connects to Router 3, and Router 3 connects to Router 1 using 10/100 Ethernet cables.

Note. The ports will be statically assigned to the router, 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.

The commands setting up VLANs are shown below:

Router 1 (using ports 2/1 and 2/2 for the backbone, and ports 2/3-5 for end devices):

-> vlan 31

 

-> ip interface

vlan-31 vlan 31 address 31.0.0.1 mask 255.0.0.0

-> vlan 31 port

default 2/1

-> vlan 12

 

-> ip interface

vlan-12 vlan 12 address 12.0.0.1 mask 255.0.0.0

-> vlan 12 port

default 2/2

-> vlan 10

 

-> ip interface

vlan-10 vlan 10 address 10.0.0.1 mask 255.0.0.0

-> vlan 10 port

default 2/3-5

-> ip router router-id 1.1.1.1

These commands created VLANs 31, 12, and 10.

VLAN 31 handles the backbone connection from Router 1 to Router 3, using the IP router port

31.0.0.1and physical port 2/1.

VLAN 12 handles the backbone connection from Router 1 to Router 2, using the IP router port

12.0.0.1and physical port 2/2.

VLAN 10 handles the device connections to Router 1, using the IP router port 10.0.0.1 and physical ports 2/3-5. More ports could be added at a later time if necessary.

The router was assigned the Router ID of 1.1.1.1.

OmniSwitch 6600 Family Advanced Routing Configuration Guide March 2005

page 1-33

Image 43
Contents OmniSwitch 6600 Family Advanced Routing Configuration Guide Page Contents Alcatel INTERNETWORKING, INC. AII Unsupported Platforms Supported PlatformsWho Should Read this Manual? When Should I Read this Manual?What is in this Manual? What is Not in this Manual?How is the Information Organized? Stage 1 Using the Switch for the First TimeDocumentation Roadmap Stage 3 Integrating the Switch Into a Network Stage 2 Gaining Familiarity with Basic Switch FunctionsAnytime 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 Area Type = normal Admin Status = Enabled Operational Status = UpAdmin Status = Enabled Show ip ospf area Area IdentifierOspf 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-AreasMultiple Equal Cost Paths Graceful Restart on Stacks with Redundant SwitchesEqual Cost Multi-Path Ecmp Routing Non Broadcast Ospf RoutingOspf Graceful Restart Helping and Restarting Router Example Configuring Ospf Preparing the Network for Ospf Removing Ospf from Memory Activating OspfLoading the Software Enabling OspfSpecifying an Area Type Creating an Ospf AreaCreating an Area Enabling an AreaDisplaying Area Status Enabling and Disabling SummarizationDeleting an Area No ip ospf area 1.1.1.1 default-metric Configuring Stub Area Default MetricsSetting Area Ranges Configuring a Totally Stubby AreaEnter the following commands on Router B Activating an Interface Creating Ospf InterfacesCreating an Interface Assigning an Interface to an AreaSimple Authentication Interface AuthenticationMD5 Encryption Ip ospf interface 120.5.80.1 dead-interval Modifying Interface ParametersIp ospf interface 120.5.80.1 dead-interval 50 cost Ip ospf interface 120.5.80.1 hello-intervalCreating a Virtual Link Creating Virtual LinksModifying Virtual Link Parameters Specifying an Autonomous System Boundary Router Creating Redistribution Policies and FiltersEnabling Redistribution Creating a Redistribution Filter Creating a Redistribution PolicyNo ip ospf redist-filter rip 1.1.0.0 Show ip ospf redist-filterShow ip ospf redist-filter rip Show ip ospf redist-filter rip 1.1.0.0Configuring Router Capabilities Ip ospf interface 1.1.1.1 type non-broadcast Configuring Static NeighborsIp 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 Third Party Licenses and Notices Booting and Debugging Non-Proprietary SoftwareOpenLDAP Public License Version 2.4, 8 December GNU General Public License Version 2, June LinuxPreamble 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 Carnegie-Mellon University University of CaliforniaRandom.c Sun Microsystems, Inc Apptitude, IncAgranat RSA Security IncNetwork Time Protocol Version Wind River Systems, IncIndex Index