12-5
Catalyst 3560 Switch Software Configuration Guide
OL-8553-06
Chapter 12 Configuring Auto Smartports Macros
Configuring Auto Smartports
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_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:
CISCO_PHONE_AUTO_SMARTPORT
(Optional) Specify the parameter values: $ACCESS_VLAN=(1) and
$VOICE_VLAN=(2).
CISCO_SWITCH_AUTO_SMARTPORT
(Optional) Specify the parameter values: $NATIVE_VLAN=(1).
CISCO_ROUTER_AUTO_SMARTPORT
(Optional) Specify the parameter values: $NATIVE_VLAN=(1).
CISCO_AP_AUTO_SMARTPORT
(Optional) Specify the parameter values: $NATIVE_VLAN=(1).
CISCO_LWAP_AUTO_SMARTPORT
(Optional) Specify the parameter values: $ACCESS_VLAN=(1).
CISCO_DOT1X_DESKTOP_AUTO_SMARTPORT
(Optional) Specify the parameter values: $ACCESS_VLAN=(1).
CISCO_DOT1X_EASY_AUTO_SMARTPORT
(Optional) Specify the parameter values: $ACCESS_VLAN=(1).
CISCO_DOT1X_MAB_GUEST_AUTO_SMARTPORT
(Optional) Specify the parameter values: $ACCESS_VLAN=(1).
CISCO_DOT1X_MAB_TIMEOUT_AUTO_SMARTPORT
(Optional) Specify the parameter values: $ACCESS_VLAN=(1).
CISCO_DOT1X_AUTH_FAIL_AUTO_SMARTPORT
(Optional) Specify the parameter values: $ACCESS_VLAN=(1).
CISCO_DOT1X_CRITICAL_AUTO_SMARTPORT
(Optional) Specify the parameter values: $CRITICAL_VLAN=(1).
(Optional) parameter=value—Replace default values that begin with $.
Enter new values in the form of name value pair separated by a space:
[<name1>=<value1> <name2>=<value2>...]. Default values are shown in
parenthesis.
Step 3 end Return to privileged EXEC mode.
Step 4 show running-config Verify your entries.
Step 5 copy running-config startup-config (Optional) Save your entries in the configuration file.
Command Purpose