We are thinking of adding MAC security to our user ports on our Catalyst 6500 stacks.
As a test I’ve tried to switch on Mac Security for one port Gi7/46. I’m receiving couple of errors when trying to add security which are related to setting the port to ‘nonnegotiate’
I’ve copied the errors below. Can you tell me what I would need to do to switch on MAC security?
!
interface GigabitEthernet7/46
description DGX02
switchport
switchport access vlan 160
switchport voice vlan 155
no ip address
mls qos trust dscp
spanning-tree portfast
spanning-tree bpduguard enable
!
Mars#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Mars(config)#inter gi7/46
Mars(config-if)#sw
Mars(config-if)#switchport port
Mars(config-if)#switchport port-security
GigabitEthernet7/46 is dynamic port. port-security parameters cannot be set.
Use the command 'switchport nonegotiate' to force the port to non dynamic.
Mars(config-if)#sw
Mars(config-if)#switchport non
Mars(config-if)#switchport nonegotiate
Command rejected: Conflict between 'nonegotiate' and 'dynamic' status.
Mars(config-if)#
As a test I’ve tried to switch on Mac Security for one port Gi7/46. I’m receiving couple of errors when trying to add security which are related to setting the port to ‘nonnegotiate’
I’ve copied the errors below. Can you tell me what I would need to do to switch on MAC security?
!
interface GigabitEthernet7/46
description DGX02
switchport
switchport access vlan 160
switchport voice vlan 155
no ip address
mls qos trust dscp
spanning-tree portfast
spanning-tree bpduguard enable
!
Mars#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Mars(config)#inter gi7/46
Mars(config-if)#sw
Mars(config-if)#switchport port
Mars(config-if)#switchport port-security
GigabitEthernet7/46 is dynamic port. port-security parameters cannot be set.
Use the command 'switchport nonegotiate' to force the port to non dynamic.
Mars(config-if)#sw
Mars(config-if)#switchport non
Mars(config-if)#switchport nonegotiate
Command rejected: Conflict between 'nonegotiate' and 'dynamic' status.
Mars(config-if)#