Macro Commands; Macro Name - Cisco Small Business 300 1.1 Series Administration Manual

Managed switch
Table of Contents

Advertisement

Macro Commands

3
Macro Commands
78-20269-01 Command Line Interface Reference Guide
3.1

macro name

There are two types of macros that can be created with the macro name Global
Configuration mode command:
Global macros are macros that are simple a group of CLI commands that
can be used at any time.
Smartport macros are associated with Smartport types (see
"Smartport Commands"
macro that concatenates no_ with the name of the Smartport macro.
If a macro by the name you assign, already exists, this macro overrides the
previously-defined one.
Use the no form of this command to delete the macro definition.
Syntax
[macro-name]
macro name
[macro-name]
no macro name
Parameters
macro-name—Name of the macro. Macro names are case sensitive.
Default Configuration
The command has no default setting.
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.
A macro can contain up to three keywords/parameters. A keyword is a name
prefixed with a '$' character, for example, $a_keyword. The keywords in the
macro's CLI commands are substituted with the values specified when you invoke
the macro by using the macro apply/trace and macro global apply/trace CLI
commands.
). For each Smartport macro there must be an anti
3
Section 43
50

Advertisement

Table of Contents
loading

Table of Contents