14-17
Catalyst 3750-X and 3560-X Switch Software Configuration Guide
OL-21521-01
Chapter 14 Configuring Auto Smartports Macros Configuring Static Smartports Macros
Configuring Static Smartports Macros
Default Static Smartports Configuration, page 14-17
Static Smartports Configuration Guidelines, page 14-17
Applying Static Smartports Macros, page 14-18

Default Static Smartports Configuration

There are no static Smartports macros enabled on the switch.

Static Smartports Configuration Guidelines

When a macro is applied globally to a switch or to a switch interface, all existing configuration on
the interface is 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.
until Looping construct.
while Looping construct.
Table 14-3 Unsupported Cisco IOS Shell Reserved Keywords (continued)
Command Description
Tab le 14-4 Default Static Smartports Macros
Macro Name1
1. Cisco-default Smartports macros vary, depending on the software version running on your switch.
Description
cisco-global Use this global configuration macro to enable rapid PVST+, loop guard, and dynamic port error recovery
for link state failures.
cisco-desktop Use this interface configuration macro for increased network security and reliability when connecting a
desktop device, such as a PC, to a switch port.
cisco-phone Use this interface configuration macro when connecting a desktop device such as a PC with a Cisco IP
Phone to a switch port. This macro is an extension of the cisco-desktop macro and provides the same
security and resiliency features, but with the addition of dedicated voice VLANs to ensure proper
treatment of delay-sensitive voice traffic.
cisco-switch Use this interface configuration macro when connecting an access switch and a distribution switch or
between access switches connected by using small form-factor pluggable (SFP) modules.
cisco-router Use this interface configuration macro when connecting the switch and a WAN router.
cisco-wireless Use this interface configuration macro when connecting the switch and a wireless access point.