Cisco Systems 4500 Switch User Manual


  Open as PDF
of 1504
 
CHAPTER
16-1
Software Configuration Guide—Release 15.0(2)SG
OL-23818-01
16
Configuring SmartPort Macros
This chapter describes how to configure and apply SmartPort and Static SmartPort macros on your
switch. This chapter consists of these sections:
About SmartPort Macros and Static SmartPort, page 16-1
Configuring SmartPort Macros, page 16-2
Displaying SmartPort Macros, page 16-14
Configuring Static SmartPort Macros, page 16-14
Note For complete syntax and usage information for the switch commands used in this chapter, look at the
Cisco Catalyst 4500 Series Switch Command Reference and related publications at this location:
http://www.cisco.com/en/US/products/hw/switches/ps4324/index.html
If the command is not found in the Catalyst 4500 Command Reference, it is located in the larger Cisco
IOS library. Refer to the Cisco IOS Command Reference and related publications at this location:
http://www.cisco.com/en/US/products/ps6350/index.html
About SmartPort Macros and Static SmartPort
SmartPort macros provide a convenient way to save and share common configurations. Use SmartPort
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 SmartPort macro is a set of CLI commands that you define. SmartPort macro sets do not contain
new CLI commands; each SmartPort macro is a group of existing CLI commands.
When you apply a SmartPort macro on an interface, the CLI commands contained 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 interface and are saved in the running
configuration file.
In addition to SmartPort macros, static SmartPort macros provide port configuration that you manually
apply based on the device connected to the port. When you apply a static SmartPort macro the CLI
commands within the macro are added to the existing port configuration. When there is a link-down
event on the port, the switch does not remove the static macro.