macro

Syntax

macro [ test | verbose ] { fileName.mac [ macroName [ arg ]* ] |
name macroName [ arg ]* }

Release Information

Command introduced before JunosE Release 7.1.0.

Description

Executes a macro file, which can consist of one or more macros. If you do not use the macroName option to specify a macro, the command searches in the specified macro file for a macro named start,” and returns an error if the “start” macro is not found. If you do not specify fileName.mac, you must specify name macroName; the command then searches only in local memory for a file called macroName.mac that contains the macroName macro. There is no no version.

Options

Mode

All modes

Related Documentation