Specifications

2-349
Catalyst 4500 Se ries S wit ch C is co IO S C om mand R efer ence —Re lease I OS XE 3 .3.0 XO(1 5.1 (1)XO)
OL_28738 -01
Chapter 2 Cisco IOS Commands for the Catalyst 4500 Series Switches
macro auto execute (built-in function)
macro auto ex ecute (built- in function)
Use the macro auto execute configuration command to change built-in function default values or to map
user-defined triggers to built-in functions and to pass the parameter values. Use the no form of this
command to unmap the trigger.
macro auto execute event_trigger builtin shell_function [param name=val ues]
no macro auto execute event_trigger builtin shell_function [param name=values]
Syntax Description
Defaults Auto Smartports is disabled.
Command Modes Global configuration
event_trigger Defines mapping from an event trigger to a built-in macro.
Specify an event trigger:
CISCO_PH ONE_EV ENT
CISCO_SWITCH_EVENT
CISCO_ROU TER_E VENT
CISCO_WI RELESS _AP_E VENT
CISCO_WIRE LESS_LIGH TWEIGHT _AP_EVEN T
CISCO_DMP_EVENT
CISCO_IP VSC_EV ENT
WORD—Apply a user-defined event trigger.
shell_function Specifies a built-in macro name:
CISCO_PH ONE_AUTO _SMART PORT
(Optional) Specify the parameter values: $ACCESS_VLAN=(1) and
$VOICE_VLAN= (2).
CISCO_SW ITCH_AUTO _SMAR TPORT
(Optional) Specify the parameter values: $NATIVE_VLAN=(1).
CISCO_ROUTER_AUTO_SMARTPORT
(Optional) Specify the parameter values: $NATIVE_VLAN=(1).
CISCO_AP _AUTO_S MARTPORT
(Optional) Specify the parameter values: $NATIVE_VLAN=(1).
CISCO_LWAP_AUTO _SMART PORT
(Optional) Specify the parameter values: $ACCESS_VLAN=(1).
CISCO_DM P_AUTO_ SMARTPO RT
CISCO_IP _CAME RA_AUTO _SMARTP ORT
param name=value
(Optional) Specifies values for the parameters that are to be used in the
function body.