Smartport Commands
Cisco Sx350 Ph. 2.2.5 Devices - Command Line Interface Reference Guide 1074
55
switchxxxxxx#
show macro auto ports
Smartport is enabled
Administrative Globally Auto Smartport is disabled
Operational Globally Auto Smartport is disabled
Example 3—Disabling auto SmartPort on
gi1
2:
switchxxxxxx(config)#
interface
gi12
switchxxxxxx(config-if)#
no macro auto smartport
switchxxxxxx(config-if)#
end
switchxxxxxx#
show macro auto ports
gi12
SmartPort is Enabled
Administrative Globally Auto SmartPort is controlled
Operational Globally Auto SmartPort is enabled
Auto SmartPort is disabled on gi12
Persistent state is not-persistent
Interface type is default
No macro has been activated
Example 4—Enabling auto Smartport on
gi1
1:
switchxxxxxx(config)#
interface
gi11
switchxxxxxx(config-if)#
macro auto smartport
Interface
-----------
gi11
gi12
gi13
gi14
Auto Smartport
Admin State
--------------
disabled
disabled
enabled
enabled
Persistent
State
----------
enabled
enabled
disabled
enabled
Smartport Type
--------------
router(stati
c)
switch
default
phone