CHAPTER
12-1
Catalyst2950 and Catalyst2955 Switch Software Configuration Guide
78-11380-10
12
Configuring Smartports Macros
This chapter describes how to configure and apply Smartports macros on the Catalyst 2950 switch.
Note For complete syntax and usage information for the commands used in this chapter, refer to the command
reference for this release.
This chapter consists of these sections:
Understanding Smartports Macros, page 12-1
Configuring Smartports Macros, page 12-2
Displaying Smartports Macros, page 12-8

Understanding Smartports Macros

Smartports macros provide a convenient way to save and share common configurati ons . You can use
Smartports 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 Smartports macro is a set of CLI commands that you define. Smartports macros do not contain new
CLI commands; they are simply a group of existing CLI commands .
When you apply a Smartports macro on an interface, the CLI co mmands with in the macro are conf igured
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.
There are Cisco-default Smartports macros embedded in the switch software (se e Table 12-1). You can
display these macros and the commands they contain by using the show parser macro user EXEC
command.
Table12-1 Cisco-Default Smartports Macros
Macro Name1Description
cisco-global Use this global configuration macro to enable load balancing across VLANs, provide
rapid convergence of spanning-tree instances and to enable port error rec overy.
cisco-desktop Use this interface configuration macro for increased network security and reliability
when connecting a desktop device, such as a PC, to a s wit ch p ort .