Smartport Commands
OL-32830-01 Command Line Interface Reference Guide 852
44
Example 3—Disabling auto SmartPort on gi12:
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 gi11:
switchxxxxxx(config)#
interface
gi11
switchxxxxxx(config-if)#
macro auto smartport
switchxxxxxx(config-if)#
end
switchxxxxxx#
show macro auto ports
gi11
SmartPort is Enabled
Administrative Globally Auto SmartPort is enabled
Operational Globally Auto SmartPort is enabled
Auto SmartPort is enabled on gi11
Persistent state is persistent
Interface type is switch
Last activated macro is switch
44.15 smartport switchport trunk allowed vlan
The smartport switchport trunk allowed vlan Interface Configuration (Ethernet,
port-channel) mode command adds/removes VLANs to/from a trunk port.