Cisco Catalyst 4500 Series Configuration Manual page 503

Ios software configuration guide isco ios xe 3.9.0e and ios 15.2(5)ex
Hide thumbs Also See for Catalyst 4500 Series:
Table of Contents

Advertisement

Chapter 2
macro auto execute (remotely-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.
Syntax Description
trigger_name
url
Command Default
None
Command Modes
Global configuration
Command History
Release
12.2(54)SG
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 functions on every switch for each modification.
Triggering of the remotely defined function requires network connectivity to the URL, which is
accessed for each execution of the function.
Examples
The following 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
Command
macro auto device
macro auto execute (built-in
function)
macro auto execute
(user-defined function)
macro auto global processing
macro auto processing
macro auto execute trigger_name remote url
no macro auto execute trigger_name remote url
Specifies the trigger name.
Specifies the remotely-defined URL
Modification
This command was introduced on the Catalyst 4500 series switch.
Catalyst 4500 Series Switch Cisco IOS Command Reference—Release XE 3.9.xE and 15.2(5)Ex
Description
Simplifies changing the parameters for a built-in functions for a
device type.
Changes built-in function default values or to map user-defined
triggers to built-in functions, and to pass the parameter values.
Maps a trigger to a user-defined function.
Enables Auto Smartports on a switch.
Enable Auto SmartPorts macros on a specific interface.
macro auto execute (remotely-defined trigger)
2-463

Advertisement

Table of Contents
loading

Table of Contents