Friday, February 10, 2023
HomeNetworkingTroubleshooting immediately related eBGP neighbors

Troubleshooting immediately related eBGP neighbors


Introduction to eBGP

eBGP is a flavour of Border Gateway Protocol (BGP) used for communication between totally different autonomous programs (AS)eBGP features because the protocol accountable for interconnection of networks from totally different organizations or the Web. eBGP is used and applied on the edge or border router that gives interconnectivity for 2 or extra autonomous system.

On this put up, we’ll talk about on few eventualities the place eBGP neighbors are shaped on immediately related hyperlinks and kind of points that come up whereas forming eBGP neighborship between them. Beneath is one such occasion –

Troubleshooting Directly Connected eBGP Neighbors

Instance Situation: Immediately related eBGP neighbors

As proven in above diagram, 2 routers have to kind eBGP session on immediately related Interfaces.

Now, let’s confirm configuration –

R1

Router1#present run | part router bgp

router bgp 65001

bgp log-neighbor-changes

neighbor 192.168.10.2 remote-as 65002

R2

Router2#present run | part router bgp

router bgp 65002

bgp log-neighbor-changes

neighbor 192.168.10.1 remote-as 65001

Subsequent, we subject command “present ip bgp abstract” to confirm BGP reminiscence utilization, BGP neighbors and the state of communication.

Router1#present ip bgp abstract

BGP router identifier 10.10.10.1, native AS quantity 65001

BGP desk model is 1, essential routing desk model 1

 

Neighbor        V       AS       MsgRcvd   MsgSent   TblVer   InQ   OutQ Up/Down   State/PfxRcd

192.168.10.2    4      65002       0                  0              1      0         0       00:00:16      Lively

As per output of Router1, the state is exhibiting as “Lively”, which imply BGP course of on this router has began a brand new 3-way handshake.

Subsequent, let’s see the output of Router2 –

Router2#present ip bgp abstract

BGP router identifier 20.20.20.1, native AS quantity 65002

BGP desk model is 1, essential routing desk model 1

 

Neighbor          V           AS     MsgRcvd   MsgSent   TblVer  InQ  OutQ  Up/Down   State/PfxRcd

192.168.10.1    4         65001         0              0              1         0        0      00:04:34        Idle

The output reveals Router2 is exhibiting state of “idle”.

Additional elaborating on the above seen outputs, when 2 immediately related routers don’t kind eBGP Neighbor relationship, it cloud be because of following causes;

  • Layer 2 connectivity subject (like Interface down)
    • Use “Present ip interface transient” command to confirm..
  • Layer 3 connectivity subject (like a unsuitable IP is configured)
    • Use Ping command to confirm
  • Incorrect Neighbor IP is configured in BGP configuration.
    • Each router will present idle state, you possibly can test “present ip bgp abstract”.
  • Incorrect Neighbor AS is configured in BGP configuration.
    • Router will obtain BGP Notification Message.
  • Entry checklist is obstructing TCP port 179 site visitors
    • Confirm the entry checklist configured on immediately related bodily interface.

Now let’s confirm the connectivity between routers –

Router1#ping 192.168.10.2

Sort escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 192.168.10.2, timeout is 2 seconds:

…..

Success price is 0 % (0/5)

Since ping shouldn’t be profitable between immediately related interfaces, we have to confirm configured Interfaces of each routers –

Router1#present ip int transient

Interface                  IP-Deal with         OK?     Technique      Standing                              Protocol

FastEthernet0/0        192.168.10.1    YES     guide        up                                   down

Router2#present ip int transient

Interface                  IP-Deal with         OK?     Technique    Standing                                 Protocol

FastEthernet0/0        192.168.10.2    YES     guide     administratively down    down

Additional investigation reveals that Router2 interface is administratively down, so we use “no shutdown” to carry up the interface.

Router2(config)#int FastEthernet 0/0

Router2(config-if)#no shutdown

Beneath log message will verify that eBGP is developing after “no shutdown” command is issued.

Router1#

Apr 29 08:48:42.562: %BGP-5-ADJCHANGE: neighbor 192.168.10.2 Up

Router1#present ip bgp abstract

BGP router identifier 10.10.10.1, native AS quantity 65001

BGP desk model is 1, essential routing desk model 1

 

Neighbor           V           AS     MsgRcvd    MsgSent   TblVer   InQ OutQ Up/Down  State/PfxRcd

192.168.10.2    4           65002       4                 4              1        0      0     00:00:31         0

Now, eBGP neighborship is shaped and router shouldn’t be exhibiting “energetic” or “idle” state.

Proceed Studying:

Troubleshooting not directly related eBGP neighbors

BGP Situation Query on particular Path to kind eBGP neighborship on loopbacks as a substitute of default route

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments