A simple script to collect information about access-session on the switch.
- login to the switch
- collect all mac addresses from access-sessions
- check access-session for each mac address
- if there is FAIL in the dACL - collect info about this session:
- interface
- mac_address
- ip_address
- user_name
- method (mab|dot1x)
- vendor (for mab)
- Python3
- ISE
- Cisco IOS switch
Example:
- python check_access_sessions.py 10.10.10.10
- Created by Dmitry Golovach
- Web: https://dagolovachgolovach.com
- Twitter: @dagolovach
- LinkedIn: @dmitrygolovach
- feel free to contact me!