Alcatel-Lucent OMNISWITCH 6800-6850-9000 Configuration Guide

Part No. 060216-10, Rev. D June 2007
OmniSwitch 6800 Series OmniSwitch 6850 Series OmniSwitch 9000 Series
Advanced Routing
Configuration Guide
www.alcatel-lucent.com
Series, and OmniSwitch 9000 Series and release 6.2.1 of the OmniSwitch 6850 Series. The
functionality described in this guide is subject to change without notice.
Copyright © 2007 by Alcatel-Lucent. All rights reserved. This document may not be reproduced in whole or in part without the express written permission of Alcatel-Lucent.
®
Alcatel-Lucent OmniSwitch
and the Alcatel-Lucent logo are registered trademarks of Alcatel-Lucent. Xylan®,
®
, OmniStack®, and Alcatel-Lucent OmniVista® are registered trademarks of Alcatel-Lucent.
OmniAccess™, Omni Switch/Router™, PolicyView™, RouterView™, SwitchManager™, VoiceView™, WebView™, X-Cell™, X-Vision™, and the Xylan logo are trademarks of Alcatel-Lucent.
This OmniSwitch product contains components which may be covered by one or more of the following U.S. Patents:
U.S. Patent No. 6,339,830
U.S. Patent No. 6,070,243
U.S. Patent No. 6,061,368
U.S. Patent No. 5,394,402
U.S. Patent No. 6,047,024
U.S. Patent No. 6,314,106
U.S. Patent No. 6,542,507
U.S. Patent No. 6,874,090
26801 West Agoura Road
Calabasas, CA 91301
(818) 880-3500 FAX (818) 880-3505
support@ind.alcatel.com
US Customer Support—(800) 995-2696
International Customer Support—(818) 878-4507
Internet—service.esd.alcatel-lucent.com
ii OmniSwitch 6800/6850/9000 Advanced Routing Configuration Guide June 2007

Contents

