CHAPTER
10-1
Cisco ME 3400 EthernetAccess Switch SoftwareConfiguration Guide
78-17058-01
10
Configuring Command Macros
This chapter describes how to configure and apply command macros o n th e Cisc o 3400 M E swi tch.
Note For complete syntax and usage information for the commands used in this chapter, see the command
reference for this release.
This chapter consists of these sections:
Understanding Command Macros, page 10-1
Configuring Command Macros, page 10-2
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 co nfigured
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.
Cisco provides a collection of pretested, Cisco-recommended baseline configuration te mplates for Cisco
ME switches. The online reference guide templates provide the CLI commands that you ca n use to create
command macros based on the usage of the port. You can use the configuration tem pla tes t o cre ate
command macros to build and deploy Cisco-recommended network de signs a nd co nfigurati on s. For
more information about Cisco-recommended configuration templates, see this website:
http://www.cisco.com/go/smartports