Click here to load reader

> Border Gateway Protocol (BGP-4) Technical Configuration · PDF file · 2013-11-07Ethernet Routing Switch 8600 Engineering > Border Gateway Protocol (BGP-4) Technical Configuration

  • View
    219

  • Download
    1

Embed Size (px)

Text of > Border Gateway Protocol (BGP-4) Technical Configuration · PDF file ·...

  • Ethernet Routing Switch 8600

    Engineering

    > Border Gateway Protocol (BGP-4) Technical Configuration Guide

    Enterprise Solution Engineering Document Date: November, 2007 Document Number: NN48500-538 Document Version: 2.0

  • Border Gateway Protocol (BGP-4) TCG v2.0 NN48500-538

    lNortel Confidential Information Copyright 2007 Nortel Networks. All Rights Reserved. 1

    Nortel is a recognized leader in delivering communications capabilities that enhance the human experience, ignite and power global commerce, and secure and protect the worlds most critical information. Serving both service provider and enterprise customers, Nortel delivers innovative technology solutions encompassing end-to-end broadband, Voice over IP, multimedia services and applications, and wireless broadband designed to help people solve the worlds greatest challenges. Nortel does business in more than 150 countries. For more information, visit Nortel on the Web at www.nortel.com.

    Copyright 2007 Nortel Networks. All Rights Reserved. While the information in this document is believed to be accurate and reliable, except as otherwise expressly agreed to in writing NORTEL PROVIDES THIS DOCUMENT "AS IS" WITHOUT WARRANTY OR CONDITION OF ANY KIND, EITHER EXPRESS OR IMPLIED. The information and/or products described in this document are subject to change without notice. Nortel Networks, the Nortel Networks logo and the Globemark are trademarks of Nortel Networks.

  • Border Gateway Protocol (BGP-4) TCG v2.0 NN48500-538

    lNortel Confidential Information Copyright 2007 Nortel Networks. All Rights Reserved. 2

    Abstract This document provides examples on configuring BGP-4 on the ERS 8600. This document covers some of the more popular BGP commands and attributes and the command used to configure them.

    Conventions

    This section describes the text, image, and command conventions used in this document.

    Symbols

    Tip Highlights a configuration or technical tip.

    Note Highlights important information to the reader.

    Warning Highlights important information about an action that may result in equipment damage, configuration or data loss.

  • Border Gateway Protocol (BGP-4) TCG v2.0 NN48500-538

    lNortel Confidential Information Copyright 2007 Nortel Networks. All Rights Reserved. 3

    Table of Contents

    1. BORDER GATEWAY PROTOCOL (BGP) OVERVIEW......................................................... 7

    2. BASIC BGP FUNDAMENTALS .............................................................................................. 9

    2.1 BASIC BGP CONFIGURATION EXAMPLE ............................................................................. 10 2.1.1 Configure ERS8600-A ............................................................................................... 10 2.1.2 Verify Operations ....................................................................................................... 13

    3. BGP TIMERS......................................................................................................................... 18

    4. BGP NETWORK COMMAND ............................................................................................... 20

    5. REDISTRIBUTION POLICIES............................................................................................... 21

    5.1 BGP REDISTRIBUTION...................................................................................................... 21 5.2 OSPF AND BGP ROUTE DISTRIBUTION............................................................................. 22

    5.2.1 Configuration.............................................................................................................. 22 5.3 CREATING POLICIES FOR ROUTE DISTRIBUTION: DIRECT, RIP OR STATIC ROUTES.............. 24

    5.3.1 BGP Route Redistribution Configuration ................................................................... 24 5.4 CREATING A POLICY TO INJECT DEFAULT ROUTE WHEN USING OSPF AS AN INTERIOR GATEWAY PROTOCOL................................................................................................................... 26

    5.4.1 Configuration.............................................................................................................. 26

    6. CIDR AND AGGREGATE ADDRESSES.............................................................................. 28

    6.1 CONFIGURATION EXAMPLE ............................................................................................... 28 6.1.1 Configuration.............................................................................................................. 28 6.1.2 Verify Operations ....................................................................................................... 29

    7. EBGP MULTIHOP ................................................................................................................. 30

    7.1 CONFIGURATION EXAMPLE BGP MULTIHOP.................................................................... 30 7.1.1 ERS8600-A Configuration.......................................................................................... 30 7.1.2 Router-B (Juniper) Configuration ............................................................................... 31

    8. EBGP LOAD BALANCE USING ECMP ............................................................................... 33

    8.1 CONFIGURATION EXAMPLE ............................................................................................... 33 8.1.1 ERS8600-A Configuration.......................................................................................... 33

    9. BGP SYNCHRONIZATION AND NEXT-HOP-SELF ............................................................ 35

    9.1 CONFIGURATION EXAMPLE 1 INITIAL CONFIGURATION ..................................................... 36 9.1.1 Configuration With BGP Synchronization Enabled................................................. 36 9.1.2 Verify Operations ....................................................................................................... 39

    9.2 HOW TO CORRECT THE NEXT HOP PROBLEM FROM STEP 9.1 ............................................ 40 9.2.1 Configuration Enabling BGP Next Hop-Self and Synchronization.......................... 40 9.2.2 Verify Operations ....................................................................................................... 40 9.2.3 Verifying Operation .................................................................................................... 42

    10. MD5 AUTHENTICATION CONFIGURATION EXAMPLE ................................................ 43

    10.1 MD5 CONFIGURATION...................................................................................................... 43 10.1.1 Configure ERS8600 for MD-5 Authentication ........................................................ 43

    11. BGP PEER GROUP CONFIGURATION EXAMPLE ........................................................ 45

    11.1.1 BGP Peer Group Configuation............................................................................... 45

  • Border Gateway Protocol (BGP-4) TCG v2.0 NN48500-538

    lNortel Confidential Information Copyright 2007 Nortel Networks. All Rights Reserved. 4

    12. ROUTE SELECTION AND TRAFFIC MANAGEMENT BGP PATH ATTRIBUTES ..... 47

    12.1 ORIGIN ATTRIBUTE (TYPE 1) ............................................................................................. 48 12.1.1 Origin Attribute Configuration Example Static Route Distribution....................... 48 12.1.2 Changing the Origin Type ...................................................................................... 50

    12.2 AS PATH ATTRIBUTE (TYPE 2) .......................................................................................... 53 12.2.1 Config Example: Load Balance Approach using AS Path to Influence Inbound Traffic Flow............................................................................................................................. 53 12.2.2 Configuration Example: AS_Path Filtering ............................................................ 55 12.2.3 Alternative Configuration Method for ERS8600-A ................................................. 56

    12.3 LOCAL PREFERENCE ATTRIBUTE (TYPE 5) CONFIGURATION EXAMPLE ................................ 57 12.3.1 Configuration : Local Preference ........................................................................... 58

    12.4 CONFIGURATION EXAMPLE: ADDING PREFERENCE TO SPECIFIC ROUTES............................ 60 12.4.1 Configuration: Preference for Specific Routes....................................................... 60

    12.5 MULTI-EXIT DISCRIMINATOR (MED) ATTRIBUTE (TYPE 4)................................................... 62 12.5.1 MED Configuration Example 1............................................................................ 62

    12.6 MED CONFIGURATION EXAMPLE 2 ................................................................................. 63 12.6.1 Configuration.......................................................................................................... 64 12.6.2 Other MED Commands.......................................................................................... 65

    12.7 COMMUNITY ATTRIBUTE (TYPE 8) ..................................................................................... 66 12.7.1 Community Attribute Configuration Example......................................................... 67 12.7.2 Verification .............................................