Smartport Commands
OL-32830-01 Command Line Interface Reference Guide
846
44
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)#
macro auto user smartport macro
ip_phone_desktop
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
smartport-type
[
parameter-name value
[
parameter-name value
[
parameter-name value
]]]
no macro auto built-in parameters
smartport-type
Parameters
•
smartport-type
—Smartport type (range: printer, desktop, guest, server,
host, ip_camera, ip_phone, ip_phone_desktop, switch, router or wireless
access point (ap)).
Summary of Contents for 300 Series
Page 2: ......