Printer FriendlyEmail Article Link

Spirent TestCenter: How do I retrieve chassis and port logs using TCL

Environment/Versions
  • Linux, Windows
    • Language: TCL
Answer
  • Attached are two scripts
    • GetSTCLogOffCards.tcl will retrieve all port logs from all cards
      • Usage modify the script  to connect to the required chassis on the following line in the script.:
        • stc::perform ChassisConnectCommand -Hostname <ipaddress>
           
    • GetEquipmentLogs.tcl will retrieve all chassis IL logs and specific port groups
      • tclsh GetEquipmentLogs.tcl <destination dir> <chassis ips...> <slots...> <port groups...>\

Product : Spirent TestCenter,API