User guide
ExtremeWare EPICenter Software Installation and User Guide 7-5
Using Telnet with Extreme Switches
Clicktherightmouse buttonanywherein the macro buffertodisplayapop-up edit
menu whichprovides copy and paste functions. You can copy text from within the
macro buffer using the copy function from the pop-up menu. From an external
document, cut or copy text into the clipboard, then use the paste function from the
pop-up edit menu.
You cannot use the browser cut and paste functions for this purpose.
— Load a saved macro (see “Saving a Macro in the EPICenter Database” on page 7-7).
ThesourceofthecommandsinthemacrobufferisindicatedbytheMacroSource:field
at the top of the macro buffer panel.
There are four variables you can use in an ExtremeWare CLI command that will be
expanded when the target switch is contacted. These are:
For example, you can enter the command
upload config 45.1.12.101 extreme/<NAME>.cfg
and the macro substitutes the name of each switch on which it executes the macro.
These variables can only be used in macros, not in an interactive Telnet session.
Because macros are intended for unattended, batch-type use, you should not
use interactive commands in a macro. They may cause the command to run in
a loop.
3 To set the macro so that itplays backrepeatedlyat a specified interval, click the Repeat
button to display the Macro Repeat pop-up window.
a Check the Repeating check-box.
b Enter an interval (in seconds) in the Repeat Delay field.
c Click OK.
Table 7-1: ExtremeView Macro Variables
Variable Definition
<NAME> Thenameoftheswitch
<DATE> The current date of the EPICenter server
<TIME> The current time of the EPICenter server
<ADDRESS> The IP address of the switch