01-26-2015 05:34 AM
I have a SG300 switch and there are smart port macros enabled on the user/phone ports, which is giving me a headache. On another SG300 switch, there are no smartport macro and things work as expected. I can define which VLAN is used for voice and the one which can be used as data, by using it as native VLAN. How do I disable this feature (cli, most preferably, if not, GUI) so I can set the VLANs as expected? VLAN 231 is used as data and 203 is used as Voice
Here's the messed config from my switch:
switch#sh run int gi4
interface gigabitethernet4
storm-control broadcast enable
storm-control broadcast level 10
storm-control include-multicast
port security max 10
port security mode max-addresses
port security discard trap 60
spanning-tree portfast
macro description "no_ip_phone_desktop | ip_phone_desktop"
switchport trunk allowed vlan add 231
!next command is internal.
macro auto smartport dynamic_type ip_phone_desktop
!
and how MAC address behaves on that port.
switch#sh mac address-table int gi4
Flags: I - Internal usage VLAN
Aging time is 300 sec
Vlan Mac Address Port Type
------------ --------------------- ---------- ----------
1 00:15:65:xx:xx:xx gi4 dynamic
231 00:15:65:xx:xx:xx gi4 dynamic
switch#
And on another switch, thins are as expected:
switch2#sh mac address-table interface gi22
Flags: I - Internal usage VLAN
Aging time is 300 sec
Vlan Mac Address Port Type
------------ --------------------- ---------- ----------
207 90:b1:1c:xx:xx:xx gi22 dynamic
switch2#
Regards,
Vitor
01-26-2015 07:30 AM
Hi Vitor,
If you do not wish to use smart port macro you can just run global configuration mode command "macro auto disabled", all ports should restart however you may want to save running config to startup and reboot.
I hope this helps,
Aleksandra
01-25-2016 08:47 AM
Do you know why i lost management after i issue the command? im having this problem and i am about to burn the switches
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide