C H A P T E R
21-1
Catalyst 4500 Series Switch, Cisco IOS Software Configuration Guide - Cisco IOS XE 3.9.xE and IOS 15.2(5)Ex
21
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 21-1
•
Configuring SmartPort Macros, page 21-2
•
Displaying SmartPort Macros, page 21-12
•
Configuring Static SmartPort Macros, page 21-13
Note
For complete syntax and usage information for the switch commands used in this chapter, see the
Cisco IOS Command Reference Guides for the Catalyst 4500 Series Switch
If a command is not in the
Cisco Catalyst 4500 Series Switch Command Reference
, you can locate it in
the
Cisco IOS Master Command List, All Releases
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.
Cisco-default SmartPort macros are embedded in the switch software (see
). You can display
these macros and the commands they contain by using the
show parser macro
user EXEC command.
Summary of Contents for Catalyst 4500 Series
Page 2: ......
Page 4: ......
Page 2086: ...Index IN 46 Software Configuration Guide Release IOS XE 3 9 0E and IOS 15 2 5 E ...