Browsed by
Tag: 认证

cisco设备添加Radius/Tacacs+ 认证

cisco设备添加Radius/Tacacs+ 认证

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