About This Guide .......................................................................................................... xi
Supported Platforms .......................................................................................................... xi
Who Should Read this Manual? .......................................................................................xii
When Should I Read this Manual? ...................................................................................xii
What is in this Manual? .................................................................................................... xii
What is Not in this Manual? .............................................................................................xii
How is the Information Organized? ................................................................................xiii
Documentation Roadmap ................................................................................................xiii
Related Documentation .................................................................................................... xv
User Manual CD ............................................................................................................xvii
Technical Support ..........................................................................................................xvii
Chapter 1 Configuring OSPF .......................................................................................................1-1
In This Chapter ................................................................................................................1-1
OSPF Specifications ........................................................................................................1-2
OSPF Defaults Table .......................................................................................................1-3
OSPF Quick Steps ...........................................................................................................1-4
OSPF Overview ..............................................................................................................1-8
OSPF Areas ..............................................................................................................1-9
Classification of Routers ........................................................................................1-10
Virtual Links ..........................................................................................................1-10
Stub Areas ..............................................................................................................1-11
Not-So-Stubby-Areas ......................................................................................1-12
Totally Stubby Areas .......................................................................................1-12
Equal Cost Multi-Path (ECMP) Routing ...............................................................1-13
Non Broadcast OSPF Routing ................................................................................1-13
Graceful Restart on Stacks with Redundant Switches ...........................................1-14
Graceful Restart on Switches with Redundant CMMs ..........................................1-15
Configuring OSPF .........................................................................................................1-16
Preparing the Network for OSPF ...........................................................................1-17
Activating OSPF ....................................................................................................1-17
Creating an OSPF Area ..........................................................................................1-18
Configuring Stub Area Default Metrics .................................................................1-20
Creating OSPF Interfaces .......................................................................................1-21
Interface Authentication .........................................................................................1-22
Creating Virtual Links ............................................................................................1-24
OmniSwitch 6800/6850/9000 Advanced Routing Configuration Guide June 2007 iii
Contents
Configuring Redistribution ....................................................................................1-25
Using Route Maps ...........................................................................................1-25
Configuring Route Map Redistribution ...........................................................1-29
Route Map Redistribution Example ................................................................1-30
Configuring Router Capabilities ............................................................................1-31
Configuring Static Neighbors .................................................................................1-32
Configuring Redundant Switches in a Stack for Graceful Restart .........................1-33
Configuring Redundant CMMs for Graceful Restart .............................................1-34
OSPF Application Example ..........................................................................................1-35
Step 1: Prepare the Routers .............................................................................1-36
Step 2: Enable OSPF .......................................................................................1-37
Step 3: Create and Enable the Areas and Backbone ........................................1-37
Step 4: Create, Enable, and Assign Interfaces .................................................1-39
Step 5: Examine the Network ..........................................................................1-41
Verifying OSPF Configuration .....................................................................................1-42
Chapter 2 Configuring OSPFv3 ...................................................................................................2-1
In This Chapter ................................................................................................................2-1
OSPFv3 Specifications ....................................................................................................2-2
OSPFv3 Defaults Table ...................................................................................................2-3
OSPFv3 Quick Steps .......................................................................................................2-4
OSPFv3 Overview ..........................................................................................................2-8
OSPFv3 Areas ..........................................................................................................2-9
Classification of Routers ........................................................................................2-10
Virtual Links ..........................................................................................................2-10
Stub Areas ..............................................................................................................2-11
Equal Cost Multi-Path (ECMP) Routing ...............................................................2-12
Configuring OSPFv3 .....................................................................................................2-13
Preparing the Network for OSPFv3 .......................................................................2-14
Activating OSPFv3 ................................................................................................2-14
Creating an OSPFv3 Area ......................................................................................2-15
Configuring Stub Area Default Metrics .................................................................2-16
Creating OSPFv3 Interfaces ...................................................................................2-16
Creating Virtual Links ............................................................................................2-17
Configuring Redistribution ....................................................................................2-18
Using Route Maps ...........................................................................................2-19
Configuring Route Map Redistribution ...........................................................2-22
Configuring Router Capabilities ............................................................................2-24
OSPFv3 Application Example ......................................................................................2-25
Step 1: Prepare the Routers .............................................................................2-26
Step 2: Load OSPFv3 ......................................................................................2-27
Step 3: Create the Areas and Backbone ..........................................................2-28
Step 5: Examine the Network ..........................................................................2-29
Verifying OSPFv3 Configuration .................................................................................2-30
iv OmniSwitch 6800/6850/9000 Advanced Routing Configuration Guide June 2007
Contents
Chapter 3 Configuring IS-IS ........................................................................................................3-1
In This Chapter ................................................................................................................3-1
IS-IS Specifications .........................................................................................................3-2
IS-IS Defaults Table ........................................................................................................3-3
IS-IS Quick Steps ............................................................................................................3-5
IS-IS Overview ................................................................................................................3-8
IS-IS Packet Types .................................................................................................3-10
IS-IS Areas .............................................................................................................3-10
Graceful Restart on Stacks with Redundant Switches ...........................................3-12
Configuring IS-IS ..........................................................................................................3-14
Preparing the Network for IS-IS ............................................................................3-14
Activating IS-IS ......................................................................................................3-15
Creating an IS-IS Area ID ......................................................................................3-16
Creating IS-IS Interfaces ........................................................................................3-16
Configuring the IS-IS Level ...................................................................................3-16
Enabling Summarization ........................................................................................3-18
Enabling IS-IS Authentication ...............................................................................3-18
Modifying Interface Parameters .............................................................................3-20
Configuring Redistribution Using Route Maps .....................................................3-22
Using Route Maps ...........................................................................................3-22
Configuring Route Map Redistribution ...........................................................3-26
Route Map Redistribution Example ................................................................3-27
Configuring Router Capabilities ............................................................................3-28
Configuring Redundant Switches in a Stack for Graceful Restart .........................3-29
IS-IS Application Example ...........................................................................................3-30
Step 1: Prepare the Routers .............................................................................3-30
Step 2: Enable IS-IS ........................................................................................3-31
Step 3: Create and Enable Area ID ..................................................................3-31
Step 4: Configuring IS-IS Level Capability ....................................................3-31
Step 5: Create, Enable, and Assign Interfaces .................................................3-31
Step 6: Examine the Network ..........................................................................3-32
Verifying IS-IS Configuration ......................................................................................3-32
Chapter 4 Configuring BGP .........................................................................................................4-1
In This Chapter .........................................................................................................4-1
BGP Specifications ........................................................................................................4-3
Quick Steps for Using BGP ............................................................................................4-4
BGP Overview ................................................................................................................4-5
Autonomous Systems (ASs) .....................................................................................4-6
Internal vs. External BGP .........................................................................................4-7
Communities ............................................................................................................4-8
Route Reflectors .......................................................................................................4-9
BGP Confederations ...............................................................................................4-11
Policies ...................................................................................................................4-12
Regular Expressions ........................................................................................4-13
The Route Selection Process ..................................................................................4-16
OmniSwitch 6800/6850/9000 Advanced Routing Configuration Guide June 2007 v
Contents
Route Dampening ...................................................................................................4-17
CIDR Route Notation .............................................................................................4-17
BGP Configuration Overview .......................................................................................4-18
Starting BGP .................................................................................................................4-19
Disabling BGP ........................................................................................................4-19
Setting Global BGP Parameters ....................................................................................4-20
Setting the Router AS Number ...............................................................................4-21
Setting the Default Local Preference .....................................................................4-21
Enabling AS Path Comparison ...............................................................................4-22
Controlling the use of MED Values .......................................................................4-23
Synchronizing BGP and IGP Routes .....................................................................4-24
Displaying Global BGP Parameters .......................................................................4-25
Configuring a BGP Peer ................................................................................................4-26
Creating a Peer .......................................................................................................4-28
Restarting a Peer .....................................................................................................4-29
Setting the Peer Auto Restart .................................................................................4-29
Changing the Local Router Address for a Peer Session .........................................4-30
Clearing Statistics for a Peer ..................................................................................4-30
Setting Peer Authentication ....................................................................................4-31
Setting the Peer Route Advertisement Interval ......................................................4-31
Configuring a BGP Peer with the Loopback0 Interface ..................................4-31
Configuring Aggregate Routes .....................................................................................4-32
Configuring Local Routes (Networks) ..........................................................................4-33
Adding the Network ........................................................................................4-33
Configuring Network Parameters ....................................................................4-34
Viewing Network Settings ..............................................................................4-35
Controlling Route Flapping Through Route Dampening ..............................................4-36
Example: Flapping Route Suppressed, then Unsuppressed ............................4-36
Enabling Route Dampening ............................................................................4-37
Configuring Dampening Parameters ...............................................................4-37
Clearing the History ........................................................................................4-39
Displaying Dampening Settings and Statistics ................................................4-39
Setting Up Route Reflection .........................................................................................4-40
Configuring Route Reflection ................................................................................4-42
Redundant Route Reflectors ...................................................................................4-42
Working with Communities ..........................................................................................4-43
Creating a Confederation ..............................................................................................4-44
Routing Policies ............................................................................................................4-45
Creating a Policy ....................................................................................................4-45
Assigning a Policy to a Peer ...................................................................................4-50
Displaying Policies .................................................................................................4-52
Configuring Redistribution ...........................................................................................4-53
Using Route Maps ...........................................................................................4-53
Configuring Route Map Redistribution ...........................................................4-57
Route Map Redistribution Example ................................................................4-58
Configuring Redundant CMMs for Graceful Restart .............................................4-59
vi OmniSwitch 6800/6850/9000 Advanced Routing Configuration Guide June 2007
Contents
Application Example .....................................................................................................4-60
AS 100 .............................................................................................................4-60
AS 200 .............................................................................................................4-61
AS 300 .............................................................................................................4-62
Displaying BGP Settings and Statistics ........................................................................4-63
BGP for IPv6 Overview ................................................................................................4-64
Quick Steps for Using BGP for IPv6 ............................................................................4-66
Configuring BGP for IPv6 ............................................................................................4-68
Enabling/Disabling IPv6 BGP Unicast ..................................................................4-68
Configuring an IPv6 BGP Peer ..............................................................................4-68
Changing the Local Router Address for an IPv6 Peer Session .......................4-71
Optional IPv6 BGP Peer Parameters ...............................................................4-72
Configuring IPv6 BGP Networks ..........................................................................4-73
Adding a Network ...........................................................................................4-73
Enabling a Network .........................................................................................4-73
Configuring Network Parameters ....................................................................4-73
Viewing Network Settings ..............................................................................4-75
Configuring IPv6 Redistribution ...................................................................................4-76
Using Route Maps for IPv6 Redistribution ............................................................4-76
Configuring IPv6 Route Map Redistribution ..................................................4-76
IPv6 BGP Application Example ...................................................................................4-78
AS 100 .............................................................................................................4-78
AS 200 .............................................................................................................4-80
AS 300 .............................................................................................................4-81
Displaying IPv6 BGP Settings and Statistics ................................................................4-82
Chapter 5 Configuring Multicast Address Boundaries ........................................................5-1
In This Chapter ................................................................................................................5-1
Multicast Boundary Specifications .................................................................................5-2
Quick Steps for Configuring Multicast Address Boundaries ..........................................5-2
Using Existing IP Interfaces ..............................................................................5-2
On New IP Interface ..........................................................................................5-2
Multicast Address Boundaries Overview ........................................................................5-4
Multicast Addresses and the IANA ..........................................................................5-4
Administratively Scoped Multicast Addresses ..................................................5-4
Source-Specific Multicast Addresses ................................................................5-4
Multicast Address Boundaries .................................................................................5-5
Concurrent Multicast Addresses ..............................................................................5-6
Configuring Multicast Address Boundaries ....................................................................5-7
Basic Multicast Address Boundary Configuration ...................................................5-7
Creating a Multicast Address Boundary ..................................................................5-7
Deleting a Multicast Address Boundary ..................................................................5-7
Verifying the Multicast Address Boundary Configuration .............................................5-8
Application Example for Configuring Multicast Address Boundaries ...........................5-8
OmniSwitch 6800/6850/9000 Advanced Routing Configuration Guide June 2007 vii
Contents
Chapter 6 Configuring DVMRP ...................................................................................................6-1
In This Chapter ................................................................................................................6-1
DVMRP Specifications ...................................................................................................6-2
DVMRP Defaults ............................................................................................................6-2
Quick Steps for Configuring DVMRP ............................................................................6-3
DVMRP Overview ..........................................................................................................6-5
Reverse Path Multicasting ........................................................................................6-5
Neighbor Discovery .................................................................................................6-6
Multicast Source Location, Route Report Messages, and Metrics ..........................6-7
Dependent Downstream Routers and Poison Reverse .............................................6-7
Pruning Multicast Traffic Delivery ..........................................................................6-8
Grafting Branches Back onto the Multicast Delivery Tree ......................................6-8
DVMRP Tunnels ......................................................................................................6-9
Configuring DVMRP ....................................................................................................6-10
Enabling DVMRP on the Switch ...........................................................................6-10
Loading DVMRP into Memory .......................................................................6-10
Enabling DVMRP on a Specific Interface ......................................................6-11
Viewing DVMRP Status and Parameters for a Specific Interface ..................6-12
Globally Enabling DVMRP on the Switch .....................................................6-12
Checking the Current Global DVMRP Status .................................................6-12
Automatic Loading and Enabling of DVMRP Following a System Boot ...... 6-13
Neighbor Communications ....................................................................................6-13
Routes .....................................................................................................................6-14
Pruning ...................................................................................................................6-15
More About Prunes ..........................................................................................6-15
Grafting ..................................................................................................................6-17
Tunnels ...................................................................................................................6-17
Verifying the DVMRP Configuration ...........................................................................6-18
Chapter 7 Configuring PIM ..........................................................................................................7-1
In This Chapter ................................................................................................................7-1
PIM Specifications ..........................................................................................................7-2
PIM Defaults ...................................................................................................................7-3
Quick Steps for Configuring PIM ...................................................................................7-5
PIM Overview .................................................................................................................7-8
PIM-Sparse Mode (PIM-SM) ...................................................................................7-8
Rendezvous Points (RPs) ..................................................................................7-8
Bootstrap Routers (BSRs) .................................................................................7-9
Designated Routers (DRs) .................................................................................7-9
Shared (or RP) Trees .........................................................................................7-9
Avoiding Register Encapsulation ....................................................................7-12
PIM-Dense Mode (PIM-DM) .................................................................................7-12
RP Initiation of (S, G) Source-Specific Join Message ...........................................7-13
SPT Switchover ......................................................................................................7-15
viii OmniSwitch 6800/6850/9000 Advanced Routing Configuration Guide June 2007
Contents
Configuring PIM ...........................................................................................................7-18
Enabling PIM on the Switch ..................................................................................7-18
Verifying the Software ....................................................................................7-18
Loading PIM into Memory ..............................................................................7-19
Enabling IPMS ................................................................................................7-19
Enabling PIM on a Specific Interface .............................................................7-20
Viewing PIM Status and Parameters for a Specific Interface .........................7-21
Globally Enabling PIM on the Switch .............................................................7-21
Globally Disabling PIM on the Switch ...........................................................7-21
Checking the Current Global PIM Status ........................................................7-22
Automatic Loading and Enabling of PIM Following a System Boot .............7-22
PIM Bootstrap and RP Discovery ..........................................................................7-23
Configuring a C-RP on an Interface .......................................................................7-23
Specifying a Multicast Group ..........................................................................7-23
Specifying the Maximum Number of RPs .............................................................7-24
Configuring Candidate Bootstrap Routers (C-BSRs) ............................................7-26
Candidate Bootstrap Routers (C-BSRs) ..........................................................7-26
Configuring a C-BSR on an Interface .............................................................7-26
Verifying your Changes .........................................................................................7-27
Bootstrap Routers (BSRs) ......................................................................................7-28
Configuring Static RP Groups ................................................................................7-29
Group-to-RP Mapping ............................................................................................7-29
Verifying the PIM Configuration ..................................................................................7-30
PIM-SSM Support .........................................................................................................7-31
Source-Specific Multicast Addresses .....................................................................7-31
PIM-SSM Specifications ........................................................................................7-31
Appendix A Software License and Copyright Statements .....................................................A-1
Alcatel-Lucent License Agreement ................................................................................A-1
ALCATEL-LUCENT SOFTWARE LICENSE AGREEMENT ............................A-1
Third Party Licenses and Notices ..................................................................................A-4
A. Booting and Debugging Non-Proprietary Software ..........................................A-4
B. The OpenLDAP Public License: Version 2.4, 8 December 2000 .....................A-4
C. Linux ..................................................................................................................A-5
D. GNU GENERAL PUBLIC LICENSE: Version 2, June 1991 .......................... A-5
E. University of California ...................................................................................A-10
F. Carnegie-Mellon University ............................................................................A-10
G. Random.c .........................................................................................................A-10
H. Apptitude, Inc. .................................................................................................A-11
I. Agranat .............................................................................................................A-11
J. RSA Security Inc. ............................................................................................A-11
K. Sun Microsystems, Inc. ....................................................................................A-11
L. Wind River Systems, Inc. ................................................................................A-12
M. Network Time Protocol Version 4 ...................................................................A-12
Index ...................................................................................................................... Index-1
OmniSwitch 6800/6850/9000 Advanced Routing Configuration Guide June 2007 ix
Contents
x OmniSwitch 6800/6850/9000 Advanced Routing Configuration Guide June 2007

