Alcatel Carrier Internetworking Solutions 060187-10 REV D manual Ospf Application Example

Page 46

OSPF Application Example

Configuring OSPF

 

 

 

 

-> ip ospf interface 12.0.0.1

 

-> ip ospf interface 12.0.0.1 area 0.0.0.0

 

-> ip ospf interface 12.0.0.1 status enable

 

-> ip ospf interface 10.0.0.1

 

-> ip ospf interface 10.0.0.1 area 0.0.0.1

 

-> ip ospf interface 10.0.0.1 status enable

 

IP router port 31.0.0.1 was associated to OSPF interface 31.0.0.1, enabled, and assigned to the backbone. IP router port 12.0.0.1 was associated to OSPF interface 12.0.0.1, enabled, and assigned to the backbone. IP router port 10.0.0.1 which connects to end stations and attached network devices, was associated to OSPF interface 10.0.0.1, enabled, and assigned to Area 0.0.0.1.

Alternatively, you can also configure Router 1 with the interface name instead of the IP address as shown below:

-> ip ospf interface vlan-12

-> ip ospf interface vlan-12 area 0.0.0.0 -> ip ospf interface vlan-12 status enable

-> ip ospf interface vlan-12

-> ip ospf interface vlan-12 area 0.0.0.0 -> ip ospf interface vlan-12 status enable

-> ip ospf interface vlan-10

-> ip ospf interface vlan-10 area 0.0.0.1 -> ip ospf interface vlan-10 status enable

Router 2

-> ip ospf interface 12.0.0.2

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

-> ip ospf interface 23.0.0.2

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

-> ip ospf interface 20.0.0.2

-> ip ospf interface 20.0.0.2 area 0.0.0.2 -> ip ospf interface 20.0.0.2 status enable

IP router port 12.0.0.2 was associated to OSPF interface 12.0.0.2, enabled, and assigned to the backbone. IP router port 23.0.0.2 was associated to OSPF interface 23.0.0.2, enabled, and assigned to the backbone. IP router port 20.0.0.2, which connects to end stations and attached network devices, was associated to OSPF interface 20.0.0.2, enabled, and assigned to Area 0.0.0.2.

Alternatively, you can also configure Router 2 with the interface name instead of the IP address as shown below:

-> ip ospf interface vlan-12

-> ip ospf interface vlan-12 area 0.0.0.0 -> ip ospf interface vlan-12 status enable

-> ip ospf interface vlan-23

-> ip ospf interface vlan-23 area 0.0.0.0 -> ip ospf interface vlan-23 status enable

page 1-36

OmniSwitch 6600 Family Advanced Routing Configuration Guide March 2005

Image 46
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?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 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 TypeDisplaying Area Status Enabling and Disabling SummarizationDeleting 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 InterfaceSimple Authentication Interface 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 a Virtual Link Creating Virtual LinksModifying Virtual Link Parameters Specifying an Autonomous System Boundary Router Creating Redistribution Policies and FiltersEnabling 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 Ip ospf interface 1.1.1.1 type non-broadcast Configuring Static NeighborsIp 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 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 RSA Security Inc Apptitude, IncAgranat Sun Microsystems, IncWind River Systems, Inc Network Time Protocol VersionIndex Index