取消
显示结果 
搜索替代 
您的意思是: 
cancel
455
查看次数
0
有帮助
1
回复

关于c2960x交换机配置tacacs问题

xiaoAI
Level 1
Level 1

大佬们,我有一台2960系列交换机,配置tacacs的时候发现不能配置key这是为什么呢,这是我的配置命令“tacacs-server host 192.168.1.1 key test@123”   会在key的后面报错

xiaoAI_0-1749199490413.png

下面是交换机的型号、版本、镜像等信息

xiaoAI_1-1749199551137.png

 

1 条回复1

ilay
VIP
VIP

这个命令在稍低的版本配置是没有问题的。高版本不建议再使用此命令配置,思科推荐使用命名的方式配置tacacs或radius

配置示例:

aaa group server tacacs+
 server name <Server1_name>
 server name <Server2_name> 
! 
tacacs server Server1_name
 address ipv4 <Server1_IP> 
key <Server1_key> 
! 
tacacs server Server2_name
 address ipv4 <Server2_IP>
 key <Server2_key>
!

另外查看了15.2(7)Ex版本的release notes,在升级E3的时候也由相关的描述。故而建议按照官方指导配置进行调整。

ilay_0-1749456702972.png

E3版本存在一个tacacs相关的bug,也可以在Release Notes中查到,描述是在E4版本修复,有点关联,但感觉关系不太大,仅供参考(附2)

附1: Release Notes

https://www.cisco.com/c/dam/en/us/td/docs/switches/lan/catalyst2960x/software/15-2_7_e/release_notes/Release_notes_2960x_2960xr_1527E.pdf

附2:https://bst.cloudapps.cisco.com/bugsearch/bug/CSCvv86851

快捷链接