Configuring Smartports Macros
How to Configure Smartports Macros
Table 31
Default Smartports Macros (continued)
1
Macro Name
Global Configuration Macros
cisco-ie-router
cisco-ie-switch
cisco-ie-wireless
1.
Cisco-default Smartports macros vary, depending on the software version running on your switch.
Smartports Configuration Guidelines
When a macro is applied globally to a switch or to a switch interface, all of the existing configurations on the interface
are retained. This is helpful when applying an incremental configuration.
If a command fails because of a syntax or a configuration error, the macro continues to apply the remaining
commands. You can use the macro global trace macro-name global configuration command or the macro trace
macro-name interface configuration command to apply and debug a macro to find any syntax or configuration
errors.
Some CLI commands are specific to certain interface types. If you apply a macro to an interface that does not accept
the configuration, the macro fails the syntax or the configuration check, and the switch returns an error message.
Applying a macro to an interface range is the same as applying a macro to a single interface. When you use an
interface range, the macro is applied sequentially to each interface within the range. If a macro command fails on
one interface, it is still applied to the remaining interfaces.
When you apply a macro to a switch or a switch interface, the macro name is automatically added to the switch or
interface. You can display the applied commands and macro names by using the show running-config user EXEC
command.
Applying Smartports Macros
Command
1.
show parser macro
2.
show parser macro name macro-name
3.
configure terminal
Description
Use this interface configuration macro when connecting the switch and a WAN router. This macro
is optimized for industrial automation traffic.
Use this interface configuration macro when connecting an access switch and a distribution
switch or between access switches connected using small form-factor pluggable (SFP)
modules. This macro is optimized for industrial automation traffic.
Use this interface configuration macro when connecting the switch and a wireless access point.
This macro is optimized for industrial automation traffic.
Purpose
Displays the Cisco-default Smartports macros embedded in the switch
software.
Displays the specific macro that you want to apply.
Enters global configuration mode.
259