04-12-2019 08:11 PM
I want to enable SPAN port on the SG300-288PP switch, However, when I tied to enable SPAN, I get the following error message but I don't have Port Security configure neither the source interface (Gi4) nor the destination interface (GI24). Is this a bug on the version? Or I have other ports configured with Port Security feature. Is this a problem?
===Error
SQM-SG300(config)#int gi24
SQM-SG300(config-if)#port monitor gi4
Port gi24: Lock port Dynamic Enable prevents executing Copy Port Enable
===SPAN source Interface
SQM-SG300#show run int gi4
interface gigabitethernet4
storm-control broadcast enable
storm-control broadcast level 10
storm-control include-multicast
spanning-tree portfast
macro description ip_phone
switchport trunk allowed vlan add 150
!next command is internal.
macro auto smartport dynamic_type ip_phone
!
===SPAN destination Interface
SQM-SG300#show run int gi24
interface gigabitethernet24
storm-control broadcast enable
storm-control broadcast level 10
storm-control include-multicast
spanning-tree portfast
macro description ip_phone
switchport trunk allowed vlan add 150
===Other port
interface gigabitethernet1
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 ip_phone
switchport trunk allowed vlan add 150
!next command is internal.
macro auto smartport dynamic_type ip_phone
===Version
SQM-SG300(config-if)#do show version
SW version 1.4.8.6 ( date 10-Jul-2017 time 17:14:12 )
Boot version 1.3.5.06 ( date 21-Jul-2013 time 15:12:10 )
HW version V03
04-12-2019 08:27 PM
04-12-2019 08:45 PM
Update:
I tried the followings but no luck. Now I have a feeling this version or model doesn't support the SPAN. Anyone configure SPAN on SG300-28PP?
1. I removed all port security confng from all ports
2. I removed all config on the destination port gi24
3. However, I still get the same error "Lock port Dynamic Enable prevents executing Copy Port Enable"
interface gigabitethernet24
no spanning-tree portfast
!
SQM-SG300(config-if)#port monitor gi4
Port gi24: Lock port Dynamic Enable prevents executing Copy Port Enable
04-12-2019 09:34 PM
Disable macro auto smartport under the interface. i.e. "no macro auto smartport"
04-13-2019 09:11 AM
Thank you for the suggestion. Still doesn't work... I am not sure what I can do next.
==Source Port
interface gigabitethernet4
switchport trunk allowed vlan add 150
no macro auto smartport
==Destination port
interface gigabitethernet24
no spanning-tree portfast
==Error
SQM-SG300(config)#int gi24
SQM-SG300(config-if)#port monitor GigabitEthernet 4
Port gi24: Lock port Dynamic Enable prevents executing Copy Port Enable
04-13-2019 10:08 AM
Hi @tnakano03 ,
Could you share the full result of the command show interface giga 24 and show interface giga 4?
Regards
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