Show Macro Auto Ports - Cisco Sx350 Cli Manual

Hide thumbs Also See for Sx350:
Table of Contents

Advertisement

Smartport Commands
Cisco Sx350 Ph. 2.2.5 Devices - Command Line Interface Reference Guide
Default Configuration
value
parameter-name
is the native VLAN, the default value is the default native VLAN.
Command Mode
Global Configuration mode
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)#
my_ip_phone_desktop $p1 1 $p2 2

55.12 show macro auto ports

The show macro auto ports EXEC mode command displays information about all
Smartport ports or a specific one. If a macro was run on the port and it failed, the
type of the port is displayed as Unknown.
Syntax
show macro auto ports [
—Parameter's default value. For instance, if the parameter
macro auto user smartport macro ip_phone_desktop
interface-id
| detailed]
55
1072

Advertisement

Table of Contents
loading

Table of Contents