257
Cisco Systems, Inc. www.cisco.com
Configuring Smartports Macros
Information About Configuring Smartports Macros
Smartports macros provide a convenient way to save and share common configurations. 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 to 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.
How to Configure Smartports Macros
Default Smartports Settings
There are no Smartports macros enabled on the switch.
Table 31 Default Smartports Macros
Macro Name
1
Description
Global Configuration Macros
cisco-cg-global Use this global configuration macro to configure the switch settings for the industrial Ethernet
environment. This macro is automatically applied when you use Express Setup to initially
configure the switch.
Note: You must first apply the cisco-cg-global macro for the interface configuration macros to
work properly.
cisco-cg-password Use this global configuration macro to configure the password settings for the switch.
no-cisco-cg-password Use the no form of this global configuration macro to delete the macro from the switch.
cisco-sniffer Use this global configuration macro to configure SPAN functionality to analyze traffic on another
port of the switch.
no-cisco-sniffer Use the no form of this global configuration macro to delete the macro from the interface.
Interface Configuration Macros
cisco-ethernetip Use this interface configuration macro when connecting the switch to an EtherNet IP device.
Note: You must first apply the cisco-ie-global macro for the cisco-ethernetip macro to work
properly.
no-cisco-ethernetip Use the no form of this global configuration macro to delete the macro from the interface.