22-6
Catalyst 4500 Series Switch, Cisco IOS Software Configuration Guide - Cisco IOS XE 3.9.xE and IOS 15.2(5)Ex
 
Chapter 22      Configuring Cisco IOS Auto Smartport Macros
Configuring Auto Smartport Macros
• To detect non-Cisco devices for 802.1X authentication or MAB, configure the RADIUS server to 
support the Cisco AV pair auto-smart-port=event trigger. You must configure a user-defined 
trigger with the value returned in the AV pair for auto-smart-port.
• For stationary devices that do not support CDP, MAB, or 802.1X authentication, such as network 
printers, we recommend that you disable Auto Smartport on the port.
• If authentication is enabled on a port, the switch ignores CDP unless the fallback cdp keyword is 
in the macro auto global processing global configuration command.
• The order of CLI commands within the macro and the corresponding antimacro can differ.
• Before converting a port into an Layer 3 interface, enter the no macro auto processing command. 
This prevents Auto Smartport from applying macros on the interface. If Layer 3 is already 
configured, enter the no macro auto processing command on the Layer 3 interface enable Auto 
Smartport globally.
• Auto Smartport macros and Smartport cannot coexist on an interface.
• A switch applies a macro in accordance with the LLDP advertisement from the attached device. If 
the device does not identify itself properly, the wrong macro is applied. Consult the specific device 
documentation to ensure the device's firmware is current.
• The LWAP’s WLC software version must be 6.0.188 ( => Cisco IOS 12.4(21a)JA2) or later to make 
it detectable as LWAP by AutoSmartport.
• As of Cisco IOS Release 12.2(54)SG, Auto Smartport does not support macros that apply 
EtherChannel configurations. Interfaces that belong to EtherChannel groups are treated as standard 
interfaces. You can apply macros on individual interfaces based on the device type but the CLIs in 
the macro (for example, auto-QoS) might conflict with an EtherChannel configuration. We 
recommend that you disable Auto Smartport on interfaces belonging to EtherChannels before you 
enable Auto Smartport globally. If Auto Smartport is already enabled, disable Auto Smartport on 
the interfaces before configuring EtherChannel.
Configuring Auto Smartport Built-in Macro Parameters
The switch automatically maps from built-in event triggers to built-in macros. You can replace the 
built-in macro default values with values that are specific to your switch.
To configure Auto Smartport built-in macros parameters, perform this task:
Command Purpose
Step 1
Switch# configure terminal
Enters global configuration mode.