大家好,今天我想和大家分享一下我在“s7706交换机”方面的经验。为了让大家更好地理解这个问题,我将相关资料进行了整理,现在就让我们一起来学习吧。
1.华为核心S7706把Telnet关闭开启SSH怎么做?求命令讲解,谢谢!
华为核心S7706把Telnet关闭开启SSH怎么做?求命令讲解,谢谢!
SECURECRT登录进去后
< HUAWEI-2F>敲 sys
进入 system view
关闭Telnet
[HUAWEI-2F]undo telnet server enable
[HUAWEI-2F]quit
< HUAWEI-2F>save
The current configuration will be written to the device.
开启ssh
[HUAWEI-2F]
[HUAWEI-2F]rsa local-key-pair create
The key name will be: HUAWEI-2F_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 = 2048]:
Generating keys…
……………….+++++
……………………++
….++++
………..++
[HUAWEI-2F]user-interface vty 0 4
[HUAWEI-2F-ui-vty0-4]authentication-mode aaa
Warning: The level of the user-interface(s) will be the default level of AAA users, please check whether it is correct.
[HUAWEI-2F-ui-vty0-4]protocol inbound ssh
[HUAWEI-2F-ui-vty0-4]qu
[HUAWEI-2F]ssh user admin
Info: Succeeded in adding a new SSH user.
[HUAWEI-2F]ssh user admin authentication-type password
[HUAWEI-2F]
[HUAWEI-2F]
[HUAWEI-2F]
[HUAWEI-2F]aaa
//有密码可以不用设置
[HUAWEI-2F-aaa]local-user admin password
Please configure the login password (8-128)
It is recommended that the password consist of at least 2 types of characters, including lowercase letters, uppercase letters, numerals and special characters.
Please enter password:
Please confirm password:
Please enter old password:
Error: The new password is the same as the old password.
[HUAWEI-2F-aaa]local-user admin service-type ssh
Info: After changing the rights (including the password, access type, FTP directory, and level) of a local user, the rights of users already online do not change. The change takes effect to users who go online after the change.
[HUAWEI-2F-aaa]qu
[HUAWEI-2F]
[HUAWEI-2F]
[HUAWEI-2F]
[HUAWEI-2F]ssh user admin service-type stelnet
[HUAWEI-2F]stelnet server enable
Info: Succeeded in starting the Stelnet server.
[HUAWEI-2F]quit
< HUAWEI-2F>save
MEth表示这个端口是设备主控板上面的管理网口,是个百兆的端口。
管理网口一般用于通过PC telnet到设备上,然后通过命令行操作设备。或者通过管理网口让PC和设备建立FTP连接。
MEth接口和配置终端或网管站的网口连接,用于搭建现场或远程配置环境。 MEth默认是没有配置管理ip地址的。
好了,今天关于“s7706交换机”的话题就讲到这里了。希望大家能够通过我的介绍对“s7706交换机”有更全面、深入的认识,并且能够在今后的实践中更好地运用所学知识。