About This Guide

This OmniSwitch 6800/6850/9000 Advanced Routing Configuration Guide describes how to set up and monitor advanced routing protocols for operation in a live network environment. The routing protocols described in this manual are purchased as an add-on package to the base switch software.

Supported Platforms

This information in this guide applies to the following products:
OmniSwitch 9600
OmniSwitch 9700
OmniSwitch 9800
OmniSwitch 6800 Series
OmniSwitch 6850 Series
Note. This OmniSwitch CLI Reference Guide covers Release 6.1.5, which is supported on the OmniSwitch 6800 Series, OmniSwitch 6850 Series, and OmniSwitch 9000 Series switches and 6.2.1, which is supported on the OmniSwitch 6850 Series switches. OmniSwitch 6600 Family, OmniSwitch 7700/7800, and OmniSwitch 8800 switches use Release 5.x. Please refer to the 5.x user guides for those switches.
Unsupported Platforms
The information in this guide does not apply to the following products:
OmniSwitch (original version with no numeric model name)
OmniSwitch 6600 Family
OmniSwitch 7700/7800
OmniSwitch 8800
Omni Switch/Router
OmniStack
OmniAccess
OmniSwitch 6800/6850/9000 Advanced Routing Configuration Guide June 2007 page -xi

Who Should Read this Manual?

