Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 

Transceiver & Line Card Inventory - One-liner

Danny
Champion Champion
Champion

🚀 Runs on all Check Point Gaia systems.
🎓 Referenced in sk180812

One-liner (Bash) to show the inventory of plugged transceivers, DAC cables and line cards.

In expert mode run:


    echo;if [[ -f "/etc/cp-release" ]] && ! [[ `grep Embed /etc/cp-release` ]];then stat=`cpstat os`;tput bold;echo -n "$stat"|grep "Appliance Name:"|sed 's/Appliance Name://'|tr -s ' '|tr -d '\n';if [[ `echo "$stat"|grep "Maestro"` ]] && [[ `grep original_name /etc/appliance_config.xml|
...;
TO ACCESS CHECKMATES TOOLBOX it's simple and free

Disclaimer: Check Point does not provide maintenance services or technical or customer support for third party content provided on this Site, including in CheckMates Toolbox. See also our Third Party Software Disclaimer.




(2)
3 Replies

Oliver_Fink
Advisor
Advisor

Cool script. It noteworthy that it does not run on R80.30 (I know, that R80.30 is EoS!).  Seems to work only on actual releases. Can you name the minimal version it runs on?

;
TO ACCESS CHECKMATES TOOLBOX it's simple and free


(1)

Danny
Champion Champion
Champion

I'm glad that you like it.
The one-liner is intended to run on supported Gaia versions.

;
TO ACCESS CHECKMATES TOOLBOX it's simple and free


0 Kudos

Sergei_Shir
Employee
Employee

A link to this CheckMates post was added in https://support.checkpoint.com/results/sk/sk180812 

;
TO ACCESS CHECKMATES TOOLBOX it's simple and free


0 Kudos