This discussion has been locked. The information referenced herein may be inaccurate due to age, software updates, or external references.
You can no longer post new replies to this discussion. If you have a similar question you can start a new discussion in this forum.

Send patameters with CLI commands

I'd like to send a parameter that CatTools uses (ie device name) with a CLI command...is this possible?

Reason why is I want to tftp configs from a WAP device but it requires a file name and I wanted to use the name that I've given the device within CatTools, ie WAP-001.

  • Hi!

    Have a look at the CatTools help (Activities/Activities List/Device.CLI.Send commands/...):

    "Within the commands, you can use a number of variables that are replaced by actual values when the commands are presented to the device. See the section Command Variables for a list of variables you can use."

    Variable
    Value
    %ctDeviceName
    The device name
    %ctGroupName
    The device group name
    %ctHostName
    The device host address
    %ctModel
    The device model field
    %ctAddress1
    The device Address1 field
    %ctAddress2
    The device Address2 field
    %ctAddress3
    The device Address3 field
    %ctContactName
    The device Contact name field
    %ctContactPhone
    The device Contact phone field
    %ctContactEmail
    The device Contact email field
    %ctTimeHHMM
    current time in HHMM format
    %ctDateISO
    current date in YYYYMMDD format
    %ctBaseFile
    device base file name
    %ctAppPath
    file system path of the CatTools executable including a trailing "\"
    %ctCR
    carriage return
    %ctLF
    line feed
    %ctTAB
    tab
    %ctCTRL-Z
    control key & Z. Normally used to exit config mode.

    Regards, Leonardo