The articles provide detail on how the space in "show pfe route summary hw" output is calculated for prefixes
The KB explains the details on how to calculate the space consumed by host prefixes seen from "show pfe route summary hw"
labroot@JTAC> show pfe route summary hw
Slot 0
Unit: 0
Profile active: custom-profile
Type Max Used Free % free
----------------------------------------------------
IPv4 Host 8192 3584 42 0.51. >>>>>>>>>>>
IPv4 LPM 294912 162984 131928 44.73
IPv4 Mcast 4096 0 21 0.51
IPv6 Host 4096 2283 21 0.51
IPv6 LPM(< 64) 49152 31988 17055 34.70
IPv6 LPM(> 64) 49152 109 17055 34.70
IPv6 Mcast 2048 0 11 0.54
In our case we see the total space is 8192 for all the 4 banks combined which includes space for IPV4/V6/Multicast
Analysis of the table :
>>Based on the output we see the total space is 8192
>>Out of which we have already 3584 used by IPV4 host and 2283 used for IPV6
>>Sine each IPV6 uses 2 index , the total index used by IPV6 in our case is 2x2283 = 4566
>>so now we have IPV6 using total of 4566 indexe's and IPV4 using 3584 which in total is = 3584 +4566 = 8150
Free space= total space[8192] - used space[ 3584 +4566 = 8150] = 42
The 42 is the free available index in whole which can either hold 42 IPV4 entries or 21 IPV6 entries .