cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2253
Views
5
Helpful
2
Replies

How to remove COMPLETELY on interface configuration

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

2 Replies 2

Aleksandra Dargiel
Cisco Employee
Cisco Employee

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

Do you know why i lost management after i issue the command?  im having this problem and i am about to burn the switches

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Switch products supported in this community
Cisco Business Product Family
  • CBS110
  • CBS220
  • CBS250
  • CBS350
Cisco Switching Product Family
  • 110
  • 200
  • 220
  • 250
  • 300
  • 350
  • 350X
  • 550X