![Cisco Sx350 Cli Manual Download Page 1070](http://html.mh-extra.com/html/cisco/sx350/sx350_cli-manual_26093201070.webp)
Smartport Commands
1069
Cisco Sx350 Ph. 2.2.5 Devices - Command Line Interface Reference Guide
55
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
display the contents of the macro printer in order to see which line failed.
switchxxxxxx(config)#
interface
gi11
switchxxxxxx(config-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 gi11 failed at command number 10
switchxxxxxx(config-if)#
exit
switchxxxxxx(config)#
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. #
10. switchport mode access
11. switchport access vlan $native_vlan
12. #
13. #single host
14. port security max 1
15. port security mode max-addresses
Summary of Contents for Sx350
Page 1: ...Cisco Sx350 Ph 2 2 5 Devices Command Line Interface Reference Guide CLI GUIDE ...
Page 26: ...25 Cisco Sx350 Ph 2 2 5 Devices Command Line Interface Reference Guide 1 ...
Page 237: ...CDP Commands Cisco Sx350 Ph 2 2 5 Devices Command Line Interface Reference Guide 236 8 ...
Page 975: ...RADIUS Commands Cisco Sx350 Ph 2 2 5 Devices Command Line Interface Reference Guide 974 48 ...