cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
683
Views
0
Helpful
1
Replies

Difference of BGP counters

samira1371
Level 1
Level 1

Can anyone please tell me what is the difference between "Prefixes Current" and "Prefixes Total" of following output.

#sh ip bgp neighbors

<snip>

                                 Sent       Rcvd
  Prefix activity:               ----       ----
    Prefixes Current:              11          4 (Consumes 320 bytes)
    Prefixes Total:              1508          4
    Implicit Withdraw:             80          0
    Explicit Withdraw:           1114          0
    Used as bestpath:             n/a          4
    Used as multipath:            n/a          0

<snip>

1 Reply 1

milan.kulik
Level 10
Level 10

Hi,

IMHO, the  "Prefixes Current" should show the same numbers as "sh ip bgp nei ... adv/received-routes".

While "Prefixes Total" should show the numbers of prefixes sent/received during all the time the BGP process was running.

I.e., Prefixes Current+Implicit Withdraw+ Explicit Withdraw should be equal to the Prefixes Total in theory, if not the BGP session flapped possibly?

Best regards,

Milan