Macro Auto Built-In Parameters - Cisco 300 Series Cli Manual

Small business 300 series managed switches command line interface guide release 1.3
Hide thumbs Also See for 300 Series:
Table of Contents

Advertisement

Smartport Commands
78-21075-01 Command Line Interface Reference Guide
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)#macro auto user smartport macro ip_phone_desktop
my_ip_phone_desktop $p1 1 $p2 2

35.11 macro auto built-in parameters

The macro auto built-in parameters Global Configuration mode command
replaces the default Auto Smartport values of built-in Smartport macros. The no
format of the command returns to the default values.
Syntax
macro auto built-in parameters
parameter-name value
[
no macro auto built-in parameters
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)).
parameter-name value—Specifies the parameter name and its value. These
are the parameters of the built-in or user-defined macro defined in
auto user smartport
Default Configuration
The default value of parameter $native_vlan of the built-in Smartport macros is 1.
For other parameters, the default value is the parameter's default value. For
instance, if the parameter is the native VLAN, the default value is the default native
VLAN.
smartport-type
parameter-name value
[
smartport-type
macro.
parameter-name value
[
]]]
35
macro
565

Advertisement

Table of Contents
loading

Table of Contents