Macro Auto Execute (Remotely-Defined Trigger) - Cisco Catalyst 4500 Series Command Reference Manual

Cisco ios command reference
Hide thumbs Also See for Catalyst 4500 Series:
Table of Contents

Advertisement

Chapter 2
Cisco IOS Commands for the Catalyst 4500 Series Switches

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
Defaults
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
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
Command
macro auto device
macro auto execute (built-in
function)
macro auto execute
(user-defined function)
macro auto global processing
macro auto processing
OL-25342 -01
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 IOS XE 3.3.0SG and IOS 15.1(1)SG)
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-415

Advertisement

Table of Contents
loading

Table of Contents