S5735真机配置telnet管理交换机

S5735真机配置telnet管理交换机

玩了这么长时间模拟器了,还没在真机上体验过。拆新机真过瘾。

配置IP地址

现给vlan1配置IP地址用于后续访问和管理

<hexin-SWC>sy  
Enter system view, return user view with Ctrl+Z.
[hexin-SWC]int vlanif1
[hexin-SWC-Vlanif1]ip add 192.168.0.6 22
Info: A similar IP subnet already exists. Please verify the current IP subnet design.
[hexin-SWC-Vlanif1]q

配置Telnet


[hexin-SWC]telnet server enable
Warning: Telnet is not a secure protocol, and it is recommended to use Stelnet.
Warning: No source address or source interface is configured, which may cause security risks.

[hexin-SWC]user-interface vty 0 4
[hexin-SWC-ui-vty0-4]authentication-mode aaa    #使用aaa验证方式
Warning: The level of the user-interface(s) will be the default level of AAA users, please check whether it is correct.
    
[hexin-SWC]aaa
[hexin-SWC-aaa]local-user pokes password cipher 123456789   #密码,需要复杂性哦
Info: Add a new user.
     
[hexin-SWC-aaa]local-user pokes service-type telnet   #该用户类型为telnet
Info: The cipher password has been changed to an irreversible-cipher password.
Warning: The user access modes include Telnet, FTP, or HTTP, so security risks exist.
Info: After changing the rights (including the password, access type, FTP directory, HTTP 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.


[hexin-SWC-aaa]local-user pokes privilege level 15
Warning: This operation may affect online users, are you sure to change the user privilege level ?[Y/N]y
[hexin-SWC-aaa]q
[hexin-SWC]q

<hexin-SWC>save    #记得保存
The current configuration will be written to flash:/vrpcfg.zip.
Are you sure to continue?[Y/N] y  #选Y
Now saving the current configuration to the slot 0.
Dec 16 2020 02:26:43 hexin-SWC %%01CFM/4/SAVE(s)[6]:The user chose Y when deciding whether to save the configuration to the device...
Save the configuration successfully.
上一篇:无重复字符的最长子串-滑动窗口法


下一篇:搭建vsftpd服务器