首页 >运维 >安全 >如何进行H3C HWTACACS配置

如何进行H3C HWTACACS配置

王林
王林转载
2023-05-15 17:07:061417浏览

hwtacacs scheme acs

 primary authentication 10.222.250.13

 primary authorization 10.222.250.13

 primary accounting 10.222.250.13

 secondary authentication 10.222.250.14

 secondary authorization 10.222.250.14

 secondary accounting 10.222.250.14

 key authentication simple nas

 key authorization simple nas

 key accounting simple nas

 user-name-format without-domain

 nas-ip 12.2.8.20

 quit

domain aaa

 authentication login hwtacacs-scheme acs local

 authorization login hwtacacs-scheme acs local

 accounting login hwtacacs-scheme acs local

 quit

domain default enable aaa

ssh server enable

public-key local create rsa    //生成 RSA 密钥对,ssh配置很容易忘记这条命令

line vty 0 63

 authentication-mode scheme

 user-role network-admin

 quit

local-user works class manage

 password simple 123456

 service-type ssh

 authorization-attribute user-role network-admin

 quit

以上是如何进行H3C HWTACACS配置的详细内容。更多信息请关注PHP中文网其他相关文章!

声明:
本文转载于:yisu.com。如有侵权,请联系admin@php.cn删除