Cisco Catalyst 4500 Series Configuration Manual page 498

Ios software configuration guide isco ios xe 3.9.0e and ios 15.2(5)ex
Hide thumbs Also See for Catalyst 4500 Series:
Table of Contents

Advertisement

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.
Syntax Description
device_type
param name=value
Command Modes
Global configuration
Command History
Release
12.2(54)SG
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
The following 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
Command
macro auto execute (built-in
function)
macro auto execute
(remotely-defined trigger)
Catalyst 4500 Series Switch Cisco IOS Command Reference—Release XE 3.9.xE and 15.2(5)Ex
2-458
macro auto device device_type [params values]
no macro auto device device_type [params values]
Specifies the device type.
(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.
Modification
This command was introduced on the Catalyst 4500 series switch.
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
Description
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 remotely defined functions.
Chapter 2

Advertisement

Table of Contents
loading

Table of Contents