Specifications

2-352
Catalyst 4500 Series Switch Cisco IOS Command Reference—Release IOS XE 3.3.0XO(15.1(1)XO)
OL_28738 -01
Chapter 2 Cisco IOS Commands for the Catalyst 4500 Series Switches
macro auto execute (remotely-defined trigger)
macro auto execute (remot ely-defined trigger )
Use the macro auto execute configuration command to map a trigger to a remotely defined function.
Use the no form of this command to unmap the trigger.
macro auto execute trigger_name remote url
no macro auto execute trigger_name remote url
Syntax Description
Defaults N one
Command Modes Global c onfiguratio n
Usage Guidelines
This command enables you to store shell functions in a central location and utilized by ASP on many
switches. This alleviates the problem of updating fu nctions on every switch for each m odification.
Triggering of the remotely defined function requires network connectivity to the URL, which is
accessed for each execution of the function.
Examples This example shows how to map a trigger to the remotely defined function myfunction - the filename
that contains the function body:
Switch(config)# macro auto execute mytrigger remote tftp://dirt/tftpboot/myfunction
Related Commands
trigger_name Specifies the trigger name.
url Specifies the remotely-defined URL
Command Des cription
macro auto device Simplifies changing the parameters for a built-in functions for a
device type.
macro auto execute (built-in
function)
Changes built-in function default values or to map user-defined
triggers to built-in functions, and to pass the parameter values.
macro auto execute
(user-defined function)
Maps a trigger to a user-defined function.
macro auto global processing Enables Auto Smartports on a switch.
macro auto processing Enable Auto SmartPorts macros on a specific interface.
macro auto sticky Specifies not to remove configurations applied by ASP across link
flaps and device removal.
shell trigger Create a user defined trigger.