本帖最后由 Rocky 于 2017-8-27 22:38 编辑 aaa new-model
radius-server/tacacs-server host 182.23.153.5 auth-port 1812 acct-port 1813 key test
//首先radius/tacacs认证,连不上服务器则用本地的认证
aaa authentication login first group radius/tacacs+ local
//直接本地认证
aaa authentication login second local enable
//console口直接本地认证
line con 0
login authentication second
//telnet用radius/tacacs认证
line vty 0 4
login authentication first
来源
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Rockyw | If it solves your problem, please mark as answer. Thanks !