🎓 Referenced in sk180812
👉 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%Serial%Check Point SKU%Type%Speed'|if [[ -f /bin/column ]];then column -t -s '%';fi|sed '/^(.*)$/ s/./=/g'|sed "s/^/ /";unset _q;echo
On SGMs use this one-liner.