17-13
Software Configuration Guide—Release 15.0(2)SG
OL-23818-01
Chapter 17 Configuring Auto SmartPort Macros Displaying Auto SmartPorts
Displaying Auto SmartPorts
To display the Auto SmartPorts and static SmartPorts macros, use one or more of the privileged EXEC
commands in Table 17- 6 .
This example shows how to use the show shell triggers privileged EXEC command to view the event
triggers in the switch software:
Switch# show shell triggers
User defined triggers
---------------------
Built-in triggers
-----------------
Trigger Id: CISCO_PHONE_EVENT
Trigger description: Event for ip-phone macro
Trigger environment: ACCESS_VLAN=1 VOICE_VLAN=2
Trigger mapping function: CISCO_PHONE_AUTO_SMARTPORT
Trigger Id: CISCO_ROUTER_EVENT
Trigger description: Event for router macro
Trigger environment: NATIVE_VLAN=1
Trigger mapping function: CISCO_ROUTER_AUTO_SMARTPORT
Trigger Id: CISCO_SWITCH_EVENT
Trigger description: Event for switch macro
Trigger environment: NATIVE_VLAN=1
Trigger mapping function: CISCO_SWITCH_AUTO_SMARTPORT
Trigger Id: CISCO_WIRELESS_AP_EVENT
Trigger description: Event for Wireless Access Point macro
Trigger environment: NATIVE_VLAN=1
Trigger mapping function: CISCO_AP_AUTO_SMARTPORT
Trigger Id: CISCO_WIRELESS_LIGHTWEIGHT_AP_EVENT
Trigger description: Event for Wireless Lightweight Access Point macro
Trigger environment: NATIVE_VLAN=1
Trigger mapping function: CISCO_LWAP_AUTO_SMARTPORT
This example shows how to use the show shell functions pri vileged EXEC command to vie w the built -in
macros in the switch software:
Switch# show shell functions
#User defined functions:
#Built-in functions:
Table 17-6 Commands for Displaying Auto SmartPorts and Static SmartPorts Macros
Command Purpose
show parser macro Displays all static SmartPorts macros.
show parser macro name macro-name Displays a specific static SmartPorts macro.
show parser macro brief Displays the static SmartPorts macro names.
show parser macro description [interface
interface-id]Displays the static SmartPorts macro description for all interfaces or
for a specified interface.
show shell Displays information about Auto SmartPorts event triggers and
macros.