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

How to Calculate BC and BE in NCS5500

jon_panes24
Level 1
Level 1

Hi All,

Anyone that is familiar how NCS5501 calculates the CIR/PIR, BC and BE values. Im not sure how the values are being calculated here

Policy map is configured below and applied to a tengig interface

policy-map test-policer
class PCP-ALL
police rate 102400 kbps peak-rate 102400 kbps
!
!
class class-default
!
end-policy-map

interface TenGigE0/0/0/10
service-policy input test-policer
shutdown

!

RP/0/RP0/CPU0:NCS-5501-SYS-ENNI-3#show qos interface TenGigE0/0/0/10 input
Tue Jul 12 19:42:22.363 NZST
NOTE:- Configured values are displayed within parentheses
Interface TenGigE0/0/0/10 ifh 0xc0 -- input policy
NPU Id: 0
Total number of classes: 2
Interface Bandwidth: 10000000 kbps
Policy Name: test-policer
SPI Id: 0x0
Accounting Type: Layer2 (Include Layer 2 encapsulation and above)
------------------------------------------------------------------------------
Level1 Class = PCP-ALL

Policer Bucket ID = 0x121
Policer Stats Handle = 0x0
Policer committed rate = 102656 kbps (102400 kbits/sec)
Policer peak rate = 102678 kbps (102400 kbits/sec)
Policer conform burst = 127872 bytes (default)
Policer exceed burst = 255744 bytes (default)

Level1 Class = class-default

Default Policer Bucket ID = 0x120
Default Policer Stats Handle = 0x0

 

1 Reply 1

Hello
My understadning policng BC/BE is calculated based on the interface time intervel rate (tc),

BC/BE=CIR/32
or
BC/BE=CIR*0,25/8

Example:
TC = 0.25
CIR 1000000
BC=1000000/32 = 31250
or
BC=0.25*1000000/8 = 31250


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Innovations in Cisco Full Stack Observability - A new webinar from Cisco