Who rated this post

cancel
Showing results for 
Search instead for 
Did you mean: 

Maestro Transceiver & DAC Inventory - One-liner

Danny
Champion Champion
Champion

👉 Check Point Maestro - FAQ

One-liner (Bash) to show the Maestro inventory of plugged transceivers & DAC cables.

On MHOs use:


    echo;_q=$(tor_util get_all_ports_optic_enf_st -v|grep is|tr ' ' '\n'|tr -d ,|grep [[:digit:]]|xargs -I {} tor_util get_port_optic_info {}|grep 'Port\|Vendor\|Serial\|SKU\|Type\|Speed'|tr -s ' ');echo "$_q"|sed 's/Physical Port: /@/g'|sed 's/^[^:]*://g'|sed "s/^[ \t]*//"|tr '\n' '%'|tr '@' '\n'|sed '1 i\(%%%%%%)'|sed '1 i\Port%Vendor%Seri
...;
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)
Who rated this post