Basic configuration
aaa new-model
aaa authentication login default local group radius
radius-server host x.x.x.x auth-port 1812 acct-port 1813
You can also try running debug radius authentication to help identify any issues.
VTY lines
There is no need for anything on the vty lines. You can set
login authentication
Key
There is no need to setup a key, but you can set one as a best practice
radius-server key 0 thisismykey
Other useful commands are as follow -
ip radius source-interface
Debugging
If you are connected to your device via telnet and you have turned on radius authentication debugging, type terminal monitor at priv exec mode:
hostname#terminal monitor
this will redirect the debug (log) messages to your vty session. Once you have done this, start another session and try to authenticate, but do not use the username letmein as you have chosen to do local auth first and radius second, letmein is defined in the local database. Try a username that is not defined locally but is instead configured on your radius server and then watch for the output on the screen to get a clue as to why it is failing.
Citation - This blog post does not reflect original content from the author. Rather it summarizes content that are relevant to the topic from different sources in the web. The sources might include any online discussion boards, forums, websites and others.
No comments :
Post a Comment