Cisco Systems ME3400G2CSA Switch User Manual


 
CHAPTER
10-1
Cisco ME 3400 Ethernet Access Switch Software Configuration Guide
78-17058-01
10
Configuring Command Macros
This chapter describes how to configure and apply command macros on the Cisco 3400 ME switch.
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 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.
Cisco provides a collection of pretested, Cisco-recommended baseline configuration templates for Cisco
ME switches. The online reference guide templates provide the CLI commands that you can use to create
command macros based on the usage of the port. You can use the configuration templates to create
command macros to build and deploy Cisco-recommended network designs and configurations. For
more information about Cisco-recommended configuration templates, see this website:
http://www.cisco.com/go/smartports