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.
Содержание EPICenter 6.0
Страница 14: ...EPICenter Reference Guide 14 ...
Страница 18: ...Preface EPICenter Reference Guide 18 ...
Страница 19: ...1 EPICenter Basic Features ...
Страница 20: ......
Страница 24: ...EPICenter Overview EPICenter Reference Guide 24 ...
Страница 44: ...Getting Started with EPICenter EPICenter Reference Guide 44 ...
Страница 100: ...The Inventory Manager EPICenter Reference Guide 100 ...
Страница 140: ...The EPICenter Alarm System EPICenter Reference Guide 140 ...
Страница 172: ...Configuration Manager EPICenter Reference Guide 172 ...
Страница 196: ...The Firmware Manager EPICenter Reference Guide 196 ...
Страница 220: ...The Interactive Telnet Feature EPICenter Reference Guide 220 ...
Страница 250: ...The Grouping Manager EPICenter Reference Guide 250 ...
Страница 276: ...Real Time Statistics EPICenter Reference Guide 276 ...
Страница 295: ...The New Menu EPICenter Reference Guide 295 Figure 137 Example of a default layout for a 500 node map ...
Страница 342: ...Using the VLAN Manager EPICenter Reference Guide 342 ...
Страница 348: ...The ESRP Monitor EPICenter Reference Guide 348 ...
Страница 446: ...EPICenter Reports EPICenter Reference Guide 446 ...
Страница 447: ...2 Advanced Upgrade Features ...
Страница 448: ......
Страница 480: ...EAPS Protocol Monitoring and Verification EPICenter Reference Guide 480 ...
Страница 508: ...Using the Policy Manager EPICenter Reference Guide 508 ...
Страница 525: ...3 Appendices ...
Страница 526: ......
Страница 542: ...EPICenter Backup EPICenter Reference Guide 542 ...
Страница 564: ...Voice over IP Manager EPICenter Reference Guide 564 ...
Страница 580: ...EPICenter Reference Guide 580 ...