The Interactive Telnet Feature
EPICenter Reference Guide
210
Creating Macros for Context-Based Replay
Telnet macros that are defined in the Telnet Macro Editor can be played from within other EPICenter
features as well as from within the Macro Player view in the Telnet feature. These macros can be played
from the
Macros
submenu, selected either from the
Tools
menu or through a right-click pop-up menu.
The context specified for the macro defines whether the macro can be executed for an individual port,
an individual device, for a device group—the macro will be available on the Macros submenu only
when the correct context is selected in the Component Tree.
Telnet macros available from other features in EPICenter can also be restricted by user role—macros
may be available only to users with specific roles.
When you create a macro in the Macro Editor for context-based replay, you have the opportunity to
create and insert user defined variables, specify an execution context, and specify an execution role.
User-Defined Variables
User-defined variables provide a way for you to create a “generic” set of commands, and then provide
specific values for the parameters of the commands at run-time.
For example, in the “create vlan” command you can use a variable for the VLAN name:
create vlan $vlanname
Then when you run the macro on a specific switch, you will be prompted to enter the VLAN name.
To create and use user-defined variables, click the
User-Defined Variables
tab in the lower part of the
Macro Editor view. From here you can create, modify, and delete variables, and select them for
inclusion in your macro.
●
To create a variable click
New
in the menu of commands at the right side of the User-Defined
variable space. This opens the
New Variable
dialog box, as shown in
Figure 102
.
Figure 102: The New Variable dialog
Fill in the fields as follows:
A “$” is prefixed to the name you specify to create the actual variable name that will appear in the
macro.
Name
The name of the variable. It must start with a lower case letter, followed by lower or
uppercase letters, and cannot contain spaces or underscores.
Description
A description that will be used as the prompt when the macro is run. If you do not enter
a description, the variable name will be used as the prompt.
Summary of Contents for EPICenter 6.0
Page 14: ...EPICenter Reference Guide 14 ...
Page 18: ...Preface EPICenter Reference Guide 18 ...
Page 19: ...1 EPICenter Basic Features ...
Page 20: ......
Page 24: ...EPICenter Overview EPICenter Reference Guide 24 ...
Page 44: ...Getting Started with EPICenter EPICenter Reference Guide 44 ...
Page 100: ...The Inventory Manager EPICenter Reference Guide 100 ...
Page 140: ...The EPICenter Alarm System EPICenter Reference Guide 140 ...
Page 172: ...Configuration Manager EPICenter Reference Guide 172 ...
Page 196: ...The Firmware Manager EPICenter Reference Guide 196 ...
Page 220: ...The Interactive Telnet Feature EPICenter Reference Guide 220 ...
Page 250: ...The Grouping Manager EPICenter Reference Guide 250 ...
Page 276: ...Real Time Statistics EPICenter Reference Guide 276 ...
Page 342: ...Using the VLAN Manager EPICenter Reference Guide 342 ...
Page 348: ...The ESRP Monitor EPICenter Reference Guide 348 ...
Page 446: ...EPICenter Reports EPICenter Reference Guide 446 ...
Page 447: ...2 Advanced Upgrade Features ...
Page 448: ......
Page 480: ...EAPS Protocol Monitoring and Verification EPICenter Reference Guide 480 ...
Page 508: ...Using the Policy Manager EPICenter Reference Guide 508 ...
Page 525: ...3 Appendices ...
Page 526: ......
Page 542: ...EPICenter Backup EPICenter Reference Guide 542 ...
Page 564: ...Voice over IP Manager EPICenter Reference Guide 564 ...
Page 580: ...EPICenter Reference Guide 580 ...