R1: show ip bgp summary
The following example shows the output of the show ip bgp summary command for router R1 at this stage of the configuration. The MsgSent column indicates that the router has been sending BGP messages, showing the number of BGP messages that have been sent to each peer.
vyatta@R1:~$ show ip bgp summary
BGP router identifier 10.0.0.11, local AS number 100
BGP table version is 35
3 BGP AS-PATH entries
0 BGP community entries
IPv4 Unicast address family:
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd
10.0.0.22 4 100 6067 6072 35 0 0 2d02h08m 0
10.0.0.33 4 100 6064 6071 35 0 0 2d02h08m 0
10.0.0.44 4 100 6066 6069 35 0 0 1d03h52m 4
88.88.88.2 4 200 6026 6030 35 0 0 00:24:05 1
Total number of neighbors 4
Additionally, you may notice that the MsgRcvd
and MsgSent
fields for peer 88.88.88.2 shows “4” and “5” respectively. This shows that R1 has received four BGP messages from 88.88.88.2 and sent it five, which are associated with the connection to the peer (the show ip bgp neighbors command can be used to provide additional detail). Also, you can see that router R1 has received seven route prefixes (PfxRcd column) from 10.0.0.44 and five route prefixes from 88.88.88.2. The prefixes received can be seen using the show ip bgp command as follows.