I'm reading through my notes to prepare of my next exam, and I'm having trouble understanding the rules of CB Policing as they are layed out in the book -specifically when it comes to the question of what tokens are removed if the Exceed action is to be perform for a Single-Rate Three-Color (Dual buckets) scenario.
I understand the rules to be as follows:
A packet with x bytes in it arrives.
If x <= The number of tokens in the Bc bucket - then x bytes are removed and the conform action is performed.
The number of tokens in the Bc bucket < x <=The number of tokens in the Be bucket - then x bytes are removed from the Be bucket and the exceed action is performed.
If x > The number of tokens in the Be bucket - then no tokens are removed and the violate action is performed.
Now that seems pretty simple at first glance, but what happens if a 51 byte packet arrives and the size of the Bc bucket is 50, and it is full, and the size of the Be bucket is 100 and it is a quarter full (25 tokens).
It doesn't conform. 51> 50. But it doesn't exceed either. Since 51>25. It looks like this would violate.
But there are 75 tokens available to be used... So the policer can send up to 75 bytes.... right?
Should the exceed rule not then be the following:
The number of tokens in the Bc bucket < x <= (The number of tokens in the Bc bucket + The number of tokens in the Be bucket) - then x bytes are removed from the Be and Bc buckets (emptying the Bc bucket first) and the exceed action is performed.
Is that right or have I misunderstood?
I seems to me that if the rules as I initially stated them are true, the the Be bucket would have to be larger that the Bc bucket otherwise it would always fail its check if the Bc bucket did. I suppose what I am asking, is whether or not the Be bucket tokens are considered together, with the Bc bucket tokens, or independently.
I hope that makes sense. Thanks in advance for any help :)
Listen: https://smarturl.it/CCRS8E39 Follow us: twitter.com/CiscoChampion5G and Wi-Fi 6, the next generation of mobile wireless technologies are here! But what does that mean? Where and how is 5G being deployed? What is Wi-Fi 6? Who’s on first? ...
loadbalancing is one of the more complex items in hardware forwarding. of course we have talked about it many years on cisco live (id 2904) with ever incrementing more detail. and there is the support forum article on loadbalancing.
IntroductionArchitecture Building BlocksIOS-XR RoutersConfigurationPerformance VerificationOptimizationStrict timerSome more verificationThe CollectorInfluxDBDatabase statistics and HealthClosing comments
This document was written in collaboration with:
IOS-XR MPLS TE Auto Tunnel Backup Bandwidth Protection Current Implementation of MPLS TE Auto Tunnel BackupPotential issue with current implementation of MPLS TE auto tunnel backupEnhancement to MPLS TE auto backup in IOS XR 7.5.1Supported HardwareConfig ...
we are trying to monitor the Cisco 9148s SFP status, and have get the Sensor's dBm value from the CISCO-ENTITY-SENSOR-MIB table, meanwile , it has an Index value like "30000xxxx",such as "30001773", entsensorValueTable but we can't sure how to l...