Practical Examples
You can use the macros in this section for configuring your system or as examples of useful macros you can build yourself.
Configuring Frame Relay
You can organize your macros in many different ways to suit your needs. The first sample macro in this section, ds1mac.mac, shows a typical method of organization. It consists of a number of related macros for configuring interfaces on CT1 and CE1 modules, as described in Table 7-4.
Some of the macros provide a single configuration function, like configuring the controller. These are invoked by other macros that are executable from the command line. A high-level macro invokes several of the executables, acting much like a script to provide greater functionality.
Table 7-4 Contents of ds1mac.mac
Table 7-5 lists the complete set of macros contained in ds1mac.mac. You can run the Help macro to list the other executable macros contained in ds1mac.mac. To configure Frame Relay on your system with ds1mac.mac, you can do one of the following:
In either case, to run the macros you must provide the required values described in the macros.
Table 7-5 ds1mac.mac
Configuring ATM Interfaces
The sample macro in Table 7-6 configures ATM interfaces based on the inputs you provide when prompted by the macro.
Table 7-6 Sample macro to configure ATM interfaces