这篇文章给大家介绍如何进行H3C HWTACACS配置,内容非常详细,感兴趣的小伙伴们可以参考借鉴,希望对大家能有所帮助。
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配置就分享到这里了,希望以上内容可以对大家有一定的帮助,可以学到更多知识。如果觉得文章不错,可以把它分享出去让更多的人看到。