2-432
Catalyst 4500 Series Switch Cisco IOS Command Reference—Release IOS XE 3.4.0SG and IOS 15.1(2)SG)
OL-27596 -01
Chapter 2 Cisco IOS Commands for the Catalyst 4500 Series Switches
macro auto device
macro auto device
Use the macro auto device command to simplify changing the parameters for a built-in functions for a
device type. Use the no form of this command to revert to the intial parameter values.
macro auto device device_type [params values]
no macro auto device device_type [params values]
Syntax Description
Command Modes Global configuration
Command History
Usage Guidelines Although you can use the macro auto execute command to produce the same effect as the
macro auto device command, the later is simpler.
Examples This example shows how to change the access VLAN and voice VLAN from their default value to user
defined values for phone devices.
(config)# macro auto device phone ACCESS_VLAN=10 VOICE_VLAN=20
Related Commands
device_type
Specifies the device type.
• phone—Apply interface configs on detecting a phone
• switch—Apply interface configs on detecting a switch
• router—Apply interface configs on detecting a router
• ap—Apply interface configs on detecting an ap
• lwap—Apply interface configs on detecting a light weight ap
• dmp—Apply interface configs on detecting a DMP
• ipvsc—Apply interface configs on detecting a IPVSC
param name=value
(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.
Release Modification
12.2(54)SG This command was introduced on the Catalyst 4500 series switch.
Command Description
macro auto execute (built-in
function)
Changes built-in function default values or to map user-defined
triggers to built-in functions, and to pass the parameter values.
macro auto execute
(remotely-defined trigger)
Maps a trigger to a remotely defined functions.