IOS - show license command
When viewing information concerning licensing on a Cisco IOS device, the
show license command can be very useful.
sh license all command provides a detailed output of all the licenses, including those licenses that are in use, not in use, and expired. It shows each instance of the license separately, even if it’s the same license. This is why you see the same license appearing in multiple Storeindex entries.
On the other hand, the
sh license command provides a summary of the licenses. It combines all instances of the same license into one entry and adds up their periods. That’s why you see the same license just once and all periods added together in the ‘sh license’ output.