The audience for this user guide is network administrators and IT support personnel who need to config­ure, maintain, and monitor switches and routers in a live network. However, anyone wishing to gain knowledge on how advanced routing software features are implemented in the OmniSwitch 6800 Series, OmniSwitch 6850 Series, and OmniSwitch 9000 Series switches will benefit from the material in this configuration guide.

When Should I Read this Manual?

Read this guide as soon as you are ready to integrate your OmniSwitch into your network and you are ready to set up advanced routing protocols. You should already be familiar with the basics of managing a single OmniSwitch as described in the OmniSwitch 6800/6850/9000 Switch Management Guide.
The topics and procedures in this manual assume an understanding of the OmniSwitch directory structure and basic switch administration commands and procedures. This manual will help you set up your switches to route on the network using routing protocols, such as OSPF.

What is in this Manual?

This configuration guide includes information about configuring the following features:
Open Shortest Path First (OSPF) protocol
Border Gateway Protocol (BGP)
Multicast routing boundaries
Distance Vector Multicast Routing Protocol (DVMRP)
Protocol-Independent Multicast, Sparse Mode (PIM-SM) protocol

What is Not in this Manual?

The configuration procedures in this manual use Command Line Interface (CLI) commands in all exam­ples. CLI commands are text-based commands used to manage the switch through serial (console port) connections or via Telnet sessions. Procedures for other switch management methods, such as web-based (WebView or OmniVista) or SNMP, are outside the scope of this guide.
For information on WebView and SNMP switch management methods consult the OmniSwitch 6800/ 6850/9000 Switch Management Guide. Information on using WebView and OmniVista can be found in the context-sensitive on-line help available with those network management applications.
This guide provides overview material on software features, how-to procedures, and application examples that will enable you to begin configuring your OmniSwitch. It is not intended as a comprehensive refer­ence to all CLI commands available in the OmniSwitch. For such a reference to all OmniSwitch CLI commands, consult the OmniSwitch CLI Reference Guide.
page -xii OmniSwitch 6800/6850/9000 Advanced Routing Configuration Guide June 2007

How is the Information Organized?

Chapters in this guide are broken down by software feature. The titles of each chapter include protocol or feature names (e.g., OSPF, PIM-SM) with which most network professionals will be familiar.
Each software feature chapter includes sections that will satisfy the information requirements of casual readers, rushed readers, serious detail-oriented readers, advanced users, and beginning users.
Quick Information. Most chapters include a specifications table that lists RFCs and IEEE specifications supported by the software feature. In addition, this table includes other pertinent information such as mini­mum and maximum values and sub-feature support. Most chapters also include a defaults table that lists the default values for important parameters along with the CLI command used to configure the parameter. Many chapters include a Quick Steps section, which is a procedure covering the basic steps required to get a software feature up and running.
In-Depth Information. All chapters include overview sections on the software feature as well as on selected topics of that software feature. Topical sections may often lead into procedure sections that describe how to configure the feature just described. Serious readers and advanced users will also find the many application examples, located near the end of chapters, helpful. Application examples include diagrams of real networks and then provide solutions using the CLI to configure a particular feature, or more than one feature, within the illustrated network.

Documentation Roadmap

