Macro Auto Built-In Parameters - Cisco 300 Series Cli Manual

Stackable managed switches
Hide thumbs Also See for 300 Series:
Table of Contents

Advertisement

Smartport Commands
OL-32830-01 Command Line Interface Reference Guide
User Guidelines
The scope of each parameter is the macro in which it is defined, with the
exception of the parameter $voice_vlan, which is a global parameter and its value
is specified by the switch and cannot be defined in a macro.
The macros must be defined before linking them in this command.
Smartport macros must be disconnected from the Smartport type before
removing them (using the no version of this command).
To associate a Smartport type with a user-defined macros, you must have defined
a pair of macros: one to apply the configuration, and the other (anti macro) to
remove the configuration. The macros are paired by their name. The name of the
anti macro is the concatenation of no_ with the name of the corresponding macro.
Please refer to the Macro Command section for details about defining macro.
Example
To link the user-defined macro: my_ip_phone_desktop to the Smartport type:
ip_phone_desktop and provide values for its two parameters:
switchxxxxxx(config)#
my_ip_phone_desktop $p1 1 $p2 2

44.11 macro auto built-in parameters

The macro auto built-in parameters Global Configuration mode command
replaces the default Auto Smartport values of built-in Smartport macros. The no
format of the command returns to the default values.
Syntax
macro auto built-in parameters
parameter-name value
[
no macro auto built-in parameters
Parameters
smartport-type
host, ip_camera, ip_phone, ip_phone_desktop, switch, router or wireless
access point (ap)).
macro auto user smartport macro ip_phone_desktop
smartport-type
parameter-name value
[
smartport-type
—Smartport type (range: printer, desktop, guest, server,
parameter-name value
[
]]]
44
846

Advertisement

Table of Contents
loading

Table of Contents