Skip to main content

BGP Neighbor Adjacency States in Lab

We can see the bgp states with 'debug ip bgp events' command.

*Mar  1 01:48:40.675: BGP: 10.1.12.1 went from Idle to Active
*Mar  1 00:50:27.127: BGP: 10.1.12.1 open active, local address 10.1.12.2
*Mar  1 00:50:27.155: BGP: 10.1.12.1 went from Active to OpenSent
*Mar  1 00:50:27.155: BGP: 10.1.12.1 sending OPEN, version 4, my as: 200, holdtime 180 seconds
*Mar  1 00:50:27.159: BGP: 10.1.12.1 send message type 1, length (incl. header) 45
*Mar  1 00:50:27.187: BGP: 10.1.12.1 rcv message type 1, length (excl. header) 26
*Mar  1 00:50:27.187: BGP: 10.1.12.1 rcv OPEN, version 4, holdtime 180 seconds
*Mar  1 00:50:27.191: BGP: 10.1.12.1 rcv OPEN w/ OPTION parameter len: 16
*Mar  1 00:50:27.191: BGP: 10.1.12.1 rcvd OPEN w/ optional parameter type 2 (Capability) len 6
*Mar  1 00:50:27.191: BGP: 10.1.12.1 OPEN has CAPABILITY code: 1, length 4
*Mar  1 00:50:27.191: BGP: 10.1.12.1 OPEN has MP_EXT CAP for afi/safi: 1/1
*Mar  1 00:50:27.191: BGP: 10.1.12.1 rcvd OPEN w/ optional parameter type 2 (Capability) len 2
*Mar  1 00:50:27.195: BGP: 10.1.12.1 OPEN has CAPABILITY code: 128, length 0
*Mar  1 00:50:27.195: BGP: 10.1.12.1 OPEN has ROUTE-REFRESH capability(old) for all address-families
*Mar  1 00:50:27.195: BGP: 10.1.12.1 rcvd OPEN w/ optional parameter type 2 (Capability) len 2
*Mar  1 00:50:27.195: BGP: 10.1.12.1 OPEN has CAPABILITY code: 2, length 0
*Mar  1 00:50:27.195: BGP: 10.1.12.1 OPEN has ROUTE-REFRESH capability(new) for all address-families
BGP: 10.1.12.1 rcvd OPEN w/ remote AS 200
*Mar  1 00:50:27.195: BGP: 10.1.12.1 went from OpenSent to OpenConfirm
*Mar  1 00:50:27.195: BGP: 10.1.12.1 went from OpenConfirm to Established
*Mar  1 00:50:27.195: %BGP-5-ADJCHANGE: neighbor 10.1.12.1 Up

Comments

Popular posts from this blog

Nested Route Reflection Cluster

Figure 1.1 R1 router bgp 65000  bgp cluster-id 10  neighbor 2.2.2.2 remote-as 65000  neighbor 2.2.2.2 update-source Loopback0  neighbor 2.2.2.2 route-reflector-client  neighbor 3.3.3.3 remote-as 65000  neighbor 3.3.3.3 update-source Loopback0  neighbor 3.3.3.3 route-reflector-client R2 router bgp 65000  bgp cluster-id 20  net 22.22.22.0 mask 255.255.255.0  neighbor 1.1.1.1 remote-as 65000  neighbor 1.1.1.1 update-source Loopback0  neighbor 4.4.4.4 remote-as 65000  neighbor 4.4.4.4 update-source Loopback0  neighbor 4.4.4.4 route-reflector-client R3 router bgp 65000  bgp cluster-id 30  net 33.33.33.0 mask 255.255.255.0  neighbor 1.1.1.1 remote-as 65000  neighbor 1.1.1.1 update-source Loopback0  neighbor 5.5.5.5 remote-as 65000  neighbor 5.5.5.5 update-source Loopback0  neighbor 5.5.5.5 route-reflector-client R4 router bgp 65000 ...

VRF lite at Enterprise

In this scenario we have two internet line and separate the user group for internet using. I want to setup  NET_G1 group use internet line 1 and NET_G2 group use internet line 2. At NET_G1 sale and MKT department are included and at NET_G2 HR and IT are included. First step create the vrf. R1/R4/R5 ip vrf NET_G1 ip vrf NET_G2 Second step -set the interfaces belong to vrf. R1 ip vrf NET_G1 ip vrf NET_G2 int f0/0 ip vrf forwarding NET_G1 ip add 10.10.10.2 255.255.255.252 description Internet 1 no sh int f1/0 no sh ip vrf forwading NET_G2 ip add 172.16.12.2 255.255.255.252 description Internet 2 no sh int f2/0 no sh int f2/0.10 encapsulation dot1q 10 ip vrf for NET_G1 ip add 192.168.14.1 255.255.255.252 int f2/0.20 encapsulation dot1q 20 ip vrf for NET_G2 ip add 192.168.14.1 255.255.255.252 int f3/0 no sh int f3/0.10 encapsulation dot1q 10 ip vrf for NET_G1 ip add 192.168.15.1 255.255.255.252 int f3/0.20 encapsulation dot1q 20 ...