The OmniSwitch user documentation suite was designed to supply you with information at several critical junctures of the configuration process. The following section outlines a roadmap of the manuals that will help you at each stage of the configuration process. Under each stage, we point you to the manual or manuals that will be most helpful to you.
Stage 1: Using the Switch for the First Time
Pertinent Documentation: Getting Started Guide
Release Notes
A hard-copy Getting Started Guide is included with your switch; this guide provides all the information you need to get your switch up and running the first time. It provides information on unpacking the switch, rack mounting the switch, installing NI modules, unlocking access control, setting the switch’s IP address, and setting up a password. It also includes succinct overview information on fundamental aspects of the switch, such as hardware LEDs, the software directory structure, CLI conventions, and web-based management.
At this time you should also familiarize yourself with the Release Notes that accompanied your switch. This document includes important information on feature limitations that are not included in other user guides.
OmniSwitch 6800/6850/9000 Advanced Routing Configuration Guide June 2007 page -xiii
Stage 2: Gaining Familiarity with Basic Switch Functions
Pertinent Documentation: Hardware Users Guide
Switch Management Guide
Once you have your switch up and running, you will want to begin investigating basic aspects of its hard­ware and software. Information about switch hardware is provided in the Hardware Users Guide. This guide provide specifications, illustrations, and descriptions of all hardware components, such as chassis, power supplies, Chassis Management Modules (CMMs), Network Interface (NI) modules, and cooling fans. It also includes steps for common procedures, such as removing and installing switch components.
The Switch Management Guide is the primary users guide for the basic software features on a single switch. This guide contains information on the switch directory structure, basic file and directory utilities, switch access security, SNMP, and web-based management. It is recommended that you read this guide before connecting your switch to the network.
Stage 3: Integrating the Switch Into a Network
Pertinent Documentation: Network Configuration Guide
Advanced Routing Configuration Guide
When you are ready to connect your switch to the network, you will need to learn how the OmniSwitch implements fundamental software features, such as 802.1Q, VLANs, Spanning Tree, and network routing protocols. The Network Configuration Guide contains overview information, procedures, and examples on how standard networking technologies are configured in the OmniSwitch.
The Advanced Routing Configuration Guide includes configuration information for networks using advanced routing technologies (OSPF and BGP) and multicast routing protocols (DVMRP and PIM-SM).
Anytime
The OmniSwitch CLI Reference Guide contains comprehensive information on all CLI commands supported by the switch. This guide includes syntax, default, usage, example, related CLI command, and CLI-to-MIB variable mapping information for all CLI commands supported by the switch. This guide can be consulted anytime during the configuration process to find detailed and specific information on each CLI command.
page -xiv OmniSwitch 6800/6850/9000 Advanced Routing Configuration Guide June 2007

Related Documentation

The following are the titles and descriptions of all the related OmniSwitch 6800/6850/9000 user manuals:
OmniSwitch 6800 Series Getting Started Guide
Describes the hardware and software procedures for getting an OmniSwitch 6800 Series switch up and running. Also provides information on fundamental aspects of OmniSwitch software and stacking architecture.
OmniSwitch 6850 Series Getting Started Guide
Describes the hardware and software procedures for getting an OmniSwitch 6850 Series switch up and running. Also provides information on fundamental aspects of OmniSwitch software and stacking architecture.
OmniSwitch 6800 Series Hardware Users Guide
Detailed technical specifications and procedures for the OmniSwitch 6800 Series chassis and compo­nents. Also includes comprehensive information on assembling and managing stacked configurations.
OmniSwitch 6850 Series Hardware User Guide
Complete technical specifications and procedures for all OmniSwitch 6850 Series chassis, power supplies, and fans. Also includes comprehensive information on assembling and managing stacked configurations.
OmniSwitch 9000 Series Getting Started Guide
Describes the hardware and software procedures for getting an OmniSwitch 9000 Series up and running. Also provides information on fundamental aspects of OmniSwitch software architecture.
OmniSwitch 9000 Series Hardware Users Guide
Complete technical specifications and procedures for all OmniSwitch 9000 Series chassis, power supplies, fans, and Network Interface (NI) modules.
OmniSwitch CLI Reference Guide
Complete reference to all CLI commands supported on the OmniSwitch 6800, 6850, and 9000. Includes syntax definitions, default values, examples, usage guidelines and CLI-to-MIB variable mappings.
OmniSwitch 6800/6850/9000 Switch Management Guide
Includes procedures for readying an individual switch for integration into a network. Topics include the software directory architecture, image rollback protections, authenticated switch access, managing switch files, system configuration, using SNMP, and using web management software (WebView).
OmniSwitch 6800/6850/9000 Network Configuration Guide
Includes network configuration procedures and descriptive information on all the major software features and protocols included in the base software package. Chapters cover Layer 2 information (Ethernet and VLAN configuration), Layer 3 information (routing protocols, such as RIP), security options (authenticated VLANs), Quality of Service (QoS), and link aggregation.
OmniSwitch 6800/6850/9000 Advanced Routing Configuration Guide June 2007 page -xv
OmniSwitch 6800/6850/9000 Advanced Routing Configuration Guide
Includes network configuration procedures and descriptive information on all the software features and protocols included in the advanced routing software package. Chapters cover multicast routing (DVMRP and PIM-SM), and OSPF.
OmniSwitch Transceivers Guide
Includes information on Small Form Factor Pluggable (SFPs) and 10 Gbps Small Form Factor Plugga­bles (XFPs) transceivers.
Technical Tips, Field Notices
Includes information published by Alcatel-Lucent’s Customer Support group.
Release Notes
Includes critical Open Problem Reports, feature exceptions, and other important information on the features supported in the current release and any limitations to their support.
page -xvi OmniSwitch 6800/6850/9000 Advanced Routing Configuration Guide June 2007

User Manual CD

All user guides are included on the User Manual CD that accompanied your switch. This CD also includes user guides for other Alcatel-Lucent data enterprise products. In addition, it contains a stand-alone version of the on-line help system that is embedded in the OmniVista network management application.
Besides the OmniVista documentation, all documentation on the User Manual CD is in requires the Adobe Acrobat Reader program for viewing. Acrobat Reader freeware is available at www.adobe.com.
Note. In order to take advantage of the documentation CD’s global search feature, it is recommended that you select the option for searching PDF files before downloading Acrobat Reader freeware.
To verify that you are using Acrobat Reader with the global search option, look for the following button in the toolbar:
Note. When printing pages from the documentation PDFs, de-select Fit to Page if it is selected in your print dialog. Otherwise pages may print with slightly smaller margins.
PDF format and

Technical Support

