2-335
Catalyst 3750 Switch Command Reference
OL-8552-07
Chapter 2 Catalyst 3750 Switch Cisco IOS Commands
macro auto execute
macro auto execute
Use the macro auto execute global configuration command to replace built-in macro default values, and
to configure mapping from an event trigger to a built-in or user-defined Auto Smartports macro.
macro auto execute event trigger {[builtin built-in macro name [parameter=value]] |
[[parameter=value] { function contents }]}
no macro auto execute event trigger {[builtin built-in macro name [parameter=value]] |
[[parameter=value] { function contents }]}
Note Beginning with Cisco IOS Release 12.2(50)SE, the macro auto execute command replaces the macro
name command. Though not visible in the command line, the macro name command is still active. The
command will become obsolete in a future Cisco IOS software release.
Syntax Description event trigger Define mapping from an event trigger to a built-in macro.
Specify an event trigger:
• CISCO_PHONE_EVENT
• CISCO_SWITCH_EVENT
• CISCO_ROUTER_EVENT
• CISCO_WIRELESS_AP_EVENT
• CISCO_WIRELESS_LIGHTWEIGHT_AP_EVENT
• WORD—Apply a user-defined event trigger.