10-05-2022 06:08 AM
Hi,
After configuring the port security on the interface and run
Switch1#show port-security interface Te1/0/1
Port Security : Disabled
Port Status : Secure-down
Violation Mode : Restrict
Aging Time : 2 mins
Aging Type : Absolute
SecureStatic Address Aging : Disabled
Maximum MAC Addresses : 1
Total MAC Addresses : 1
Configured MAC Addresses : 0
Sticky MAC Addresses : 1
Last Source Address:Vlan : 0000.0000.0000:0
Security Violation Count : 0
It shows the port security is disabled! did I miss the global enabling of port security on C9400, if so how to enable globally
Solved! Go to Solution.
10-05-2022 07:15 AM - edited 10-05-2022 07:16 AM
@Serpent2010 you need to explictly enable port security under the interface, as @NetworkDave stated.
interface gigabitethernet 1/0/1
switchport port-security
10-05-2022 06:55 AM
Serpent2010,
SW1(config)#interface Te1/0/1
SW1(config-if)#switchport mode access
SW1(config-if)#switchport port-security
----------------------------------------------------------------------------------------------------
Remember to mark helpful posts and mark the correct answer as a solution; It helps other users with similar questions.
10-05-2022 06:56 AM
can i see config?
10-05-2022 07:09 AM
switchport access vlan 3219
switchport mode access
switchport voice vlan 2020
switchport port-security mac-address sticky
switchport port-security mac-address sticky F8B1.322B.234E vlan access
switchport port-security maximum 1 vlan access
switchport port-security violation restrict
switchport port-security aging time 2
spanning-tree portfast
snmp trap link-status
10-05-2022 07:15 AM - edited 10-05-2022 07:16 AM
@Serpent2010 you need to explictly enable port security under the interface, as @NetworkDave stated.
interface gigabitethernet 1/0/1
switchport port-security
10-05-2022 07:17 AM
it des work!
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