Linux, FreeBSD, Juniper, Cisco / Network security articles and troubleshooting guides
https://forum.ivorde.com/

Junos "show bgp summary" shows different outputs for neighbors
https://forum.ivorde.com/junos-show-bgp-summary-shows-different-outputs-for-neighbors-t19851.html
Page 1 of 1

Author:  admin [ Tue Jun 14, 2016 2:56 pm ]
Post subject:  Junos "show bgp summary" shows different outputs for neighbors

The "show bgp summary" in Junos shows all configured or established neighbors (there can be RR clients that are not configured, but are established).

More information about output of "show bgp summary" is documented on Juniper website: http://www.juniper.net/documentation/en_US/junos15.1/topics/reference/command-summary/show-bgp-summary.html

The output includes both internal and external neighbors with a small difference. Internal neighbors (even they only use ipv4 unicast AFI/SAFI) show up as "ESTABL" and a line below shows the RIB and statistics.

For external BGP neighbors, the statistics are shown on the same line as the neighbor.

Code:
[edit protocols bgp]
admin@PPPPP# run show bgp summary
Groups: 2 Peers: 3 Down peers: 0
Table          Tot Paths  Act Paths Suppressed    History Damp State    Pending
inet.0
                       1          1          0          0          0          0
inet6.0
                       1          1          0          0          0          0
Peer                     AS      InPkt     OutPkt    OutQ   Flaps Last Up/Dwn State|#Active/Received/Accepted/Damped...
10.0.255.3             1234          2          4       0       1           5 0/0/0/0              0/0/0/0
10.0.255.7            65000         45         46       0       0       19:18 Establ
  inet.0: 1/1/1/0
2000:dead:beef:255::7       65000         46         46       0       0       19:22 Establ
  inet6.0: 1/1/1/0


10.0.255.3 is eBGP
10.0.255.7 is iBGP.

This is most probably because L3VPN and L2VPN routes (bgp.l3vpn.0 RIB) are exchanged over internal BGP sessions and this output is optimized to better account for this fact.

Page 1 of 1 All times are UTC - 5 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/