Smartport Commands
78-21075-01 Command Line Interface Reference Guide
•
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:
10-Apr-2011 16:11:33 %LINK-I-Up:
10-Apr-2011 16:11:33 %LINK-I-Up:
10-Apr-2011 16:11:33 %LINK-I-Up:
10-Apr-2011 16:11:33 %LINK-I-Up:
10-Apr-2011 16:11:33 %LINK-I-Up:
10-Apr-2011 16:11:33 %LINK-I-Up:
35.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.
Syntax
macro auto smartport
no macro auto smartport
Vlan 5
Vlan 6
Vlan 7
Vlan 8
Vlan 9
Vlan 10
35
Vlan 20
555