An Alcatel-Lucent service agreement brings your company the assurance of 7x24 no-excuses technical support. You’ll also receive regular software updates to maintain and maximize your Alcatel-Lucent prod­uct’s features and functionality and on-site hardware replacement through our global network of highly qualified service delivery partners. Additionally, with 24-hour-a-day access to Alcatel-Lucent’s Service and Support web page, you’ll be able to view and update any case (open or closed) that you have reported to Alcatel-Lucent’s technical support, open a new case or access helpful release notes, technical bulletins, and manuals. For more information on Alcatel-Lucent’s Service Programs, see our web page at service.esd.alcatel-lucent.com, call us at 1-800-995-2696, or email us at support@ind.alcatel.com.
OmniSwitch 6800/6850/9000 Advanced Routing Configuration Guide June 2007 page -xvii
page -xviii OmniSwitch 6800/6850/9000 Advanced Routing Configuration Guide June 2007

1 Configuring OSPF

Open Shortest Path First routing (OSPF) is a shortest path first (SPF), or link state, protocol. OSPF is an interior gateway protocol (IGP) that distributes routing information between routers in a single Autono­mous System (AS). OSPF chooses the least-cost path as the best path. OSPF is suitable for complex networks with large numbers of routers since it provides faster convergence where multiple flows to a single destination can be forwarded on one or more interfaces simultaneously.

In This Chapter

This chapter describes the basic components of OSPF and how to configure them through the Command Line Interface (CLI). CLI commands are used in the configuration examples; for more details about the syntax of commands, see the OmniSwitch CLI Reference Guide.
Configuration procedures described in this chapter include:
Loading and enabling OSPF (see page 1-17).
Creating OSPF areas (see page 1-18).
Creating OSPF interfaces (see page 1-21).
Creating virtual links (see page 1-24).
Configuring redistribution using route maps (see page 1-25).
For information on creating and managing VLANs, see “Configuring VLANs” in the OmniSwitch 6800/ 6850/9000 Network Configuration Guide.
OmniSwitch 6800/6850/9000 Advanced Routing Configuration Guide June 2007 page 1-1
OSPF Specifications Configuring OSPF

OSPF Specifications

RFCs Supported 1370—Applicability Statement for OSPF
1850—OSPF Version 2 Management Information Base 2328—OSPF Version 2 2370—The OSPF Opaque LSA Option 3101—The OSPF Not-So-Stubby Area (NSSA) Option 3623—Graceful OSPF Restart
Maximum number of Areas (per router) 10
Maximum number of Interfaces (per router) 70
Maximum number of Link State Database entries (per router)
Maximum number of adjacencies (per router)
Maximum number of ECMP gateways (per destination)
Maximum number of neighbors (per router) 64
Maximum number of routes (per router) Up to 40000 (Depending on the number of inter-
50000
70
4
faces/neighbors, this value may vary.)
page 1-2 OmniSwitch 6800/6850/9000 Advanced Routing Configuration Guide June 2007
Configuring OSPF OSPF Defaults Table

OSPF Defaults Table

The following table shows the default settings of the configurable OSPF parameters:
Parameter Description Command Default Value/Comments
Enables OSPF.
Enables an area.
Enables an interface.
Enables OSPF redistribution. ip ospf redist status disabled
Sets the overflow interval value.
Assigns a limit to the number of External Link-State Database (LSDB) entries.
Configures timers for Shortest Path First (SPF) calculation.
Creates or deletes an area default metric.
Configures OSPF interface dead interval.
Configures OSPF interface hello interval.
ip ospf status disabled
ip ospf area status disabled
ip ospf interface status disabled
ip ospf exit-overflow-interval 0
ip ospf extlsdb-limit -1
ip ospf spf-timer delay: 5
hold: 10
ip ospf area default-metric ToS: 0
Type: OSPF Cost: 1
ip ospf interface dead-interval 40 seconds (broadcast and
point-to-point) 120 seconds (NBMA and point-to-multipoint)
ip ospf interface hello-interval 10 seconds (broadcast and
point-to-point) 30 seconds (NBMA and point­to-multipoint)
Configures the OSPF interface cost. ip ospf interface cost 1
Configures the OSPF poll interval. ip ospf interface poll-interval 120 seconds
Configures the OSPF interface pri­ority.
Configures OSPF interface retrans­mit interval.
Configures the OSPF interface tran­sit delay.
Configures the OSPF interface type. ip ospf interface type broadcast
Configures graceful restart on switches in a stack/redundant CMMs.
OmniSwitch 6800/6850/9000 Advanced Routing Configuration Guide June 2007 page 1-3
ip ospf interface priority 1
ip ospf interface retrans-interval 5 seconds
ip ospf interface transit-delay 1 second
ip ospf restart-support disabled
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:
1 Create a VLAN using the vlan command. For example:
-> vlan 5
-> vlan 5 enable
2 Assign 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
3 Assign 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 6800/6850/9000 Network Configuration Guide.
4 Assign a router ID to the router using the ip router router-id command. For example:
-> ip router router-id 1.1.1.1
5 Load and enable OSPF using the ip load ospf and the ip ospf status commands. For example:
-> ip load ospf
-> ip ospf status enable
6 Create 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
7 Enable 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
page 1-4 OmniSwitch 6800/6850/9000 Advanced Routing Configuration Guide June 2007
Configuring OSPF OSPF Quick Steps
8 Create 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
Note. The interface name cannot have spaces.
9 Assign the OSPF interface to the area and the backbone using the ip ospf interface area command.
For example:
-> ip ospf interface 120.1.4.1 area 0.0.0.0
or
-> ip ospf interface vlan-5 area 0.0.0.0
10 Enable the OSPF interfaces using the ip ospf interface status command. For example:
-> ip ospf interface 120.1.4.1 status enable
or
-> ip ospf interface vlan-5 status enable
OmniSwitch 6800/6850/9000 Advanced Routing Configuration Guide June 2007 page 1-5
OSPF Quick Steps Configuring OSPF
11 You can now display the router OSPF settings by using the show ip ospf command. The output gener-
ated is similar to the following:
-> show ip ospf
Router Id = 1.1.1.1, OSPF Version Number = 2, Admin Status = Enabled, Area Border Router? = Yes, AS Border Router Status = Disabled, Route Redistribution Status = Disabled, Route Tag = 0, SPF Hold Time (in seconds) = 10, SPF Delay Time (in seconds) = 5, MTU Checking = Disabled, # of Routes = 0, # of AS-External LSAs = 0, # of self-originated LSAs = 0, # of LSAs received = 0, External LSDB Limit = -1, Exit Overflow Interval = 0, # of SPF calculations done = 1, # of Incr SPF calculations done = 0, # of Init State Nbrs = 0, # of 2-Way State Nbrs = 0, # of Exchange State Nbrs = 0, # of Full State Nbrs = 0, # of attached areas = 2, # of Active areas = 2, # of Transit areas = 0, # of attached NSSAs = 0
Router ID
As set in Step 4
12 You can display OSPF area settings using the show ip ospf area command. For example:
-> show ip ospf area 0.0.0.0
Area Identifier = 0.0.0.0, Admin Status = Enabled, Operational Status = Up, Area Type = normal, Area Summary = Enabled, Time since last SPF Run = 00h:08m:37s, # of Area Border Routers known = 1, # of AS Border Routers known = 0, # of LSAs in area = 1, # of SPF Calculations done = 1, # of Incremental SPF Calculations done = 0, # of Neighbors in Init State = 0, # of Neighbors in 2-Way State = 0, # of Neighbors in Exchange State = 0, # of Neighbors in Full State = 0, # of Interfaces attached = 1
Area ID
As set in Step 6
Area Status
As set in Step 7
page 1-6 OmniSwitch 6800/6850/9000 Advanced Routing Configuration Guide June 2007
Configuring OSPF OSPF Quick Steps
13 You can display OSPF interface settings using the show ip ospf interface command. For example:
-> show ip ospf interface 120.1.4.1
VLAN Id = 5, Interface IP Address = 120.1.4.1, Interface IP Mask = 255.0.0.0, Admin Status = Enabled, Operational Status = Down, OSPF Interface State = Down, Interface Type = Broadcast, Area Id = 0.0.0.0, Designated Router IP Address = 0.0.0.0, Designated Router RouterId = 0.0.0.0, Backup Designated Router IP Address = 0.0.0.0, Backup Designated Router RouterId = 0.0.0.0, MTU (bytes) = 1500, Metric Cost = 1, Priority = 1, Hello Interval (seconds) = 10, Transit Delay (seconds) = 1, Retrans Interval (seconds) = 5, Dead Interval (seconds) = 40, Poll Interval (seconds) = 120, Link Type = Broadcast, Authentication Type = none, # of Events = 0, # of Init State Neighbors = 0, # of 2-Way State Neighbors = 0, # of Exchange State Neighbors = 0, # of Full State Neighbors = 0
VLAN ID
As set in Step 1
Interface ID
As set in Step 2
Interface Status
As set in Step 10
Area ID
As set in Step 6
OmniSwitch 6800/6850/9000 Advanced Routing Configuration Guide June 2007 page 1-7
OSPF Overview Configuring OSPF

