free hit counter

Macro Commands; Macro Name - Cisco 300 Series Cli Manual

Small business 300 series managed switches command line interface guide release 1.3
Hide thumbs Also See for 300 Series:
Table of Contents

Advertisement

Macro Commands

78-21075-01 Command Line Interface Reference Guide
3.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
Commands). 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
[macro-name]
no 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
Macros may contain keywords (parameters). The following describes keywords:
3
(Smartport
54

Advertisement

Table of Contents
loading