Meta Variables
Previous  Top  Next

Several Activities allow you to enter a list of commands which will be issued to your selected devices.

Device.CLI.Send commands, Device.CLI.Modify Config and Device.Update.Banner are examples of these activities.

Within the commands you send, you can include a number of CatTools Meta Data variables that will be translated when the Activity is run.

Example: In the Device.Update.Banner Activity you could could set the following text and apply it to all your devices.
Hello, I am %ctDeviceName. Contact %ctContactName on %ctContactPhone to gain access to me.

Below is a table of the variables available.

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
%ctCtrlZ
control key & Z. Normally used to exit config mode.


NB: The variable names are case sensitive and must be entered as shown.