#BGP global + neighbors
#URL
#OPENCONFIG YANG
#OS Commands
#Cisco IOS Classic (15.2(4)S5) / XE (15.3(3)S2)
#CLI
XE2#show bgp all summary For address family: IPv4 Unicast BGP router identifier <router-id>, local AS number <as> BGP table version is 2, main routing table version 2 1 network entries using 144 bytes of memory 1 path entries using 80 bytes of memory 1/1 BGP path/bestpath attribute entries using 136 bytes of memory 0 BGP route-map cache entries using 0 bytes of memory 0 BGP filter-list cache entries using 0 bytes of memory BGP using 360 total bytes of memory BGP activity 1/0 prefixes, 1/0 paths, scan interval 60 secs Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd <neighbor1> 4 65000 0 0 1 0 0 6d04h <state1> <neighbor2> 4 65000 0 0 1 0 0 never <state2> <neighbor3> 4 65000 0 0 1 0 0 never <state3> For address family: VPNv4 Unicast BGP router identifier <router-id>, local AS number <as> BGP table version is 1, main routing table version 1 Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd <prefix2> 4 65000 11217 11215 1 0 0 1w0d <prefs> XE2#show bgp neighbor <neighbor3> | section family For address family: IPv4 Unicast BGP table version 2, neighbor version 1/2 Output queue size : 0 Index 0, Advertise bit 0 Slow-peer detection is disabled Slow-peer split-update-group dynamic is disabled Sent Rcvd Prefix activity: ---- ---- Prefixes Current: 0 0 Prefixes Total: 0 0 Implicit Withdraw: 0 0 Explicit Withdraw: 0 0 Used as bestpath: n/a 0 Used as multipath: n/a 0 Outbound Inbound Local Policy Denied Prefixes: -------- ------- Total: 0 0 Number of NLRIs in the update sent: max 0, min 0 Last detected as dynamic slow peer: never Dynamic slow peer recovered: never Refresh Epoch: 1 Last Sent Refresh Start-of-rib: never Last Sent Refresh End-of-rib: never Last Received Refresh Start-of-rib: never Last Received Refresh End-of-rib: never XE2#show bgp ipv4 unicast summary | section <neighbor3> <neighbor3> 4 65000 0 0 1 0 0 never <state3> XE2#show bgp vpnv4 unicast all summary | section <neighbor2> <neighbor2> 4 65000 11220 11219 1 0 0 1w0d <prefs>
#Unit
Unit version range: 3.1.1.rc1-frinx
Link to github : ios-unit
#Cisco XR 6.1.2
#Netconf
RP/0/0/CPU0:XR1#show run router bgp Thu Jun 4 17:40:46.790 UTC router bgp <as> instance <process-name> bgp router-id <router-id> !
#Device YANG
Link to github : xml-sample
#Unit
Unit version range: 3.1.1.rc1-frinx
Link to github : xr-unit