Smartport
Macro Failure and the Reset Operation
Cisco 500 Series Stackable Managed Switch Administration Guide 218
12
 
- Else the corresponding anti-macro is applied and the interfaces status is 
set to Default.
Macro Failure and the Reset Operation
A Smartport macro might fail if there is a conflict between the existing 
configuration of the interface and a Smartport macro.
When a Smartport macro fails, a SYSLOG message containing the following 
parameters is sent:
• Port number
• Smartport type
• The line number of the failed CLI command in the macro
When a Smartport macro fails on an interface, the status of the interface is set to 
Unknown. The reason for the failure can be displayed in the Interface Settings 
page, Show Diagnostics popup. 
After the source of the problem is determined and the existing configuration or 
Smartport macro is corrected, you must perform a reset operation to reset the 
interface before it can be reapplied with a Smartport type (in the Interface 
Settings pages). See the workflow area in Common Smartport Tasks section for 
troubleshooting tips.
How the Smartport Feature Works
You can apply a Smartport macro to an interface by the macro name, or by the 
Smartport type associated with the macro. Applying a Smartport macro by macro 
name can be done only through the CLI, you should refer to the CLI guide for 
details.
Because support is provided for Smartport types which correspond to devices 
that do not allow themselves to be discovered via CDP and/or LLDP, these 
Smartport types must be statically assigned to the desired interfaces. This can be 
done by navigating to the Smartport Interface Settings page, selecting the radio 
button of the desired interface, and clicking Edit. Then, select the Smartport type 
you want to assign and adjust the parameters as necessary before clicking Apply.