EasyManuals Logo
Home>Cisco>Switch>300 Series

Cisco 300 Series User Manual

Cisco 300 Series
1117 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #685 background imageLoading...
Page #685 background image
32
OL-32830-01 Command Line Interface Reference Guide 685
Macro Commands
32.0
32.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.
Keywords

Table of Contents

Other manuals for Cisco 300 Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Cisco 300 Series and is the answer not in the manual?

Cisco 300 Series Specifications

General IconGeneral
BrandCisco
Model300 Series
CategorySwitch
LanguageEnglish

Related product manuals