Hot Downloads

Welcome, Guest
Username: Password: Remember me

TOPIC: Switchport port-security sticky

Switchport port-security sticky 6 years 7 months ago #33657

  • Nevins
  • Nevins's Avatar
  • Offline
  • Expert Member
  • Posts: 438
  • Thank you received: 9
  • Karma: 4
How does sticky learning know when to stop? Do you just leave sticky on until you've gained an entry from each machine then turn it off?

interface FastEthernet0/2
switchport mode access
switchport port-security
switchport port-security mac-address sticky
switchport port-security mac-address 0200.2222.2222


Logically would only expect to see 1 mac address if the switch only connected to one pc but it's very possible that a switch connects to a hub which connects to more than one mac address.
Useful Threads
================================
www.firewall.cx/forum/2-basic-concepts/3...e-resource-page.html
The administrator has disabled public write access.

Re: Switchport port-security sticky 6 years 7 months ago #33666

  • FlipRich
  • FlipRich's Avatar
  • Offline
  • Distinguished Member
  • Posts: 80
  • Karma: 0
By default, the maximum trusted MAC's on a port is one. You can adjust the maximum number of trusted MAC's per port with this command:

Switch(config-if)# switchport port-security maximum x

If you turn off sticky mac address filtering, you disable your port security.


Is this what you were asking about?
Rich
Network Engineer /CCNP, CCNA-S
Tallahassee, FL
The administrator has disabled public write access.

Re: Switchport port-security sticky 6 years 7 months ago #33667

  • Nevins
  • Nevins's Avatar
  • Offline
  • Expert Member
  • Posts: 438
  • Thank you received: 9
  • Karma: 4
Yep it makes sense too.
Useful Threads
================================
www.firewall.cx/forum/2-basic-concepts/3...e-resource-page.html
The administrator has disabled public write access.
Time to create page: 0.078 seconds

CCENT/CCNA

Cisco Routers

  • SSL WebVPN
  • Securing Routers
  • Policy Based Routing
  • Router on-a-Stick

VPN Security

  • Understand DMVPN
  • GRE/IPSec Configuration
  • Site-to-Site IPSec VPN
  • IPSec Modes

Cisco Help

  • VPN Client Windows 8
  • VPN Client Windows 7
  • CCP Display Problem
  • Cisco Support App.

Windows 2012

  • New Features
  • Licensing
  • Hyper-V / VDI
  • Install Hyper-V

Linux

  • File Permissions
  • Webmin
  • Groups - Users
  • Samba Setup