Question: What is output of sh ip bgp sum command? Explain your answer with an output sample from a network running BGP and analyse the output
What is output of "sh ip bgp sum" command? Explain your answer with an output sample from a network running BGP and analyse the output elements.
Step by Step Solution
3.33 Rating (156 Votes )
There are 3 Steps involved in it
The sh ip bgp sum command is used to display a summary of the Border Gateway Protocol BGP neighbors and their status on a network device It provides an overview of the BGP peering relationships and the state of those neighbors The output of this command typically includes information such as the BGP neighbors IP address AS number state and various statistics Heres an example output of the sh ip bgp sum command apache Copy Router show ip bgp summary BGP router identifier 192021 local AS number 65001 BGP table version is 1234 main routing table version 5678 Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ UpDown StatePfxRcd 192022 4 65002 10000 12000 1234 0 0 012345 567 192023 4 65003 15000 18000 5678 0 0 023456 890 Lets analyze the different elements in the output BGP router identifier It indicates the routers BGP identifier which is typically the routers loopback IP address Local AS number This specifies the Autonomous System AS number of the local router BGP table version It represents the version number of the BGP routing table Main routing table version This shows the version number of the main routing table on the router Neighbor The IP address of the BGP neighbor V It represents the BGP version being used where 4 indicates BGP version 4 AS The AS number of the BGP neighbor MsgRcvd The number of BGP messages received from the neighbor MsgSent The number of BGP messages sent to the neighbor TblVer The version number of the BGP table for the neighbor InQ The number of BGP messages waiting to be processed in the inbound queue OutQ The number of BGP messages waiting to be sent in the outbound queue UpDown The duration for which the BGP session with the neighbor has been up or down StatePfxRcd The current state of the BGP session and the number of received prefixes from the neighbor In the example output there are two BGP neighbors 192022 and 192023 The first neighbor 192022 has an AS number of 65002 and has received 10000 BGP messages while sending 12000 messages The BGP table version for this neighbor is 1234 and it has not queued any inbound or outbound messages The BGP session with this neighbor has been up for 012345 and it has received 567 prefixes Similarly the second neighbor 192023 has an AS number of 65003 and it has received 15000 BGP messages while sending 18000 messages The BGP table version for this neighbor is 5678 and it has not queued any inbound or outbound messages The BGP session with this neighbor has been up for 023456 and it has received 890 prefixes This output provides a ... View full answer
Get step-by-step solutions from verified subject matter experts
