Smartport Commands
OL-32830-01 Command Line Interface Reference Guide
Example 3—Disabling auto SmartPort on gi 1 2:
switchxxxxxx(config)#
switchxxxxxx(config-if)#
switchxxxxxx(config-if)#
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 gi 1 1:
switchxxxxxx(config)#
switchxxxxxx(config-if)#
switchxxxxxx(config-if)#
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.
interface gi12
no macro auto smartport
end
interface gi11
macro auto smartport
end
44
852