show bgp summary
Syntax
show bgp summary<instanceinstance-name>logical-router (all |logical-router-name)Description
Display summary information about BGP and its neighbors.
Options
instanceinstance-name—(Optional) Display information for the specified instance only. The instance name can bemasterfor the main instance, or any valid configured instance name or its prefix.
logical-router (all |logical-router-name)—(Optional) Perform this operation on all logical routers or on a particular logical router.Required Privilege Level
List of Sample Output
show bgp summary (when a peer is not established)show bgp summary (when a peer is established)show bgp summary (Layer 2 VPN)show bgp summary (Layer 3 VPN)Output Fields
Down peers—Number of down BGP peers.
Tot Paths—Total number of paths.
Act Paths—Number of active routes.
Suppressed—Number of routes currently inactive because of damping or other reasons. These routes do not appear in the forwarding table and are not exported by routing protocols.
History—Number of withdrawn routes stored locally to keep track of damping history.
Damp State—Number of routes with a figure of merit greater than zero, but still active because the value has not reached the threshold at which suppression occurs.
Pending—Routes in process by BGP import policy.
Peer—Address of each BGP peer. Each peer has one line of output.
InPkt—Number of packets received from the peer.
OutPkt—Number of packets sent to the peer.
OutQ—Count of the number of BGP packets that are queued to be transmitted to a particular neighbor. It normally is0because the queue usually is emptied quickly.
Flaps—Number of times the BGP session has gone down and then come back up.
Last Up/Down—Last up/down time since the neighbor transitioned to or from the established state.
State|#Active/Received/Damped—A multipurpose field that displays information about BGP peer sessions. The field's contents depend upon whether a session is established and whether an established session was established in the main router or in a routing instance.
- If a peer is not established, the field shows the state of the peer session:
Active,Connect, orIdle.- If a BGP session is established in the main router, the field shows the number of active, received, and damped routes that are received from a neighbor and appear in the
inet.0(main) andinet.2(multicast) routing tables. For example,1/1/2 2/4/0indicates the following:
- One active route, one received route, and two damped routes from a BGP peer appear in the
inet.0routing table.- Two active routes, four received routes, and no damped routes from a BGP peer appear in the
inet.2routing table.
- If a BGP session is established in a routing instance, the field indicates the established (
Establ) state, identifies the specific routing table that receives BGP updates, and shows the number of active, received, and damped routes that are received from a neighbor. For example,Establ VPN-AB.inet.0: 2/4/0indicates the following:
- The BGP session is established.
- Routes are received in the
VPN-AB.inet.0routing table.- The local router has two active routes, four received routes, and no damped routes from a BGP peer.
When a BGP session is established, the peers are exchanging update messages.
show bgp summary (when a peer is not established)
user@host>show bgp summaryGroups: 2 Peers: 4 Down peers: 1Table Tot Paths Act Paths Suppressed History Damp State Pendinginet.0 6 4 0 0 0 0Peer AS InPkt OutPkt OutQ Flaps Last Up/Dwn State|#Active/Received/Damped...10.0.0.3 65002 86 90 0 2 42:54 0/0/0 0/0/010.0.0.4 65002 90 91 0 1 42:54 0/2/0 0/0/010.0.0.6 65002 87 90 0 3 3 Active10.1.12.1 65001 89 89 0 1 42:54 4/4/0 0/0/0show bgp summary (when a peer is established)
user@host>show bgp summaryGroups: 1 Peers: 3 Down peers: 0Table Tot Paths Act Paths Suppressed History Damp State Pendinginet.0 6 4 0 0 0 0Peer AS InPkt OutPkt OutQ Flaps Last Up/Dwn State|#Active/Received/Damped...10.0.0.2 65002 88675 88652 0 2 42:38 2/4/0 0/0/010.0.0.3 65002 54528 54532 0 1 2w4d22h 0/0/0 0/0/010.0.0.4 65002 51597 51584 0 0 2w3d22h 2/2/0 0/0/0show bgp summary (Layer 2 VPN)
user@host>show bgp summaryGroups: 1 Peers: 5 Down peers: 0Table Tot Paths Act Paths Suppressed History Damp State Pendingbgp.l2vpn.0 1 1 0 0 0 0inet.0 0 0 0 0 0 0Peer AS InPkt OutPkt OutQ Flaps Last Up/Dwn State|#Active/Received/Damped...10.255.245.35 65299 72 74 0 1 19:00 Establbgp.l2vpn.0: 1/1/0frame-vpn.l2vpn.0: 1/1/010.255.245.36 65299 2164 2423 0 4 19:50 Establbgp.l2vpn.0: 0/0/0frame-vpn.l2vpn.0: 0/0/010.255.245.37 65299 36 37 0 4 17:07 Establinet.0: 0/0/010.255.245.39 65299 138 168 0 6 53:48 Establbgp.l2vpn.0: 0/0/0frame-vpn.l2vpn.0: 0/0/010.255.245.69 65299 134 140 0 6 53:42 Establinet.0: 0/0/0show bgp summary (Layer 3 VPN)
user@host>show bgp summaryGroups: 2 Peers: 2 Down peers: 0Table Tot Paths Act Paths Suppressed History Damp State Pendingbgp.l3vpn.0 2 2 0 0 0 0Peer AS InPkt OutPkt OutQ Flaps Last Up/Dwn State|#Active/Received/Damped...10.39.1.5 2 21 22 0 0 6:26 EstablVPN-AB.inet.0: 1/1/010.255.71.15 1 19 21 0 0 6:17 Establbgp.l3vpn.0: 2/2/0VPN-A.inet.0: 1/1/0VPN-AB.inet.0: 2/2/0VPN-B.inet.0: 1/1/0