Smartport Commands
OL-32830-01 Command Line Interface Reference Guide 836
44
If the Auto Smartport Administrative state is controlled, the Auto Smartport
Operational state is managed by the Voice VLAN manager and is set as follows:
• Auto Smartport Operational state is disabled when the OUI Voice VLAN is
enabled.
• Auto Smartport Operational state is enabled when the Auto Voice VLAN is
enabled.
A user cannot enable Auto Smartport globally if the OUI Voice VLAN is enabled.
Example
This example shows an attempt to enable the Auto Smartport feature globally in
the controlled mode. This is not possible because the OUI voice feature is
enabled. The voice VLAN state is then disabled, after which Auto Smartports can
be enabled. The appropriate VLANs are automatically enabled because the ports
are configured for Auto Smartports on these VLANs.
switchxxxxxx(config)#
macro auto controlled
switchxxxxxx(config)#
macro auto enabled
Auto smartports cannot be enabled because OUI voice is enabled.
switchxxxxxx(config)#
voice vlan state disabled
switchxxxxxx(config)#
macro auto enabled
switchxxxxxx(config)#
10-Apr-2011 16:11:31 %LINK-I-Up: Vlan 20
10-Apr-2011 16:11:33 %LINK-I-Up: Vlan 5
10-Apr-2011 16:11:33 %LINK-I-Up: Vlan 6
10-Apr-2011 16:11:33 %LINK-I-Up: Vlan 7
10-Apr-2011 16:11:33 %LINK-I-Up: Vlan 8
10-Apr-2011 16:11:33 %LINK-I-Up: Vlan 9
10-Apr-2011 16:11:33 %LINK-I-Up: Vlan 10
44.2 macro auto smartport (Interface)
The macro auto smartport Interface Configuration mode command enables the
Auto Smartport feature on a given interface. The no format of the command
disables the feature on the interface.