#########################
# useful commands:
#########################
disp mac-authentiation
disp connection #display online user information
term monitor + terminal debug + debug radius #debug radius
disp mac-authentication interface GigabitEthernet 1/0/1
disp mac-authentiation connection int gigabitEthernet 1/0/1

terminal monitor
terminal debugging
debugging radius all



#########################
# base settings
#########################


mac-authentication
mac-authentication timer offline-detect 28800
mac-authentication domain mynac-mac

radius scheme mynac
primary authentication 192.168.2.99
key authentication cipher $asdfkljasdlfkjasdklfjasdf==
user-name-format without-domain
nas-ip 192.168.2.199

domain mynac-mac
authentication lan-access radius-scheme mynac
authorization lan-access radius-scheme mynac

#pro port
interface GigabitEthernet1/0/1
mac-authentication
mac-authentication max-user 2
mac-authentication re-authenticate server-unreachable keep-online

#remove port from mac authentication
interface GigabitEthernet1/0/1
undo mac-authentication

#remove port from macauthentication
interface range GigabitEthernet 2/0/1 to GigabitEthernet 2/0/48
undo mac-authentication

computer2know :: thank you for your visit :: have a nice day :: © 2022