Alcatel Carrier Internetworking Solutions 060187-10 REV D manual Examine the Network

Page 47

Configuring OSPF

OSPF Application Example

 

 

 

 

-> ip ospf interface vlan-20

 

-> ip ospf interface vlan-20 area 0.0.0.2

 

-> ip ospf interface vlan-20 status enable

 

Router 3

 

-> ip ospf interface 23.0.0.3

 

-> ip ospf interface 23.0.0.3 area 0.0.0.0

 

-> ip ospf interface 23.0.0.3 status enable

 

-> ip ospf interface 31.0.0.3

 

-> ip ospf interface 31.0.0.3 area 0.0.0.0

 

-> ip ospf interface 31.0.0.3 status enable

 

-> ip ospf interface 30.0.0.3

 

-> ip ospf interface 30.0.0.3 area 0.0.0.3

 

-> ip ospf interface 30.0.0.3 status enable

 

IP router port 23.0.0.3 was associated to OSPF interface 23.0.0.3, enabled, and assigned to the backbone. IP router port 31.0.0.3 was associated to OSPF interface 31.0.0.3, enabled, and assigned to the backbone. IP router port 30.0.0.3, which connects to end stations and attached network devices, was associated to OSPF interface 30.0.0.3, enabled, and assigned to Area 0.0.0.3.

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

-> ip ospf interface vlan-23

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

-> ip ospf interface vlan-31

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

-> ip ospf interface vlan-30

-> ip ospf interface vlan-30 area 0.0.0.3 -> ip ospf interface vlan-30 status enable

Step 5: Examine the Network

After the network has been created, you can check various aspects of it using show commands:

For OSPF in general, use the show ip ospf command.

For areas, use the show ip ospf area command.

For interfaces, use the show ip ospf interface command.

To check for adjacencies formed with neighbors, use the show ip ospf neighbor command.

For routes, use the show ip ospf routes command.

OmniSwitch 6600 Family Advanced Routing Configuration Guide March 2005

page 1-37

Image 47
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?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 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 AreaDeleting an Area Enabling and Disabling SummarizationDisplaying Area Status 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 AreaMD5 Encryption Interface AuthenticationSimple Authentication 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-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 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 neighbor 1.1.1.8 eligible Configuring Static NeighborsIp ospf interface 1.1.1.1 type non-broadcast 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 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 Sun Microsystems, Inc Apptitude, IncAgranat RSA Security IncNetwork Time Protocol Version Wind River Systems, IncIndex Index