Macro - Juniper JUNOSE SOFTWARE FOR E SERIES 11.3.X - COMMAND REFERENCE A TO M 2010-10-19 Command Reference Manual

Software for e series broadband services routers command reference a to m
Table of Contents

Advertisement

JunosE 11.3.x Command Reference Guide A to M

macro

Syntax
Release Information
Description
Options
Mode
1256
macro [ test | verbose ] { fileName.mac [ macroName [ arg ]* ] |
name macroName [ arg ]* }
Command introduced before JunosE Release 7.1.0.
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.
test—Displays the output of the macro without issuing the commands to the router,
and displays comments
verbose—Echoes each command as the macro executes and displays comments
fileName—Name of the file containing the macro; requires the .mac extension
macroName—Name of a macro within the macro file
arg—Zero or more arguments passed to the macro; if the argument contains a space
or other special character, the argument must be enclosed within double quotation
marks
*—Indicates that one or more parameters can be repeated multiple times in a list in
the command line
All modes
Copyright © 2010, Juniper Networks, Inc.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Junose 11.3

Table of Contents