在A-SW1上配置
system-view
vlan 100
qu
interface Vlan-interface 100
ip add 192.168.100.1 24
qu
telnet server enable #开启telnet服务
local-user admin #创建本地用户admin
service-type telnet #用户的服务类型为telnet
password simple 123456 #设置用户密码
quit
line vty 0 4
authentication-mode scheme #配置VTY接口认证模式为scheme模式
user-role network-operator
protocol inbound telnet
quit
save force
在A-SW2上配置
system-view
vlan 100
qu
interface Vlan-interface 100
ip add 192.168.100.2 24
qu
telnet server enable
local-user admin
service-type telnet
password simple 123456
quit
line vty 0 4
authentication-mode scheme
user-role network-operator
protocol inbound telnet
quit
save force
在A-SW4上配置
system-view
vlan 100
qu
interface Vlan-interface 100
ip add 192.168.100.4 24
qu
telnet server enable
local-user admin
service-type telnet
password simple 123456
quit
line vty 0 4
authentication-mode scheme
user-role network-operator
protocol inbound telnet
quit
save force
在A-SW5上配置
system-view
vlan 100
qu
interface Vlan-interface 100
ip add 192.168.100.5 24
qu
telnet server enable
local-user admin
service-type telnet
password simple 123456
quit
line vty 0 4
authentication-mode scheme
user-role network-operator
protocol inbound telnet
quit
save force