Download Print this page

Using Telnet Macros; Built-In Telnet Macros - Extreme Networks EPICenter Reference Manual

Hide thumbs Also See for EPICenter:

Advertisement

Using Telnet Macros

Using the EPICenter Telnet feature you can create and run Telnet macros on Extreme devices. The
macro feature supports the use of both contest-sensitive predefined variables and user-defined variables
in a macro. Saved macros can also be enabled to appear in the Tools menu or the right-click pop-up
menus in many of the other EPICenter features, so they can be run on the device, device group or port
selected within another feature without having to first go to the Telnet feature.
NOTE
CLI commands that repeatedly refresh their output cannot be used in a macro. They will fail with a time-out error.
Examples of such commands are the show lldp commands on ExtremeWare devices, or the show ports utilization or
the show ports configuration commands (ExtremeWare and ExtremeXOS).
You can create Telnet macros in two ways:
Under the Macro Player tab, you can select devices in the Telnet Connections list, create a macro to
be run on those devices, and then play the macro on those devices, having it repeat at a specified
interval, if appropriate. You can also load and run saved macros. If you want to save a macro you
created under this tab, you can select the Macro Editor tab— your macro will appear in the
command buffer where you can save it.
Under the Macro Editor tab, you can create a macro independent of any specific devices, and save it
along with an execution context (device, device group or port) and execution roles. You can also
create user-defined variables under this tab, and use them in your macro. You cannot play a macro
from this interface, but you can save the macro and load it into the Macro Player interface at a later
time, or you can select the Macro Player tab—your macro will appear in the command buffer in the
Player interface, where you run it on a set of selected devices. Saved macros can also be run from
other areas of EPICenter, accessed through the EPICenter Tools menu or through right-click pop-up
menus available in a number of EPICenter applets.

Built-in Telnet Macros

EPICenter provides several Telnet macros that can be loaded into the Macro Player or Macro Editor.
These are:
Macro Name
Description
Disable LLDP
Disables LLDP on a user-specified port (runs the disable lldp port command). Can
be run by an administrator from the right-click pop-up menu when a port is selected in
the Component Tree.
Disable Port
Disables a user-specified port (runs the disable port command). Can be run by an
administrator from the right-click pop-up menu when a port is selected in the
Component Tree.
Enable LLDP
Enables LLDP on a user-specified port (runs the enable lldp port command. Can be
run by an administrator from the right-click pop-up menu when a port is selected in the
Component Tree.
Enable Port
Enables a user-specified port (runs the enable port command). Can be run by an
administrator from the right-click pop-up menu when a port is selected in the
Component Tree.
EPICenter Reference Guide
Using Telnet Macros
199

Advertisement

loading

This manual is also suitable for:

Epicenter 6.0