22-13
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
Displaying Auto Smartport
Table 22-5 lists the shell keywords that are not supported in macros and antimacros.
Displaying Auto Smartport
To display the Auto Smartport and static Smartport macros, use one or more of the privileged EXEC 
commands in Table 22-6.
This example shows how to use the show macro auto monitor device privileged EXEC command with 
the optional mac-address keyword to view summary information about the connected device with the 
specified MAC address:
Switch# show macro auto monitor device mac-address 001f.9e90.1250
MAC_Address       Port_Id     Profile Name
==============    =======     ============================
001f.9e90.1250    Gi1/0/4    Cisco-AP-Aironet-1130
==========================================================
This example shows how to use the show macro auto monitor type privileged EXEC command with 
no optional keywords to view the devices recognized by the device classifier:
Table 22-5 Unsupported Cisco IOS Shell Reserved Keywords
Command Description
| Pipeline.
case Conditional construct.
esac Conditional construct.
for Looping construct.
function Shell function.
in Conditional construct.
select Conditional construct.
time Pipeline.
until Looping construct.
while Looping construct.
Table 22-6 Commands for Displaying Auto Smartport and Static Smartport Macros
Command Purpose
show macro auto monitor clients
Displays the clients using the device classifier facility on the switch.
show macro auto monitor device
Displays the devices connected to a switch and their associated 
properties.
show macro auto monitor type
Displays all the device types recognized by the device classifier.
show parser macro
Displays all static Smartport macros.
show parser macro name macro-name
Displays a specific static Smartport macro.
show parser macro brief
Displays the static Smartport macro names.
show parser macro description [interface 
interface-id]
Displays the static Smartport macro description for all interfaces or 
for a specified interface.
show shell
Displays information about Auto Smartport event triggers and macros.