动动大拇指
快快关注哦
-
连接的接口请根据实际情况进行选择。例如,在Windows系统中,可以通过 在“设备管理器”中查看端口信息,选择连接的接口。 -
设置终端软件的通信参数需与设备的缺省值保持一致,分别为:传输速率为 9600bit/s 、8位数据位、 1位停止位、无校验和无流控。 -
单击“Open”。
User interface con0 is available
Please Press ENTER.
Please configure the login password (8-16)
Enter Password:
Confirm Password: //设置Console口登录密码
Info: Save the password now. Please wait for a moment.
Info: The max number of VTY users is 21, the number of current VTY users online is 0 ,and total number of terminal users online is 1.
The current login time is 2020-06-30 18:15:10+08:00
<HUAWEI>
<HUAWEI> clock timezone BJ add 08:00:00
<HUAWEI> clock datetime 20:20:00 2023-05-08
<HUAWEI> system-view
[HUAWEI] sysname Device
[Device] interface meth 0/0/0
[Device-MEth0/0/0] ip address 10.137.217.203 255.255.255.0
[Device-MEth0/0/0] quit
Device] ip route-static 0.0.0.0 0 10.137.217.1
[Device] ssh server cipher aes128_ctr aes256_ctr aes192_ctr aes128_gcm aes256_gcm [Device] ssh server hmac sha2_256 sha2_512
[Device] ssh server key-exchange dh_group_exchange_sha256 dh_group16_sha512
[Device] ssh server publickey rsa_sha2_256 rsa_sha2_512
[Device] ssh server dh-exchange min-len 3072
[Device] user-interface vty 0 4
[Device-ui-vty0-4] authentication-mode aaa
[Device-ui-vty0-4] user privilege level 3
[Device-ui-vty0-4] protocol inbound ssh
[Device-ui-vty0-4] quit
[Device] aaa
[Device-aaa] local-user admin123 password
Please conigure the login password (8-128)
It is recommended that the password consist of four types of characters, including lowercase letters, uppercase letters, numerals and special characters.
Please enter password:
Please conirm password:
Info: Add a new user.
[Device-aaa] local-user admin123 service-type ssh
[Device-aaa] local-user admin123 privilege level 3
[Device-aaa] quit
[Device] ssh user admin123
[Device] ssh user admin123 authentication-type password
[Device] ssh user admin123 service-type stelnet
[Device] ssh server-source all-interface
[Device] stelnet server enable
C:UsersUser1> ssh [email protected]
[email protected]'s password:
Info: The max number of VTY users is 21, the number of current VTY users online is 5, and total number of terminal users online is 5.
The current login time is 2020-12-15 14:23:00.
<Device>
#
sysname Device
#
stelnet server enable
#
clock timezone BJ add 08:00:00
#
aaa
local-user admin123 password irreversible-cipher $1d$+,JS+))
2$KVNj(.3`_5x0FCKGv}H&.kUTI`Ff&H*eBqO.ua>)$
local-user admin123 service-type ssh
local-user admin123 privilege level 3
#
interface MEth0/0/0
ip address 10.137.217.203 255.255.255.0
#
ip route-static 0.0.0.0 0.0.0.0 10.137.217.1
#
ssh user admin123
ssh user admin123 authentication-type password
ssh user admin123 service-type stelnet
ssh server-source all-interface
#
ssh server cipher aes128_ctr aes256_ctr aes192_ctr aes128_gcm aes256_gcm
ssh server hmac sha2_256 sha2_512
ssh server key-exchange dh_group_exchange_sha256 dh_group16_sha512
ssh server publickey rsa_sha2_256 rsa_sha2_512
ssh server dh-exchange min-len 3072
#
user-interface vty 0 4
authentication-mode aaa
user privilege level 3
protocol inbound ssh
#
return
原文始发于微信公众号(老五说网络):华为交换机首次登录基本配置
免责声明:文章中涉及的程序(方法)可能带有攻击性,仅供安全研究与教学之用,读者将其信息做其他用途,由读者承担全部法律及连带责任,本站不承担任何法律及连带责任;如有问题可邮件联系(建议使用企业邮箱或有效邮箱,避免邮件被拦截,联系方式见首页),望知悉。
- 左青龙
- 微信扫一扫
-
- 右白虎
- 微信扫一扫
-
评论