cisco support community - troubleshooting ipv6 bgp peer establishment on a cisco router - 2012-02-14

Upload: saikyawhtike

Post on 05-Jul-2018

220 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/16/2019 Cisco Support Community - Troubleshooting Ipv6 Bgp Peer Establishment on a Cisco Router - 2012-02-14

    1/4

    Cisco Support Community

    Home

    Troubleshooting IPv6 BGP Peer Establishment on a Cisco RouterDocument

     Tue, 02/14/2012 - 01:17

    SunilKhanna  Feb 13th, 2012

     Table of Contents

    Introduction

    Prerequisite

    Background Information

     Topology Diagram

    Configuration

     Troubleshooting Steps

    Step1. AS Number

    Step2. Connectivity

    Step3. Update-Source interface

    Step4. Ebgp Max-Hop count

    Step5. TCP connection

    Step6. Access-List/Routing policy

    Step7. Run Debugs

    References

    Introduction

     To become IPv6 BGP peers, any two routers need to establish a TCP session using port 179

    and exchange open messages successfully. This document describes few scenarios wherein

    BGP peering is not established beween two Ipv6 BGP speaking routers.

    Prerequisite

    It is assumed that the reader has an understanding of IPv6 and BGP routing protocol.

    Background Information

     The two routers (R1 and R2) depicted in the topology diagram are in AS 100 and AS 200

    forming an EBGP relationship. Their loopbacks are advertised via OSPFv3 routing protocol.

     There is another Router, R3, in between R1 and R2. The three routers are connected via Fast

    Ethernet interfaces and are configured with OSPFv3 routing protocol. As we wanted the BGP

    peering to established over the Loopback interface and not via the directly connected

    interfaces, Router R3 is not depicted in the topology diagram. Please see the configurations

    https://supportforums.cisco.com/https://supportforums.cisco.com/users/sunilkhannahttp://supportforums.cisco.com/printpdf/91801#Introductionhttp://supportforums.cisco.com/printpdf/91801#Prerequisitehttp://supportforums.cisco.com/printpdf/91801#Background_Informationhttp://supportforums.cisco.com/printpdf/91801#Topology_Diagramhttp://supportforums.cisco.com/printpdf/91801#Configurationhttp://supportforums.cisco.com/printpdf/91801#Troubleshooting_Stepshttp://supportforums.cisco.com/printpdf/91801#Step1._AS_Numberhttp://supportforums.cisco.com/printpdf/91801#Step2._Connectivityhttp://supportforums.cisco.com/printpdf/91801#Step3._Update-Source_interfacehttp://supportforums.cisco.com/printpdf/91801#Step4._Ebgp_Max-Hop_counthttp://supportforums.cisco.com/printpdf/91801#Step5._TCP_connectionhttp://supportforums.cisco.com/printpdf/91801#Step6._Access-ListRouting_policyhttp://supportforums.cisco.com/printpdf/91801#Step7._Run_Debugshttp://supportforums.cisco.com/printpdf/91801#Referenceshttp://supportforums.cisco.com/printpdf/91801#Referenceshttp://supportforums.cisco.com/printpdf/91801#Step7._Run_Debugshttp://supportforums.cisco.com/printpdf/91801#Step6._Access-ListRouting_policyhttp://supportforums.cisco.com/printpdf/91801#Step5._TCP_connectionhttp://supportforums.cisco.com/printpdf/91801#Step4._Ebgp_Max-Hop_counthttp://supportforums.cisco.com/printpdf/91801#Step3._Update-Source_interfacehttp://supportforums.cisco.com/printpdf/91801#Step2._Connectivityhttp://supportforums.cisco.com/printpdf/91801#Step1._AS_Numberhttp://supportforums.cisco.com/printpdf/91801#Troubleshooting_Stepshttp://supportforums.cisco.com/printpdf/91801#Configurationhttp://supportforums.cisco.com/printpdf/91801#Topology_Diagramhttp://supportforums.cisco.com/printpdf/91801#Background_Informationhttp://supportforums.cisco.com/printpdf/91801#Prerequisitehttp://supportforums.cisco.com/printpdf/91801#Introductionhttps://supportforums.cisco.com/users/sunilkhannahttps://supportforums.cisco.com/

  • 8/16/2019 Cisco Support Community - Troubleshooting Ipv6 Bgp Peer Establishment on a Cisco Router - 2012-02-14

    2/4

    attached to the document.

    Note:

    Topology Diagram

    Configuration

    Please see attached files Router R1, Router R2 and Router R3.

    Note: All configurations are tested on Cisco 3745 Router running IOS 12.4 software.

    Troubleshooting StepsStep1. AS Number

    Symptom Error Message: %BGP-3-NOTIFICATION: received from neighbor 2012:ABC:123:22::2

    2/2 (peer in wrong AS) 2 bytes 0064

    Verify that the peer’s AS number is correct by command “show bgp ipv6 unicast summary”

    Note:  As seen from the output, the neighbor 2012:ABC:123:12::2 is configured in AS 123,

    however Router R2 is residing in AS 200.

    Step2. Connectivity

    Ping the neighbor by command ping ipv6 X:X:X:X::X

    Verify that the peer is listed in the IPv6 RIB

     

  • 8/16/2019 Cisco Support Community - Troubleshooting Ipv6 Bgp Peer Establishment on a Cisco Router - 2012-02-14

    3/4

    Note:  In this scenario, the peering neighbor is 2012:ABC:123:11::1, the route is learned via

    OSPFv3.

    Step3. Update-Source interface

    If a loopback interface is used to form peering, check that the command “update-source

    loopback” is configured under the BGP configuration mode. Without the neighbor update-

    source  configuration command, the TCP session will use the IP address of the outgoing

    physical interface and the neighbor will reject the incoming TCP SYN packet as it’s not coming

    from a recognized BGP neighbor.

    Note:  The state remains in  Active  mode.

    Step4. Ebgp Max-Hop count

    If the peer is not directly connected, check that the peer ebgp-max-hop  command is

    configured.

    Step5. TCP connection

    Check the TCP connection by command “show tcp brief”

  • 8/16/2019 Cisco Support Community - Troubleshooting Ipv6 Bgp Peer Establishment on a Cisco Router - 2012-02-14

    4/4

    Note: The state should be established.

    Step6. Access-List/Routing policy

    Check whether an ACL for disabling TCP port 179 is configured.

    Step7. Run Debugs

    Use the command "debug bgp ipv6 unicast"

    References

    Implementing Multiprotocol BGP for IPv6

    Cisco IOS IPv6 Command References

    Troubleshooting BGP

    Attachment:

    122368-Router R3.txt.zip

     122369-Router R2.txt.zip

     122370-Router R1.txt.zip

     122425-TCP Brief.bmp

     122426-BGP Unicast Summary.bmp

    Rating

    1

    23

    4

    5

    Overall Rating: 0 (0 ratings)

    https://supportforums.cisco.com/document/91801/troubleshooting-ipv6-bgp-peer-establish-

    ent-cisco-router

    http://www.cisco.com/en/US/docs/ios-xml/ios/ipv6/configuration/12-4/ip6-mptcl-bgp.htmlhttp://www.cisco.com/en/US/docs/ios-xml/ios/ipv6/command/ipv6-cr-book.htmlhttp://www.cisco.com/en/US/tech/tk365/technologies_tech_note09186a008009478a.shtmlhttps://supportforums.cisco.com/sites/default/files/legacy/8/6/3/122368-Router%20R3.txt.ziphttps://supportforums.cisco.com/sites/default/files/legacy/9/6/3/122369-Router%20R2.txt.ziphttps://supportforums.cisco.com/sites/default/files/legacy/0/7/3/122370-Router%20R1.txt.ziphttps://supportforums.cisco.com/sites/default/files/legacy/5/2/4/122425-TCP%20Brief.bmphttps://supportforums.cisco.com/sites/default/files/legacy/6/2/4/122426-BGP%20Unicast%20Summary.bmphttps://supportforums.cisco.com/printpdf/91801?rate=P1W34wq4e8KJUm2R3ystDx1pOJ-bLyL-SRA18kN7tjMhttps://supportforums.cisco.com/printpdf/91801?rate=yTLxVC4WXlsV0u-Qr-2ZVI64O6V935S7c5KBDft57Nshttps://supportforums.cisco.com/printpdf/91801?rate=jDjgxaOi-Q_qP7oCqVFRjN1vIfB0Wbe_oK6BvvBSJWYhttps://supportforums.cisco.com/printpdf/91801?rate=qtWDhCGP-wmaXA15KPbkAwKtUhkwdC8mrfigRimk_MMhttps://supportforums.cisco.com/printpdf/91801?rate=OSQtT5IN3dsflI4UdK21kWxpZWgRUajLw2hXJknyhkYhttps://supportforums.cisco.com/printpdf/91801?rate=OSQtT5IN3dsflI4UdK21kWxpZWgRUajLw2hXJknyhkYhttps://supportforums.cisco.com/printpdf/91801?rate=qtWDhCGP-wmaXA15KPbkAwKtUhkwdC8mrfigRimk_MMhttps://supportforums.cisco.com/printpdf/91801?rate=jDjgxaOi-Q_qP7oCqVFRjN1vIfB0Wbe_oK6BvvBSJWYhttps://supportforums.cisco.com/printpdf/91801?rate=yTLxVC4WXlsV0u-Qr-2ZVI64O6V935S7c5KBDft57Nshttps://supportforums.cisco.com/printpdf/91801?rate=P1W34wq4e8KJUm2R3ystDx1pOJ-bLyL-SRA18kN7tjMhttps://supportforums.cisco.com/sites/default/files/legacy/6/2/4/122426-BGP%20Unicast%20Summary.bmphttps://supportforums.cisco.com/sites/default/files/legacy/5/2/4/122425-TCP%20Brief.bmphttps://supportforums.cisco.com/sites/default/files/legacy/0/7/3/122370-Router%20R1.txt.ziphttps://supportforums.cisco.com/sites/default/files/legacy/9/6/3/122369-Router%20R2.txt.ziphttps://supportforums.cisco.com/sites/default/files/legacy/8/6/3/122368-Router%20R3.txt.ziphttp://www.cisco.com/en/US/tech/tk365/technologies_tech_note09186a008009478a.shtmlhttp://www.cisco.com/en/US/docs/ios-xml/ios/ipv6/command/ipv6-cr-book.htmlhttp://www.cisco.com/en/US/docs/ios-xml/ios/ipv6/configuration/12-4/ip6-mptcl-bgp.html