Jump to content

Recommended Posts

Posted (edited)

Добрый день, коллеги!

Имею данную железку и сейчас пытаюсь настроить централизованную авторизацию на девайсах.

Возникла проблема следующего характера:

Тестирую ситуацию, когда связь с сервером нарушена, но создана учетная запись в секции aaa "local-user <username> password **** privilege level 2".
Возможности указать тип сервиса нет.

В учётную запись входит и тут же выкидывает.
Кто-то сталкивался? Как решается?

[aaa]
  <aaa>
aaa
 authentication-scheme "default"
 authentication-scheme "hw-auth"
  authentication-mode hwtacacs local
 #
 authorization-scheme "default"
 authorization-scheme "hw-auth"
  authorization-mode  hwtacacs  local
 #
 accounting-scheme "default"
 accounting-scheme "hw-auth"
  accounting-mode hwtacacs  
  accounting interim interval 1
 #
 domain "default"
 domain "auth"
  authentication-scheme "hw-auth"
  authorization-scheme "hw-auth"
  accounting-scheme "hw-auth"
  hwtacacs-server "hw-login"         
 #
 local-user "superuser@auth" password "PT`8GWBLS/^aC[JaaF#*AA!!"
 local-user "superuser@auth" privilege level 1

[hwtacacs]
  <hwtacacs>
hwtacacs-server template "hw-login"
 hwtacacs-server authentication *.*.*.*
 hwtacacs-server authorization *.*.*.*
 hwtacacs-server accounting *.*.*.*
 hwtacacs-server shared-key "%:T"+EYJ"8%Z*%:/MJK8WE!!!B#A8&)VAB']]F;U$19'2_1!!%"
 undo hwtacacs-server user-name domain-included


UPD: Сам отвечу на свой вопрос.

При указании accouting-mode hwtacacs коммутатор пытается положить лог на сервер и ему даёт отлуп.
Решилось указанием режима none.

Edited by Den4ikArgv

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...