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

Genco has worked for more than 10 years as a Network/Support Engineer. He is also interested in Python, Linux, Security and SD-WAN, currently lives in the Netherlands and works as a Network Support Engineer at Tesla Inc. // 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.

You have a feedback?

This site uses Akismet to reduce spam. Learn how your comment data is processed.