网络-远程控制
如果需要开启网络设备的远程登陆功能,需要经过以下设置。
-
进入aaa视图
aaa -
创建用户
local-user zyl password cipher 123456 -
设置连接协议
local-user zyl service-type ssh -
提升用户级别
local-user zyl privilege level 3 -
退出到系统视图
-
设置允许登录人数
user-interface vty 0 4 -
激活
authentication-mode aaa -
放行ssh协议登录
protocol inbound ssh -
开启服务
stelnet server enable -
如果交换机需要开启远程登录需要多设置下面两条命令
ssh user zyl authentication-type passwdssh user zyl service-type stelnet