华为网络设备初始化登录配置
华为交换机telnet 登录配置

-
<Quidway> system-view
[Quidway] interface gigabitethernet 1/0/0
[Quidway-GigabitEthernet1/0/0] undo shutdown
[Quidway-GigabitEthernet1/0/0] ip address 202.38.160.92 255.255.0.0
[Quidway-GigabitEthernet1/0/0] quit
# 配置登录验证方式
[Quidway] aaa
[Quidway-aaa] local-user huawei password cipher test2
[Quidway-aaa] local-user huawei service-type telnet
[Quidway-aaa] local-user huawei level 3
[Quidway-aaa] quit
[Quidway] user-interface vty 0 4
[Quidway-ui-vty0-4] authentication-mode aaa
华为交换机ssh登录配置

- 生成本地密钥对
<Quidway> system-view [Quidway] rsa local-key-pair create The key name will be: Quidway_Host The range of public key size is (512 ~ 2048). NOTES: If the key modulus is greater than 512, It will take a few minutes. Input the bits in the modulus[default = 512]: Generating keys... .......++++++++++++ ..........++++++++++++ ...................................++++++++ ......++++++++ - 创建SSH用户
说明:
如果SSH用户的认证方式为password,必须配置同名的local-user用户。# 配置VTY用户界面。
[Quidway] user-interface vty 0 4 [Quidway-ui-vty0-4] authentication-mode aaa [Quidway-ui-vty0-4] protocol inbound ssh [Quidway-ui-vty0-4] quit
# 新建用户名为Client001的SSH用户,且认证方式为password。
<Quidway> system-view [Quidway] ssh user client001 authentication-type password
# 为SSH用户Client001配置密码为huawei。
[Quidway] aaa [Quidway-aaa] local-user client001 password simple huawei [Quidway-aaa] local-user client001 service-type ssh

浙公网安备 33010602011771号