![Cisco Small Business 300 1.1 Series Administration Manual Download Page 633](http://html.mh-extra.com/html/cisco/small-business-300-1-1-series/small-business-300-1-1-series_administration-manual_2609294633.webp)
Smartport Commands
78-20269-01 Command Line Interface Reference Guide
635
43
Default Configuration
parameter-name
value
—Parameter default value. For instance, if the parameter is
the voice VLAN, the default value is the default voice VLAN.
Command Mode
Interface Configuration mode (Ethernet Interface, Port Channel)
User Guidelines
A static type set by the command cannot be changed by a dynamic type.
Example
This example shows an attempt to set the Smartport type of port 1 to printer
(statically). The macro fails at line 10. The show parser macro name command is
run to display the contents of the macro printer in order to see which line failed.
console(conf)
interface
gi1
console(conf-if)#
macro auto smartport type
printer
30-May-2011 15:02:45 %AUTOSMARTPORT-E-FAILEDMACRO: Macro printer for auto smar
port type Printer on interface gi1 failed at command number 10
console(conf-if)#exit
console(conf-if)#
do show parser macro name
printer
Macro name : printer
Macro type : default interface
1. #macro description printer
2. #macro keywords $native_vlan
3. #
4. #macro key description: $native_vlan: The untag VLAN which will be configu
red on the port
5. #Default Values are
6. #$native_vlan = Default VLAN
7. #
8. #the port type cannot be detected automatically
9. #