Alcatel Carrier Internetworking Solutions 060187-10 REV D manual Creating Virtual Links

Page 35

Configuring OSPF

Configuring OSPF

 

 

 

 

Creating Virtual Links

A virtual link is a link between two backbones through a transit area. Use the ip ospf virtual-linkcommand to create or delete a virtual link.

Accepted network design theory states that virtual links are the option of last resort. For more information on virtual links, see “Virtual Links” on page 1-10and refer to the figure on page 1-10.

Creating a Virtual Link

To create a virtual link, commands must be submitted to the routers at both ends of the link. The router being configured should point to the other end of the link, and both routers must have a common area.

When entering the ip ospf virtual-linkcommand, it is necessary to enter the Router ID of the far end of the link, and the area ID that both ends of the link share.

For example, a virtual link needs to be created between Router A (router ID 1.1.1.1) and Router B (router ID 2.2.2.2). We must:

1Establish a transit area between the two routers using the commands discussed in “Creating an OSPF Area” on page 1-18(in this example, we will use Area 0.0.0.1).

2Then use the ip ospf virtual-linkcommand on Router A as shown:

ip ospf virtual-link 0.0.0.1 2.2.2.2

3Next, enter the following command on Router B:

ip ospf virtual-link 0.0.0.1 1.1.1.1

Now there is a virtual link across Area 0.0.0.1 linking Router A and Router B.

4To display virtual links configured on a router, enter the following show command:

show ip ospf virtual-link

5To delete a virtual link, enter the ip ospf virtual-linkcommand with the area and far end router infor- mation, as shown:

no ip ospf virtual-link 0.0.0.1 2.2.2.2

Modifying Virtual Link Parameters

There are several parameters for a virtual link (such as authentication type and cost) that can be modified at the time of the link creation. They are described in the ip ospf virtual-linkcommand description.These parameters are identical in function to their counterparts in the section “Modifying Interface Parameters” on page 1-24.

OmniSwitch 6600 Family Advanced Routing Configuration Guide March 2005

page 1-25

Image 35
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