Scripts and Macros
Scripts and macros are intended to reduce the management of static interfaces. Because dynamic interfaces have static lower layers, you can use scripts and macros to configure the static portion of all dynamic interfaces.
A script or macro can specify the static interface by using the interface, auto-configure, subscriber, or profile commands. These commands enable you to configure the interface as dynamic and to specify configuration sources for the dynamic upper layers. These files can then be executed by the router as though the commands were entered at the terminal.
- Scripts—You can create script files containing a series of CLI commands. The resulting script can be executed via the configure file command.
- Macros—You can create macros that generate and execute
CLI commands. You first write macros on a computer and then copy them
to the router. You issue the macro command
from the CLI to execute both local macros or macros stored remotely.
The macro command is available from all command modes. See chapter Writing CLI Macros in JunosE System Basics Configuration Guide.

Note: For a list of vendor-specific attributes (VSAs) that apply to dynamic interfaces, see JunosE Broadband Access Configuration Guide.
Hide Navigation Pane
Show Navigation Pane
SHA1