Solved

Switch running 802.1x does not clear its MAC address table

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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

If your business is like most, chances are you still need to maintain a fax infrastructure for your staff. It’s hard to believe that a communication technology that was thriving in the mid-80s could still be an essential part of your team’s modern I…
Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

856 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