From a command prompt (or a script) I'd like to be able to query the wired interface to determine if it has succesfully established an 802.1X connection, or if it has fallen back to unauthenticated access or not.
I am doing 802.1X testing in a lab environment and need a way to automate validation of successful 802.1X connectivity.
UPDATE: To be clear, I'm referring to 802.1X (dot 1 x), not wireless 802.11. Also, 802.1X is often used over wired ethernet connections (as well as wireless).
Also, for more detail on using 802.1X in wired environments, SANS has a great whitepaper discussing it: http://www.sans.org/reading-room/whitepapers/authentication/implementing-ieee-8021x-wired-networks-34520
