Macro Auto User Smartport Macro - Cisco Sx350 Cli Manual

Hide thumbs Also See for Sx350:
Table of Contents

Advertisement

55
1071
interface-id
If only
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)#

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
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.
macro auto trunk refresh switch
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
Cisco Sx350 Ph. 2.2.5 Devices - Command Line Interface Reference Guide
Smartport Commands
parameter
name value
[
-
]]]

Advertisement

Table of Contents
loading

Table of Contents