Macro Auto Built-In Parameters - Cisco Small Business 300 1.1 Series Administration Manual

Managed switch
Table of Contents

Advertisement

Smartport Commands
78-20269-01 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
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:
console(conf)#macro auto user smartport macro ip_phone_desktop
my_ip_phone_desktop $p1 1 $p2 2

43.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
—Parameter's default value. For instance, if the parameter
smartport-type
parameter-name value
[
smartport-type
[
parameter-name value
]]]
43
640

Advertisement

Table of Contents
loading

Table of Contents