SWA:
1、密码认证
[H3C]sysn SWA
[SWA]line console 0
[SWA-line-console0]authentication-mode password
[SWA-line-console0]set authentication password simple wgzj1234*
[SWA-line-console0]qu
[SWA]save
验证:
2、采用AAA认证
<H3C>sys
System View: return to User View with Ctrl+Z.
[H3C]sysn SWA
[SWA]line console 0
[SWA-line-console0]authentication-mode scheme
[SWA-line-console0]qu
[SWA]local-user H3C
New local user added.
[SWA-luser-manage-H3C]password simple wgzj1234*
[SWA-luser-manage-H3C]service-type terminal
[SWA-luser-manage-H3C]authorization-attribute user-role network-admin
[SWA-luser-manage-H3C]qu
[SWA]save
验证: