website pop up marketing switchport port-security maximum
Cisco CCNA | CCNP Certification Training Site. Cisco tips and tools for exam success. logo video

switchport port-security maximum

Printer-Friendly Format

Command

Switchport Port-Security Maximum

Use

Sets the maximum number of mac addresses before a violation is triggered.

Syntax

Switch(config-if)#switchport port-security maximum <1-6272>

Example

In this example, the maximum mac addresses for int fa0/2 is set to 2 for SW3.

SW3#conf t
SW3(config-if)#int fa0/2
SW3(config-if)#switchport port-security maximum 2


Next, 2 new devices are connected to the port, which causes a violation. Here is the violation information.

SW3#show port-security int fa0/2
Port Security : Enabled
Port Status : Secure-shutdown
Violation Mode : Shutdown
Aging Time : 0 mins
Aging Type : Absolute
SecureStatic Address Aging : Disabled
Maximum MAC Addresses : 2
Total MAC Addresses : 0
Configured MAC Addresses : 0
Sticky MAC Addresses : 0
Last Source Address:Vlan : 1234.5678.489d:1
Security Violation Count : 1



Back to commands department




Printer-Friendly Format

This site and/or material is not sponsored by, endorsed by, or affiliated with Cisco Systems, Inc. and/or its affiliates. Cisco®, Cisco Systems®, CCDA™, CCNA™, CCDP™, CCNP™, CCIE™, or CCSI™ are trademarks or registered trademarks of Cisco Systems, Inc. and/or its affiliates in the United States and certain other countries.

Home | Search | Contact Us | Tell a Friend | Text Size

2006-2013 HowtoNetwork.net All Rights Reserved. Reproduction without permission prohibited.
Reality Press, Midsummer Court, 314 Midsummer Blvd.,Milton Keynes, MK92UB, UK

This site is powered by MemberGate Membership Site Software