KAPOW

Would you like to react to this message? Create an account in a few clicks or log in to continue.
KAPOW

Welcome to the Kapow forum. Here you can get help, use your skills to help others and enjoy hanging out in the company of other Kapow Robot Developers.


    Extracting data from Terminal 6530 session

    avatar
    kennyf


    Posts : 16
    Points : 2243
    Join date : 2018-10-23

    Extracting data from Terminal 6530 session Empty Extracting data from Terminal 6530 session

    Post by kennyf Fri Dec 14, 2018 1:07 pm

    Hi guys,
    I have another question again! This time it’s about connecting to a 6530 terminal using Device Automation.
    Currently I connect to a network device using the connection string
    tn6530://192.168.10.254:23
     
    I then run a command
    #sho ip interface brief
    That will return a very long list…about 84 lines.
     
    Currently I can extract any line from the last page…but I would like to extract ALL the lines so I can paste/insert it into a ticketing/incident management system.
     
    The lines returned by the above command look something like this:
    Interface              IP-Address      OK? Method Status                Protocol
    Vlan1                  unassigned      YES NVRAM  up                    up
    Vlan8                  192.168.8.254   YES NVRAM  up                    up
    Vlan9                  192.168.9.254   YES NVRAM  up                    up
    Vlan10                 192.168.10.254  YES NVRAM  up                    up
    Vlan210                192.168.210.254 YES NVRAM  up                    up
    Vlan220                192.168.128.254 YES NVRAM  up                    up
    Vlan233                10.233.1.254    YES NVRAM  up                    up
    Vlan300                unassigned      YES NVRAM  administratively down down
    Vlan730                10.172.35.254   YES NVRAM  up                    up
    Vlan731                10.172.43.254   YES NVRAM  up                    up
    GigabitEthernet1/1     unassigned      YES unset  down                  down
    GigabitEthernet1/2     unassigned      YES unset  down                  down
     
    From the Kapow documentation ‘[url=../../kap_help/c_welcomegeneral.html]Welcome to Kofax Kapow[/url] > [url=../../kap_help/designstudio/c_usedeviceautomation.html]Device Automation[/url] > Automate Terminals’, it seems I can write all the terminal session data into a trace log file.
    NetworkTrace=<logfile>
     
    However I can’t seem to get this working…
    Not sure if the connection string should look like
    tn6530://192.168.10.254:23?NetworkTrace=<???>
    or
    tn6530://192.168.10.254:23 –NetworkTrace=<????>
     
    Also I don’t know how to put the value of the log file..is this a path? Where will the file be located? I can’t seem to find it on the server…
     
    Documentation or examples of TERMINAL usage are quite difficult to find…
    Thanks for your help…

      Current date/time is Fri Nov 15, 2024 1:27 pm