19-13
Software Configuration Guide—Release IOS XE 3.3.0SG and IOS 15.1(1)SG
OL-25340-01
Chapter 19 Configuring Cisco IOS Auto Smartport Macros
Displaying Auto Smartport
Table 19-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 19-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 19-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 19-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.