Jump to content

Recommended Posts

Posted

Пытаюсь подружить TACACS+ и SNR-2990G-24FX-UPS.

SNR с новой прошивкой и BootRom.

Спойлер

SNR-S2990G-24FX#sh ver
  SNR-S2990G-24FX Device, Compiled on Jul 20 12:25:38 2017
  SoftWare Version 7.0.3.5(R0102.0237)
  BootRom Version 7.1.41
  HardWare Version 1.0.2-UPS

 

Настройки аутентификации на SNR следующие:

 

Цитата

enable password level 15 0 ***
no authentication logging enable
!
username *** privilege 15 password 0 ***
!
authentication line vty login tacacs local
authentication enable tacacs local
authorization line vty exec tacacs local
authorization line vty command 15 tacacs local
accounting line vty exec start-stop tacacs
accounting line vty command 15 start-stop tacacs

Аутентификация на SNR проходит с указанными в TACACS логинами, логи в файл пишутся. Но при этом пользователь с привилегиями администратора авторизуется как простой юзер и не работает Enable-режим(пишет, что пароль неверный).

Спойлер

login:testuser
Password:*****
SNR-S2990G-24FX>en
Password:
Password:
Password:
% Bad enable passwords, too many failures!
SNR-S2990G-24FX>

 

Конфиг файла tacacs.conf:

 

Цитата

 

key = "12345"

accounting file = /var/log/tac_acct.log

user = testuser {
login = cleartext "23456"
member = neteng
}

 

user = $enable$ {
login = cleartext "34567"
}

group = neteng {
default service = permit

service = exec {

priv-lvl = 15

}
}

 

Подозреваю, что проблема со стороны сервера и моих не самых прямых рук. В конфиге TACACS  пробовал массу различных параметров, но работающий конфиг так сделать и не смог.

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...