Solved

Switch running 802.1x does not clear its MAC address table

Posted on 2015-01-30
3
213 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
  • 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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
capture pcap with filtered traffic 1 62
Line cards, Supervisor, Control plane 7 37
Cisco 5508 controller parsing error 4 62
Looking for open port with Telnet 5 60
ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
When it comes to security, there are always trade-offs between security and convenience/ease of administration. This article examines some of the main pros and cons of using key authentication vs password authentication for hosting an SFTP server.
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

773 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