<Huawei>sys
Enter system view, return user view with Ctrl+Z.
[Huawei]undo info-center enable
Info: Information center is disabled.
[Huawei]int g0/0/0
[Huawei-GigabitEthernet0/0/0]ip add 10.0.0.10 24
[Huawei-GigabitEthernet0/0/0]ping 10.0.0.1
PING 10.0.0.1: 56 data bytes, press CTRL_C to break
Reply from 10.0.0.1: bytes=56 Sequence=1 ttl=64 time=40 ms
Reply from 10.0.0.1: bytes=56 Sequence=2 ttl=64 time=1 ms
Reply from 10.0.0.1: bytes=56 Sequence=2 ttl=128 time=500 ms (DUP!)
Reply from 10.0.0.1: bytes=56 Sequence=3 ttl=64 time=10 ms
Reply from 10.0.0.1: bytes=56 Sequence=3 ttl=128 time=510 ms (DUP!)
Reply from 10.0.0.1: bytes=56 Sequence=4 ttl=64 time=20 ms
--- 10.0.0.1 ping statistics ---
4 packet(s) transmitted
4 packet(s) received
2 duplicates
0.00% packet loss
round-trip min/avg/max = 1/180/510 ms
[Huawei]aaa
[Huawei-aaa]local-user huawei password cipher huawei privilege level 15
Info: Add a new user.
[Huawei-aaa]local-user huawei service-type ssh
[Huawei-aaa]q
[Huawei]ssh user huawei authentication-type password
Authentication type setted, and will be in effect next time
3.5、生成本地RSA密钥对
[Huawei]rsa local-key-pair create
The key name will be: Host
% RSA keys defined for Host already exist.
Confirm to replace them? (y/n)[n]:y
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...
.............................++++++++++++
.....++++++++++++
.............++++++++
..++++++++
[Huawei]