that any traffic destined for the VR can reach the VR; typically, you configure the FTP
server to reach the default address of the system, which will always be able to reach
the VR.
•
You can specify both a macro filename and a macro contained within that file. For
example, the following command looks for the file
confatm.mac
and runs the macro
named
atm0verDs3
contained within the file:
host1(config)#
macro confatm.mac atm0verDs3
•
You can specify only a macro filename. The command searches in the specified file
for a macro named
start
. The command fails if the
start
macro does not exist. For
example, the following command looks for the file
confatm.mac
and runs the macro
named
start
contained within the file:
host1(config)#
macro confatm.mac
•
You can specify only the macro name, using the
name
keyword, if the macro file is
stored locally in NVS and has the same name as the included macro you want to invoke.
For example, the following command looks for the file
confatm.mac
and runs the macro
named
confatm
contained within the file:
host1(config)#
macro name confatm
•
You must specify a macro filename for remotely stored macro files, as in the following
example:
host1(config)#
macro pc:/macros.mac atm0verDs3
•
You can pass arguments to the macro; if the argument contains a space or other special
character, you must enclose the argument within double quotation marks.
•
Use the
test
keyword to specify that the macro generate, but not execute, the
commands. You can look at the output to verify that it is what you want. The test mode
is verbose and displays comments.
•
Use the
verbose
keyword to echo commands to the display and display comments as
the macro executes. By default the command executes in nonverbose mode.
•
There is no
no
version.
•
See macro.
Example
A typical macro application is to iteratively generate a series of commands, as shown in
the following macro,
atm0verDs3
:
<# atmOverDs3 #>
<# i:=0; while i++ < 3 #>
controller t3 9/<#i;'\n'#>
no shut
clock source internal module
framing cbitadm
ds3-scramble
!
interface atm 9/<#i;'\n'#>
atm vc-per-vp 256
!
<# endwhile #>
!
Copyright © 2010, Juniper Networks, Inc.
482
JunosE 11.3.x System Basics Configuration Guide
Summary of Contents for JUNOSE 11.3
Page 6: ...Copyright 2010 Juniper Networks Inc vi...
Page 8: ...Copyright 2010 Juniper Networks Inc viii JunosE 11 3 x System Basics Configuration Guide...
Page 24: ...Copyright 2010 Juniper Networks Inc xxiv JunosE 11 3 x System Basics Configuration Guide...
Page 32: ...Copyright 2010 Juniper Networks Inc 2 JunosE 11 3 x System Basics Configuration Guide...
Page 146: ...Copyright 2010 Juniper Networks Inc 116 JunosE 11 3 x System Basics Configuration Guide...
Page 166: ...Copyright 2010 Juniper Networks Inc 136 JunosE 11 3 x System Basics Configuration Guide...
Page 432: ...Copyright 2010 Juniper Networks Inc 402 JunosE 11 3 x System Basics Configuration Guide...
Page 488: ...Copyright 2010 Juniper Networks Inc 458 JunosE 11 3 x System Basics Configuration Guide...
Page 524: ...Copyright 2010 Juniper Networks Inc 494 JunosE 11 3 x System Basics Configuration Guide...
Page 554: ...Copyright 2010 Juniper Networks Inc 524 JunosE 11 3 x System Basics Configuration Guide...
Page 566: ...Copyright 2010 Juniper Networks Inc 536 JunosE 11 3 x System Basics Configuration Guide...
Page 588: ...Copyright 2010 Juniper Networks Inc 558 JunosE 11 3 x System Basics Configuration Guide...
Page 613: ...PART 3 Index Index on page 585 583 Copyright 2010 Juniper Networks Inc...
Page 614: ...Copyright 2010 Juniper Networks Inc 584 JunosE 11 3 x System Basics Configuration Guide...
Page 632: ...Copyright 2010 Juniper Networks Inc 602 JunosE 11 3 x System Basics Configuration Guide...