H3C-配置Line接入方式
  4N4jeNyMEJmc 2023年11月02日 26 0

H3C-配置Line接入方式_H3C

Console

# AAA - 用户接入方式
line con 0
 authentication-mode scheme
#
local-user NEWH3C class manage
 password simple H3C@MMS12ge**hao
 service-type terminal
# Password - 密码接入方式
user-interface console 0 # 某些系统版本不支持此方式
 authentication-mode password
 user-role network-admin
 set authentication password simple H3C@MMS12ge**hao

Telnet

# AAA - 用户接入方式
telnet server enable
#
line vty 0 4
 authentication-mode scheme
 user-role network-operator
 protocol inbound telnet
#
local-user H3C class manage
 password simple HCL@MMS3307
 service-type telnet

# Passwork - 密码接入方式
telnet server enable
#
line vty 0 4
 user-role network-operator
 set authentication password simple HCL@MMS3307
 protocol inbound telnet

SSH

# 创建密码,密码类型选择:RSA、DSA、ECDSA
public-key local create [rsa、dsa、ecdsa]
The range of public key modulus is (512 ~ 2048). 
If the key modulus is greater than 512, it will take a few minutes.
Press CTRL+C to abort.
Input the modulus length [default = 1024]:2048
Generating Keys...
.
Created the key pair successfully.
#
line vty 0 4
 authentication-mode scheme
 protocol inbound ssh
#
local-user NEW-H3C class manage
 password hash H3C@MMS12ge**hao
 service-type ssh
[可选 - SSH用户类型、认证方式]ssh user NEW-H3C service-type  stelnet authentication-type password
【版权声明】本文内容来自摩杜云社区用户原创、第三方投稿、转载,内容版权归原作者所有。本网站的目的在于传递更多信息,不拥有版权,亦不承担相应法律责任。如果您发现本社区中有涉嫌抄袭的内容,欢迎发送邮件进行举报,并提供相关证据,一经查实,本社区将立刻删除涉嫌侵权内容,举报邮箱: cloudbbs@moduyun.com

  1. 分享:
最后一次编辑于 2023年11月08日 0

暂无评论