cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to delete a netlogin / multiauth session an a port via cli?

Is it possible to delete a netlogin / multiauth session an a port via cli?

ar1
Contributor
Hello,
we use MAC and 802.1X authentication with EXOS and EOS switches and sometimes I need to delete a netlogin / multiauth session on a switchport via cli
example:
the "show netlogin session ports" or "show multiauth session ports" showes me an entry like:
Port : 2:22 Station address : 84:2b:2b:12:34:56
Auth status : success Last attempt : Thu Dec 13 14:44:33 2018
Agent type : dot1x Session applied : true
Server type : radius VLAN-Tunnel-Attr : None
Policy index : 4 Policy name : Test (active)
Session timeout : 0 Session duration : 0:29:38
Idle timeout : 0 Idle time : 0:00:00
Auth-Override : disabled Termination time : Not Terminated

I can use to delete the active session with XMS/Policy but not inactive sessions.
If a user connect different systems to his phone and remov the system the entry will not be deleted and automatic reauthentication (i.e. every 30 minutes) is no option in our network.

And when I connected via console at the switch it would be helpfull to delete an entry via cli.

Any suggestions?

Regards,
Axel
1 ACCEPTED SOLUTION

Tomasz
Valued Contributor II
Hi Axel,

I didn't think of it recently, but maybe you would like those commands for EXOS:
  • clear netlogin state mac-address
  • clear netlogin state port
  • clear netlogin state agent port [dot1x | mac | web-based]
Hope that helps,
Tomasz

View solution in original post

2 REPLIES 2

ar1
Contributor
Hi Tomasz,

thanks a lot.
"clear netlogin state mac-address" looks like working well.

Thanks a lot,
Axel

Tomasz
Valued Contributor II
Hi Axel,

I didn't think of it recently, but maybe you would like those commands for EXOS:
  • clear netlogin state mac-address
  • clear netlogin state port
  • clear netlogin state agent port [dot1x | mac | web-based]
Hope that helps,
Tomasz
GTM-P2G8KFN