SRX Inventory

For troubleshooting purposes I find the file /var/log/inventory quite useful. You know why? If you haven’t displayed this file so far, go and run the command

>show log inventory
Jan  1 00:16:44 CHASSISD release 10.4R4.5 built by builder on 2011-05-06 06:19:27 UTC
Jan  1 00:16:44 FPC - part number 750-111111, serial number ATXXXXXXX

With this new information, if you type

%grep release /var/log/inventory 

You will see the history of your JUNOS upgrades. Believe me you may need it one day!

About: rtoodtoo

Worked for more than 10 years as a Network/Support Engineer and also interested in Python, Linux, Security and SD-WAN // JNCIE-SEC #223 / RHCE / PCNSE


2 thoughts on “SRX Inventory”

  1. Hiya,

    Just one comment on this:

    You can achieve same without going to shell

    show log inventory | match release

    1. Thanks for the feedback Andrej. Sure we can do it that way too but I usually do file operations under OS shell. Sort of a habit.

Leave a Reply to rtoodtooCancel reply

Discover more from RtoDto.net

Subscribe now to keep reading and get access to the full archive.

Continue reading