目录
- 1. FutureMatrix 交换机
- 1.1 查看版本
- 1.2 配置前
- 1.3 配置VTY用户界面的支持协议类型、认证方式和用户级别。
- 1.4 开启STelnet服务器功能。
- 1.5 配置SSH用户认证方式为Password
- 1.6 配置后
1. FutureMatrix 交换机
1.1 查看版本
<SW3>display version
FutureMatrix Versatile Routing Platform Software
VRP (R) software, Version 5.170 (S5735 V200R022C00SPC500)
FutureMatrix S5735S-L48T4X-A1 Routing Switch uptime is 1 week, 6 days, 16 hours, 58 minutesES5D2T52S028 0(Master) : uptime is 1 week, 6 days, 16 hours, 55 minutes
DDR Memory Size : 512 M bytes
FLASH Total Memory Size : 512 M bytes
FLASH Available Memory Size : 253 M bytes
Pcb Version : VER.A
MAB Version : 0
BootROM(1st) Version : 0000.0000
BootROM(2nd) Version : 0000.02f9
BootLoad Version : 0216.0000
CPLD Version : 0101
Software Version : VRP (R) Software, Version 5.170 (V200R022C00SPC500)
FLASH Version : 0000.0000
1.2 配置前
1.3 配置VTY用户界面的支持协议类型、认证方式和用户级别。
[SW3]user-interface vty 0 4
[SW3-ui-vty0-4]authentication-mode aaa
[SW3-ui-vty0-4]protocol inbound ssh
[SW3-ui-vty0-4]user privilege level 15
[SW3-ui-vty0-4]quit
1.4 开启STelnet服务器功能。
[SW3]ssh server-source all-interface
Warning: SSH server source configuration will take effect in the next login. Continue? [Y/N]:y
Warning: It expandes the range of accessed Ip.
[SW3]stelnet server enable
Warning: After configuring the source interface or source address, the listening socket will be created.
Info: Succeeded in starting the Stelnet server.
1.5 配置SSH用户认证方式为Password
创建SSH用户
[SW3]ssh user sshadmin
[SW3]ssh user sshadmin service-type stelnet
[SW3]ssh user sshadmin authentication-type password
使用Password认证方式时,需要在AAA视图下配置与SSH用户同名的本地用户。
[SW3]aaa
[SW3-aaa]local-user sshadmin password irreversible-cipher 123456
[SW3-aaa]local-user sshadmin privilege level 15
[SW3-aaa]local-user sshadmin service-type ssh
[SW3-aaa]quit