Adaptive Scans is a counter which periodically increments. Under certain conditions, we may find this counter remain at zero or does not incremented and this KB mentions those conditions.
With ALB, it may be desirable not to increment the Adaptive Scans count under certain circumstances.
Minimum configuration under AE Interface for enabling adaptive load-balance.
------------ lab@cheetah-re0# run show configuration interfaces ae100 aggregated-ether-options { load-balance { adaptive; <<<<<<< This knob is mandatory } <<Snip>> } ------------
Condition under which Adaptive Scans may not increment:
- Verify in CLI, whether ALB is enabled for that specific AE interface.
- Verify if AE interface configured without any family
- Verify if family inet or inet6 is not configured on AE Link.
- Verify if family is configured but associated NH is in Hold State
Example: if ARP is not being resolved and associated NH is in Hold State.
Moto is to save CPU Cycle of running Adaptive Scan increase count of no desired traffic send on that AE Link. - Verify if Single child link is bound with AE Link.
This means, that at any given point in time, we have single child link UP for given AE link. - Verify that the AE Link is UP.
Check if Adaptive Scans is incrementing or not:
--------------------------------------------------- lab@cheetah-re0# run show interfaces ae100 | match Ada Jul 15 13:50:08 Adaptive Statistics: Adaptive Adjusts: 0 Adaptive Scans : 564 ##### Adaptive Updates: 0 [edit interfaces ae100] lab@cheetah-re0# run show interfaces ae100 | match Ada Jul 15 13:50:09 Adaptive Statistics: Adaptive Adjusts: 0 Adaptive Scans : 568 ###This value being incremented. Adaptive Updates: 0 --
How to check if Adaptive Scans is incrementing:
lab@cheetah-re0# run show interfaces ae100 | match Ada Jul 15 13:50:08 Adaptive Statistics: Adaptive Adjusts: 0 Adaptive Scans : 564 ##### Adaptive Updates: 0 [edit interfaces ae100] lab@cheetah-re0# run show interfaces ae100 | match Ada Jul 15 13:50:09 Adaptive Statistics: Adaptive Adjusts: 0 Adaptive Scans : 568 ###This value being incremented. Adaptive Updates: 0