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

Prefix list

In this scenario I want to filter 192.168.3.x /25 , /26, /27 networks form R1 route update. I can use access list but I need to set the rules for every network. In prefix list it will easy to filter. R2(config-router)#do sh ip bgp BGP table version is 8, local router ID is 2.2.2.2 Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,               r RIB-failure, S Stale Origin codes: i - IGP, e - EGP, ? - incomplete    Network          Next Hop            Metric LocPrf Weight Path *> 192.168.1.0      10.10.10.1               0             0 1 i *> 192.168.2.0      10.10.10.1 ...

How to setup AWS VPC Peering (VPC to VPC)

    Hi Everyone... ဒီကနေ့တော့ VPC Peering လုပ်တဲ့ အကြောင်းလေးပြောပြပေးသွားမှာပါ။ VPC peering ဘာလို့လုပ်တာလဲ ဘယ်အချိန်တွေမှာသုံးတာလဲဆိုတာကို ကြည့်ရအောင်... သိတဲ့ အတိုင်း ပဲ AWS networking မှာ VPC ကမပါမဖြစ်အရေးပါပါတယ် AWS account တခုရဲ့ AWS region တခုမှာ VPC 5ခုအများဆုံး ထားလို့ရပါတယ်... AZ မဟုတ်ပါဘူး အဲ့ဒါလေးတော့သတိထားရမှာပါ.. peering က one to one ဖြစ်တဲ့အတွက် VPC များလာရင်တော့ configuation complex ဖြစ်လာပါမယ်၊ နောက်တခုကတခြား AWS account တွေရဲ့ VPC နဲ့ချိတ်ဆက်သုံးချင်တာတွေလဲရှိနိုင်ပါတယ် အဲ့လို VPC တွေများလာမယ်ဆိုရင်တော့ Transit Gateway ကိုသုံးတာက ပိုစိတ်ချမ်းသာရပါတယ်။ VPC နည်းသေးတယ် နောင်လဲတိုးလာဖို့ မရှိသေးဘူးဆိုရင်တော့ အခုနည်းလမ်းက ပိုအဆင်ပြေပါတယ်. ဆိုတော့ Pubilc VPC နဲ့ Private VPC ဆိုပြီးရှိတယ်ဆိုပါစို့ Pubilc VPC ထဲက webserver က Private VPC ထဲ က database ကိုလှမ်းသုံးချင်တယ်ဆိုရင် အဲ့ဒီ VPC တွေကို peering လုပ်ပေးဖို့လိုပါတယ်.. Peering လုပ်မယ်ဆိုရင်တော့ VPC ထဲက peering connections ကိုရွေးရပါမယ်. ပြီးရင်တော့ Create peering connections ကို click ပါ၊ ဒီ box ကျလာရင်တော့ ...

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 ...