
38
Cisco Sx350 Ph. 2.2.5 Devices - Command Line Interface Reference Guide
803
Macro Commands
38.0
38.1 macro name
Use the macro name Global Configuration mode command to define a macro.
There are two types of macros that can be defined:
•
Global macros define a group of CLI commands that can be run at any time.
•
Smartport macros are associated with Smartport types. For each
Smartport macro there must be an anti macro (a macro whose name is
concatenated with no_). The anti macro reverses the action of the macro.
If a macro with this name already exists, it overrides the previously-defined one.
Use the no form of this command to delete the macro definition.
Syntax
macro name
macro-name
no macro name [
macro-name
]
Parameters
•
macro-name
—Name of the macro. Macro names are case sensitive.
Default Configuration
N/A
Command Mode
Global Configuration mode
User Guidelines
A macro is a script that contains CLI commands and is assigned a name by the
user. It can contain up to 3000 characters and 200 lines.
Summary of Contents for Sx350
Page 1: ...Cisco Sx350 Ph 2 2 5 Devices Command Line Interface Reference Guide CLI GUIDE ...
Page 26: ...25 Cisco Sx350 Ph 2 2 5 Devices Command Line Interface Reference Guide 1 ...
Page 237: ...CDP Commands Cisco Sx350 Ph 2 2 5 Devices Command Line Interface Reference Guide 236 8 ...
Page 975: ...RADIUS Commands Cisco Sx350 Ph 2 2 5 Devices Command Line Interface Reference Guide 974 48 ...