· PDF fileiii BGP 6.5R1 v01 Vyatta Contents Quick List of Commands

download · PDF fileiii BGP 6.5R1 v01 Vyatta Contents Quick List of Commands

If you can't read please download the document

Transcript of · PDF fileiii BGP 6.5R1 v01 Vyatta Contents Quick List of Commands

  • VyattaSuite200

    1301ShorewayRoadBelmont,CA94002

    vyatta.com6504137200

    1888VYATTA1(USandCanada)

    VYATTA,INC.| VyattaSystem

    BGPREFERENCEGUIDE

  • COPYRIGHTCopyright20052012Vyatta,Inc.Allrightsreserved.

    Vyattareservestherighttomakechangestosoftware,hardware,anddocumentationwithoutnotice.Forthemostrecentversionofdocumentation,visittheVyattawebsiteatvyatta.com.

    PROPRIETARYNOTICESVyattaisaregisteredtrademarkofVyatta,Inc.

    HyperVisaregisteredtrademarkofMicrosoftCorporation.

    VMware,VMwareESX,andVMwareserveraretrademarksofVMware,Inc.

    XenServer,andXenCenteraretrademarksofCitrixSystems,Inc.

    Allothertrademarksarethepropertyoftheirrespectiveowners.

    RELEASEDATE:October2012

    DOCUMENTREVISION.6.5R1v01

    RELEASEDWITH:6.5R1

    PARTNO.A00216100016

  • iii

    BGP 6.5R1v01 Vyatta

    Contents

    QuickListofCommands........................................................ xii

    ListofExamples .............................................................. xix

    Preface......................................................................xxIntendedAudience .............................................................................. xxi

    OrganizationofThisGuide ........................................................................ xxi

    DocumentConventions ......................................................................... xxiii

    VyattaPublications............................................................................. xxiv

    Chapter1 BGPConfiguration .................................................... 1BGPOverview ................................................................................... 2

    iBGPandeBGP ............................................................................... 3

    iBGP .................................................................................... 3

    eBGP ................................................................................... 4

    BGPIDSelectionProcess....................................................................... 5

    BGPPathSelectionProcess..................................................................... 6

    ScalabilityofBGP ............................................................................. 7

    Confederations ........................................................................... 7

    RouteReflection .......................................................................... 8

    RouteFlappingandFlapDamping .............................................................. 10

    ASPaths ................................................................................... 11

    BGPCommunities ........................................................................... 12

    PeerGroups ................................................................................ 13

    BGPMultipathSupport ....................................................................... 13

    IPv4andIPv6Support........................................................................ 13

    SupportedStandards............................................................................. 14

    ConfiguringBGP................................................................................. 14

    BasiciBGPConfiguration ...................................................................... 15

    VerifyingtheiBGPConfiguration ............................................................... 24

    R1:showipbgpsummary................................................................. 24

    R1:showipbgp ......................................................................... 25

    BasiceBGPConfiguration ..................................................................... 25

    VerifyingtheeBGPConfiguration............................................................... 27

    R1:showipbgpsummary................................................................. 27

    R1:showipbgp ......................................................................... 28

    OriginatingaRoutetoeBGPNeighbors.......................................................... 28

  • iv

    BGP 6.5R1v01 Vyatta

    VerifyingtheRouteOrigination ................................................................ 30

    R1:showipbgpsummary................................................................. 30

    R1:showipbgp ......................................................................... 31

    R1:showiproutebgp .................................................................... 32

    R4:showipbgpsummary................................................................. 33

    R4:showipbgp ......................................................................... 33

    InboundRouteFiltering....................................................................... 34

    VerifyingtheInboundFilter ................................................................... 39

    R1:showipbgp ......................................................................... 39

    R1:showipbgp ......................................................................... 39

    R4:showipbgp ......................................................................... 40

    R4:showipbgp ......................................................................... 41

    OutboundRouteFiltering..................................................................... 41

    VerifyingtheOutboundFilter .................................................................. 45

    AS200:showipbgp ...................................................................... 45

    AS200:showipbgp ...................................................................... 46

    Confederations.............................................................................. 46

    VerifyingtheConfederation................................................................... 54

    R1:showipbgpsummary................................................................. 54

    R1:showipbgp ......................................................................... 55

    R2:showipbgpsummary................................................................. 56

    R2:showipbgp ......................................................................... 56

    R3:showipbgpsummary................................................................. 57

    R3:showipbgp ......................................................................... 57

    R4:showipbgpsummary................................................................. 58

    R4:showipbgp ......................................................................... 58

    RouteReflectors............................................................................. 59

    VerifyingtheRouteReflector.................................................................. 65

    R1:showipbgpsummary................................................................. 65

    R1:showipbgp ......................................................................... 66

    R2:showipbgpsummary................................................................. 66

    R2:showipbgp ......................................................................... 67

    R3:showipbgpsummary................................................................. 67

    R3:showipbgp ......................................................................... 68

    R4:showipbgpsummary................................................................. 69

    R4:showipbgp ......................................................................... 69

    RouteRedirection ........................................................................... 70

    ConfiguringIPv6RoutingwithBGP ................................................................. 70

    EnableForwardingonR1andR2............................................................... 71

    ConfigureIPv6BGPPeer ...................................................................... 71

    AdvertiseConnectedNetworks ................................................................ 73

  • v

    BGP 6.5R1v01 Vyatta

    ConfirmAdvertisedRoutes .................................................................... 73

    Chapter2 GlobalandRouterSpecificConfiguration ................................ 75GlobalandRouterSpecificCommands .............................................................. 76

    monitorprotocolbgpdisable .................................................................. 81

    monitorprotocolbgpdisableall................................................................ 82

    monitorprotocolbgpdisableevents ............................................................ 83

    monitorprotocolbgpdisablefilters............................................................. 84

    monitorprotocolbgpdisablefsm .............................................................. 85

    monitorprotocolbgpdisablekeepalives......................................................... 86

    monitorprotocolbgpdisablerib ............................................................... 87

    monitorprotocolbgpdisableupdates........................................................... 88

    monitorprotocolbgpenable .................................................................. 89

    monitorprotocolbgpenableevents............................................................ 90

    monitorprotocolbgpenablefilters ............................................................. 91

    monitorprotocolbgpenablefsm............................................................... 92

    monitorprotocolbgpenablekeepalives ......................................................... 93

    monitorprotocolbgpenablerib .....