C H A P T E R
10-1
Cisco ME 3400 Ethernet Access Switch Software Configuration Guide
OL-9639-07
10
Configuring Command Macros
This chapter describes how to configure and apply command macros on the Cisco ME 3400 switch.
Note
For complete syntax and usage information for the commands used in this chapter, see the command
reference
for this release.
•
Understanding Command Macros, page 10-1
•
Configuring Command Macros, page 10-1
•
Displaying Command Macros, page 10-5
Understanding Command Macros
Command macros provide a convenient way to save and share common configurations. You can use
command macros to enable features and settings based on the location of a switch in the network and for
mass configuration deployments across the network.
Each command macro is a set of command-line interface (CLI) commands that you define. Command
macros do not contain new CLI commands; they are simply a group of existing CLI commands.
When you apply a command macro on an interface, the CLI commands within the macro are configured
on the interface. When the macro is applied to an interface, the existing interface configurations are not
lost. The new commands are added to the interface and are saved in the running configuration file.
Configuring Command Macros
You can create a new command macro or use an existing macro as a template to create a new macro that
is specific to your application. After you create the macro, you can apply it globally to a switch, to a
switch interface, or to a range of interfaces.
•
Default Command Macro Configuration, page 10-2
•
Command Macro Configuration Guidelines, page 10-2
•
Creating Command Macros, page 10-3
•
Applying Command Macros, page 10-4
•
Displaying Command Macros, page 10-5
Содержание ME 3400 Series
Страница 40: ...Contents xl Cisco ME 3400 Ethernet Access Switch Software Configuration Guide OL 9639 07 ...
Страница 44: ...xliv Cisco ME 3400 Ethernet Access Switch Software Configuration Guide OL 9639 07 Preface ...
Страница 1138: ...Index IN 52 Cisco ME 3400 Ethernet Access Switch Software Configuration Guide OL 9639 07 ...