interface GigabitEthernet0/4
switchport access vlan 100
switchport mode access
switchport nonegotiate
switchport port-security maximum 4
switchport port-security violation restrict
switchport port-security aging time 60
switchport port-security aging type inactivity
switchport port-security
no keepalive
end
TEST_SW#sh spanning-tree blockedports
Name Blocked Interfaces List
-------------------- ------------------------------------
VLAN0100 Gi0/4
Number of blocked ports (segments) in the system : 1
Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.
”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.
Our community of experts have been thoroughly vetted for their expertise and industry experience.