Solved

Switch running 802.1x does not clear its MAC address table

Posted on 2015-01-30
3
221 Views
Last Modified: 2015-03-11
Hi,

I have a stack of switches that are running dot1x

description Dot1X Enabled
 switchport mode access
 switchport voice vlan 10
 switchport port-security aging time 1
 switchport port-security aging type inactivity
 authentication event fail action authorize vlan 1
 authentication event server dead action authorize vlan 1
 authentication event server alive action reinitialize 
 authentication host-mode multi-domain
 authentication order dot1x mab
 authentication priority dot1x mab
 authentication port-control auto
 authentication periodic
 authentication timer reauthenticate server
 authentication violation replace
 mab
 mls qos trust dscp
 dot1x pae authenticator
 dot1x timeout tx-period 3
 spanning-tree portfast
 spanning-tree bpduguard enable

Open in new window


if the device authenticates using MAB, then even after it has been disconencted the MAC address still stays in the MAC address table

DP1-West#sh mac address-table int g1/0/33
          Mac Address Table
-------------------------------------------

Vlan    Mac Address       Type        Ports
----    -----------       --------    -----
   1    9c93.4e55.3135    STATIC      Gi1/0/33 
Total Mac Addresses for this criterion: 1
DP1-West#

DP1-West#sh int g1/0/33    
GigabitEthernet1/0/33 is down, line protocol is down (notconnect) 
  Hardware is Gigabit Ethernet, address is 34db.fd2e.6d21 (bia 34db.fd2e.6d21)
  Description: Dot1X Enabled
  MTU 1500 bytes, BW 1000000 Kbit/sec, DLY 10 usec, 
     reliability 255/255, txload 1/255, rxload 1/255

Open in new window


this is stopping devices working and I can see no way to remove the mac address from the table, there is no "clear mac address-table static command.

Cisco IOS Software, C2960X Software (C2960X-UNIVERSALK9-M), Version 15.0(2)EX5, RELEASE SOFTWARE (fc1)
cisco WS-C2960X-48FPD-L (APM86XXX) processor (revision A0) with 524288K bytes of memory

Any ideas where this is going wrong as it means that the first time we attach a decvice it will work. but after that the port will never work for another device of if the device moves to another port. I dove have "allow mac move" enabled global.
0
Comment
Question by:Aaron Street
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 3

Accepted Solution

by:
Stephen Berk earned 500 total points
ID: 40581068
0
 
LVL 16

Author Comment

by:Aaron Street
ID: 40581860
Hi,

good spot. But actually this was applied after the issue had been happening so is no the cause. I got a suggestion from someone else saying to enable port-security timeout.

this happens to be the only port on the switch with this config applied, typical that its the one I used to copy the config from.

Cheers
0
 
LVL 16

Author Closing Comment

by:Aaron Street
ID: 40658384
In the end it was an issue with portchannels and IOS version, all fixed now
0

Featured Post

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Cisco 3650 switch licensing 6 75
Outlook PST (cloud) backup 3 82
http response code 3 36
Reconfigure Corporate IP Address Scheme 2 56
PRTG Network Monitor lets you monitor your bandwidth usage, so you know who is using up your bandwidth, and what they're using it for.
I had an issue with InstallShield not being able to use Computer Browser service on Windows Server 2012. Here is the solution I found.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

737 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question