14-9
Catalyst 3750-X and 3560-X Switch Software Configuration Guide
OL-21521-01
Chapter 14 Configuring Auto Smartports Macros Configuring Auto Smartports
Configuring Auto Smartports Built-In Macro Options
Use this procedure to map event triggers to built-in macros and to replace the built-in macro default
parameter values with values that are specific to your switch. If you need to replace default parameters
values in a macro, use the macro auto device global configuration command. All commands in this
procedure are optional.
Beginning in privileged EXEC mode:
Command Purpose
Step 1 configure terminal Enter global configuration mode.
Step 2 macro auto execute event trigger
builtin built-in macro name
[parameter=value] [parameter=value]
Define mapping from an event trigger to a built-in macro.
Specify an event trigger:
CISCO_DMP_EVENT
CISCO_IPVSC_EVENT
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.
Specify a builtin built-in macro name:
Enter new values in the form of name value pair separated by a space:
[<name1>=<value1> <name2>=<value2>...]. Default values are shown
exactly as they should be entered.
CISCO_DMP_AUTO_SMARTPORT
Specify the parameter values: ACCESS_VLAN=1.
CISCO_IPVSC_AUTO_SMARTPORT
Specify the parameter values: ACCESS_VLAN=1.
CISCO_PHONE_AUTO_SMARTPORT
Specify the parameter values: ACCESS_VLAN=1 and
VOICE_VL AN=2.
CISCO_SWITCH_AUTO_SMARTPORT
Specify the parameter values: NATIVE_VLAN=1.
CISCO_ROUTER_AUTO_SMARTPORT
Specify the parameter values: NATIVE_VLAN=1.
CISCO_AP_AUTO_SMARTPORT
Specify the parameter values: NATIVE_VLAN=1.
CISCO_LWAP_AUTO_SMARTPORT
Specify the parameter values: ACCESS_VLAN=1.