houzhiqing

h3c AAA本地认证 Telnet

 h3c <wbr>AAA本地认证 <wbr>Telnet
用VTY密码登陆

 

首先开启Telnet服务器功能

[R1]telnet server enable

[R1]user-interface vty 0 4

[R1-ui-vty0-4]set authentication password cipher h3c

[R1]super password cipher abc123,

 

这样之后R2就可以直接用密码telnet R1了


<R2>telnet 172.16.1.1
Trying 172.16.1.1 ...
Press CTRL+K to abort
Connected to 172.16.1.1 ...

Login authentication


Password:h3c

<R1>super Password:abc123,
Now user privilege is 3 level, and only those commands whose level is
equal to or less than this level can be used.
Privilege note: 0-VISIT, 1-MONITOR, 2-SYSTEM, 3-MANAGE
<R1>system-view

之后就可以直接配置R1

 

用AAA本地认证登陆

[R1]aaa

[R1-aaa]local-user zhang3 password cipher telnetadmin

[R1-aaa]authentication-scheme authe

[R1-aaa-authen-authe]authentication-mode local 

[R1-aaa-authen-authe]authentication-super super

[R1]user-interface vty 0 4

[R1-ui-vty0-4]authentication-mode aaa

配置好后用R2 telnet R1

<R1>telnet 172.16.1.1
Trying 172.16.1.1 ...
Press CTRL+K to abort
Connected to 172.16.1.1 ...

Login authentication


Username:zhang3
Password:telnetadmin
Info: The max number of VTY users is 10, and the number
      of current VTY users on line is 2.
<R1>super

   Password:abc123,

Now user privilege is 3 level, and only those commands whose level is
equal to or less than this level can be used.
Privilege note: 0-VISIT, 1-MONITOR, 2-SYSTEM, 3-MANAGE
<R1>

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 


 

分类:

技术点:

相关文章:

  • 2019-03-18
  • 2022-12-23
  • 2021-11-15
  • 2022-01-04
  • 2022-12-23
  • 2021-11-16
  • 2022-12-23
  • 2021-04-05
猜你喜欢
  • 2022-12-23
  • 2021-12-02
  • 2021-06-07
  • 2021-11-14
  • 2021-08-16
  • 2021-05-31
  • 2021-10-02
相关资源
相似解决方案