44
845
switch
router
ap
switchxxxxxx(config)#
44.10 macro auto user smartport macro
The macro auto user smartport macro Global Configuration mode command links
user-defined Smartport macros to a Smartport type. This is done by replacing the
link to the built-in macro with the link to the user-defined macro. The no format of
the command returns the link to the default built-in Smartport macro.
Syntax
macro auto user smartport macro
parameter-name value
[
no macro auto user smartport macro
Parameters
•
smartport-type
host, ip_camera, ip_phone, ip_phone_desktop, switch, router or wireless
access point (ap)).
•
user-defined-macro-name
replaces the built-in Smartport macro.
•
parameter-name value
user-defined macro.
Default Configuration
value
parameter-name
is the native VLAN, the default value is the default native VLAN.
Command Mode
Global Configuration mode
set type to switch
set type to router
set type to access point
macro auto processing type ap enabled
smartport-type user-defined-macro-name
parameter-name value
[
smartport-type
—Smartport type (range: printer, desktop, guest, server,
—Specifies the user-defined macro name that
—Specifies the parameter name and its value in the
—Parameter's default value. For instance, if the parameter
OL-32830-01 Command Line Interface Reference Guide
Smartport Commands
parameter
name value
[
-
]]]