[Contents] [Prev] [Next] [Index] [Report an Error]

## Writing CLI Macros

An E-series router has an embedded macro language that enables you to define and run macros that can generate and execute CLI commands. Macro files—identified by the .mac extension—can be used to store more than one macro. Depending on your needs, you might want to store all of your macros in one file, group macros by function, or store only one macro per file.

This chapter contains the following sections:

- Platform Considerations
- Writing Macros
- Detecting and Recording Macro Errors
- Running Macros
- Scheduling Macros
- Practical Examples

[Contents] [Prev] [Next] [Index] [Report an Error]