Macro commands, Macro name, 3 macro commands – Dell PowerEdge VRTX User Manual

Page 73

Advertising
background image

Template Last Updated - 2/7/2007

Macro Commands

73

D E LL CO N F I D E N T IA L – P R E L I M I N A RY 4 / 3 / 14 - F O R PR O O F O N LY

5

Macro Commands

macro name

Use the macro name Global Configuration mode command to define a

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.
Global macros define a group of CLI commands that can be run at any time

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
Macros may contain keywords (parameters). The following describes

keywords:

• A macro can contain up to three keywords.
• All matching occurrences of the keyword are replaced by the corresponding

value specified in the

macro command.

Advertising