Symptom
The N9K-C9364C switch configured with the LPM heavy template shows warning log messages like
%ICAM-4-SCALE_THRESHOLD_EXCEEDED_WARN: Utilization of 97 percent for feature IPv4 LPM routes is over the warning threshold
even when the IPv4 routing table size is relatively small for such template, e.g. 14k routes.
Conditions
Switch is configured with **system routing template-lpm-heavy** and default ICAM feature parameters.
Workaround
Add the following line to the configuration
**icam monitor scale unicast-routing routing lpm-route-v4 limit 262000**
Further Problem Description
TCAM and Trie utilization can be verified with commands
show hardware internal forwarding table utilization
show icam scale
show icam resource fib-tcam mod 1 inst 0