Skip to main content

BGP Neighbor down states

BGP Neighbor down states

Troubleshooting for BGP neighbor down. We can check with  #debug ip bgp events command. 

When the neighbor interface shut down we can see the log like that.

*Mar  1 00:57:57.451: BGP: 10.1.12.2 remote close, state CLOSED
*Mar  1 00:57:57.451: BGP: 10.1.12.2 -reset the session
*Mar  1 00:57:57.451: BGPNSF state: 10.1.12.2 went from nsf_not_active to nsf_not_active
*Mar  1 00:57:57.455: BGP: 10.1.12.2 went from Established to Idle
*Mar  1 00:57:57.455: %BGP-5-ADJCHANGE: neighbor 10.1.12.2 Down Peer closed the session

When neighbor advertise again with wrong AS after established.

*Mar  1 01:03:01.827: BGP: 10.1.12.2 remote close, state CLOSEWAIT
*Mar  1 01:03:01.827: BGP: 10.1.12.2 -reset the session
*Mar  1 01:03:01.827: BGPNSF state: 10.1.12.2 went from nsf_not_active to nsf_not_active
*Mar  1 01:03:01.827: BGP: 10.1.12.2 went from Established to Idle
*Mar  1 01:03:01.827: %BGP-5-ADJCHANGE: neighbor 10.1.12.2 Down Peer closed the session

Comments

Popular posts from this blog

OSPF Virtual Link

OSPF Virtual Link OSPF virtual link is use for that area far from backbone area 0. At this figure 1.1 area 2 is far from area 0 so area 2 can't reach other area. Figure 1.1 After configure OSPF, neighbor is up but router 2 don't see 3.3.3.0/24 network. R3#sh ip ospf nei Neighbor ID     Pri   State           Dead Time   Address         Interface 2.2.2.2           1   FULL/DR         00:00:39    10.1.2.1        FastEthernet0/0 R2#sh ip route      10.0.0.0/30 is subnetted, 2 subnets C       10.1.2.0 is directly connected, FastEthernet1/0 C       10.1.1.0 is directly connected, FastEthernet0/0 One of OSPF rule all area must connect to area 0.In this cause we can use virtual link at area 1. R2 router ospf 1  router-id 2.2.2.2  log-adjace...

OSPF Stub

The following restrictions apply to stub areas:     You cannot create a virtual link through a stub area.   A stub area cannot contain an AS boundary router.   You cannot configure the backbone as a stub area.   You cannot configure an area as both a stub area and an not-so-stubby area (NSSA). Ref : Juniper.net

Why does OSPF need backbone area?

Why does OSPF require all traffic between non-backbone areas to pass through a backbone area (area 0)?   Because inter-area OSPF is distance vector, it is vulnerable to routing loops. It avoids loops by mandating a loop-free inter-area topology, in which traffic from one area can only reach another area through area 0. Ref : Jeff Doyle article at Network world http://www.networkworld.com/article/2348778/cisco-subnet/my-favorite-interview-question.html