Smartport Commands
845 OL-32830-01 Command Line Interface Reference Guide
44
switch set type to switch
router set type to router
ap set type to access point
switchxxxxxx(config)#
macro auto processing type
ap enabled
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
smartport-type user-defined-macro-name
[
parameter-name value
[
parameter-name
value
[
parameter
-
name
value
]]]
no macro auto user smartport macro
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)).
•
user-defined-macro-name
—Specifies the user-defined macro name that
replaces the built-in Smartport macro.
•
parameter-name value
—Specifies the parameter name and its value in the
user-defined macro.
Default Configuration
parameter-name
value
—Parameter’s default value. For instance, if the parameter
is the native VLAN, the default value is the default native VLAN.
Command Mode
Global Configuration mode