OSPF Overview

Open Shortest Path First routing (OSPF) is a shortest path first (SPF), or link-state, protocol. OSPF is an interior gateway protocol (IGP) that distributes routing information between routers in a Single Autono­mous System (AS). OSPF chooses the least-cost path as the best path.
Each participating router distributes its local state (i.e., the router’s usable interfaces, local networks, and reachable neighbors) throughout the AS by flooding. In a link-state protocol, each router maintains a data­base describing the entire topology. This database is built from the collected link state advertisements of all routers. Each multi-access network that has at least two attached routers has a designated router and a backup designated router. The designated router floods a link state advertisement for the multi-access network.
When a router starts, it uses the OSPF Hello Protocol to discover neighbors. The router sends Hello pack­ets to its neighbors, and in turn receives their Hello packets. On broadcast and point-to-point networks, the router dynamically detects its neighboring routers by sending Hello packets to a multicast address. On non-broadcast and point-to-multipoint networks, some configuration information is necessary in order to configure neighbors. On all networks (broadcast or non-broadcast), the Hello Protocol also elects a desig­nated router for the network.
Hello. Please respond...
Are you a neighbor...
My link state is...
Hello. Please respond...
Are you a neighbor...
My link state is...
OSPF Hello Protocol
The router will attempt to form full adjacencies with all of its newly acquired neighbors. Only some pairs, however, will be successful in forming full adjacencies. Topological databases are synchronized between pairs of fully adjacent routers.
Adjacencies control the distribution of routing protocol packets. Routing protocol packets are sent and received only on adjacencies. In particular, distribution of topological database updates proceeds along adjacencies.
Link state is also advertised when a router’s state changes. A router’s adjacencies are reflected in the contents of its link state advertisements. This relationship between adjacencies and link state allows the protocol to detect downed routers in a timely fashion.
Link state advertisements are flooded throughout the AS. The flooding algorithm ensures that all routers have exactly the same topological database. This database consists of the collection of link state advertise­ments received from each router belonging to the area. From this database each router calculates a short­est-path tree, with itself as root. This shortest-path tree in turn yields a routing table for the protocol.
page 1-8 OmniSwitch 6800/6850/9000 Advanced Routing Configuration Guide June 2007
Configuring OSPF OSPF Overview

OSPF Areas

OSPF allows collections of contiguous networks and hosts to be grouped together as an area. Each area runs a separate copy of the basic link-state routing algorithm (usually called SPF). This means that each area has its own topological database, as explained in the previous section.
Inter-Area Routing
Intra-Area
Routing
Router 1
Link State Messages
Router 2
Area 1
Backbone
Area 2
Intra-Area
Routing
Router 3
Link State Messages
Router 4
OSPF Intra-Area and Inter-Area Routing
An area’s topology is visible only to the members of the area. Conversely, routers internal to a given area know nothing of the detailed topology external to the area. This isolation of knowledge enables the proto­col to reduce routing traffic by concentrating on small areas of an AS, as compared to treating the entire AS as a single link-state domain.
Areas cause routers to maintain a separate topological database for each area to which they are connected. (Routers connected to multiple areas are called area border routers). Two routers belonging to the same area have identical area topological databases.
Different areas communicate with each other through a backbone. The backbone consists of routers with contacts between multiple areas. A backbone must be contiguous (i.e., it must be linked to all areas).
The backbone is responsible for distributing routing information between areas. The backbone itself has all of the properties of an area. The topology of the backbone is invisible to each of the areas, while the backbone itself knows nothing of the topology of the areas.
All routers in an area must agree on that area’s parameters. Since a separate copy of the link-state algo­rithm is run in each area, most configuration parameters are defined on a per-router basis. All routers belonging to an area must agree on that area’s configuration. Misconfiguration will keep neighbors from forming adjacencies between themselves, and OSPF will not function.
OmniSwitch 6800/6850/9000 Advanced Routing Configuration Guide June 2007 page 1-9
OSPF Overview Configuring OSPF

