Smartport Commands
1071 Cisco Sx350 Ph. 2.2.5 Devices - Command Line Interface Reference Guide
55
If only
interface-id
is defined then the corresponding attached Smartport macro is
executed if the interface has one of the following Smartport types: switch, router
or wireless access point (ap).
If a Smartport macro contains configuration commands that are no longer current
on one or more interfaces, you can update their configuration by reapplying the
Smartport macro on the interfaces.
Example
Adds the ports of Smartport type switch to all existing VLANs by running the
associated Smartport macros.
switchxxxxxx(config)#
macro auto trunk refresh
switch
55.11 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.