Classification of Routers

When an AS is split into OSPF areas, the routers are further divided according to function into the follow­ing four overlapping categories:
Internal routers. A router with all directly connected networks belonging to the same area. These
routers run a single copy of the SPF algorithm.
Area border routers. A router that attaches to multiple areas. Area border routers run multiple copies
of the SPF algorithm, one copy for each attached area. Area border routers condense the topological information of their attached areas for flooding to other areas.
Backbone routers. A router that has an interface to the backbone. This includes all routers that inter-
face to more than one area (i.e., area border routers). However, backbone routers do not have to be area border routers. Routers with all interfaces connected to the backbone are considered to be internal rout­ers.
AS boundary routers. A router that exchanges routing information with routers belonging to other
Autonomous Systems. Such a router has AS external routes that are advertised throughout the Autono­mous System. The path to each AS boundary router is known by every router in the AS. This classifi­cation is completely independent of the previous classifications (i.e., internal, area border, and backbone routers). AS boundary routers may be internal or area border routers, and may or may not participate in the backbone.

Virtual Links

It is possible to define areas in such a way that the backbone is no longer contiguous. (This is not an ideal OSPF configuration, and maximum effort should be made to avoid this situation.) In this case the system administrator must restore backbone connectivity by configuring virtual links.
Virtual links can be configured between any two backbone routers that have a connection to a common non-backbone area. The protocol treats two routers joined by a virtual link as if they were connected by an unnumbered point-to-point network. The routing protocol traffic that flows along the virtual link uses intra-area routing only, and the physical connection between the two routers is not managed by the network administrator (i.e., there is no dedicated connection between the routers as there is with the OSPF backbone).
Router B
Backbone
Backbone
Router A
Area 1
Virtual Link
OSPF Routers Connected with a Virtual Link
In the above diagram, Router A and Router B are connected via a virtual link in Area 1, which is known as a transit area. See “Creating Virtual Links” on page 1-24 for more information.
page 1-10 OmniSwitch 6800/6850/9000 Advanced Routing Configuration Guide June 2007
Configuring OSPF OSPF Overview

Stub Areas

OSPF allows certain areas to be configured as stub areas. A stub area is an area with routers that have no AS external Link State Advertisements (LSAs).
In order to take advantage of the OSPF stub area support, default routing must be used in the stub area. This is accomplished by configuring only one of the stub area’s border routers to advertise a default route into the stub area. The default routes will match any destination that is not explicitly reachable by an intra­area or inter-area path (i.e., AS external destinations).
Backbone
Backbone
Area 1
(stub)
Area 2
Area 3
(stub)
OSPF Stub Area
Area 1 and Area 3 could be configured as stub areas. Stub areas are configured using the OSPF ip ospf area command, described in “Creating an Area” on page 1-18. For more overview information on areas, see “OSPF
Areas” on page 1-9.
The OSPF protocol ensures that all routers belonging to an area agree on whether the area has been configured as a stub. This guarantees that no confusion will arise in the flooding of AS external advertise­ments.
Two restrictions on the use of stub areas are:
Virtual links cannot be configured through stub areas.
AS boundary routers cannot be placed internal to stub areas.
OmniSwitch 6800/6850/9000 Advanced Routing Configuration Guide June 2007 page 1-11
OSPF Overview Configuring OSPF
Not-So-Stubby-Areas
NSSA, or not-so-stubby area, is an extension to the base OSPF specification and is defined in RFC 1587. An NSSA is similar to a stub area in many ways: AS-external LSAs are not flooded into an NSSA and virtual links are not allowed in an NSSA. The primary difference is that selected external routing informa­tion can be imported into an NSSA and then redistributed into the rest of the OSPF routing domain. These routes are imported into the NSSA using a new LSA type: Type-7 LSA. Type-7 LSAs are flooded within the NSSA and are translated at the NSSA boundary into AS-external LSAs so as to convey the external routing information to other areas.
NSSAs enable routers with limited resources to participate in OSPF routing while also allowing the import of a selected number of external routes into the area. For example, an area which connects to a small exter­nal routing domain running RIP may be configured as an NSSA. This will allow the import of RIP routes into this area and the rest of the OSPF routing domain and at the same time, prevent the flooding of other external routing information (learned, for example, through RIP) into this area.
All routers in an NSSA must have their OSPF area defined as an NSSA. To configure otherwise will ensure that the router will be unsuccessful in establishing an adjacent in the OSPF domain.
Totally Stubby Areas
In Totally Stubby Areas the ABR advertises a default route to the routers in the totally stubby area but does not advertise any inter-area or external LSAs. As a result, routers in a totally stubby area know only the routes for destination networks in the stub area and have a default route for any other destination outside the stub.
Note. Virtual links cannot be configured through totally stubby areas.
The router memory is saved when using stub area networks by filtering Type 4 and 5 LSAs. This concept has been extended with Totally Stubby Areas by filtering Type 3 LSAs (Network Summary LSA) in addi­tion to Type 4 and 5 with the exception of one single Type 3 LSA used to advertise a default route within the area.
The following is an example of a simple totally stubby configuration with Router B being an ABR between the backbone area 0 and the stub area 1. Router A is in area 1.1.1.1, totally stubby area:
OSPF Area 0
192.168.50.0/24
192.168.12.1
Router A Router B
OSPF Area 1
Totally Stubby
192.168.12.2
Totally Stubby Area Example
Note. See “Configuring a Totally Stubby Area” on page 1-20 for information on configuring Totally
Stubby Areas.
page 1-12 OmniSwitch 6800/6850/9000 Advanced Routing Configuration Guide June 2007
Loading...
+ 254 hidden pages