当前位置:网站首页>【网络设备远程登陆配置SSH/Telnet 】
【网络设备远程登陆配置SSH/Telnet 】
2022-08-02 14:16:00 【晓龙的小是春晓的晓】
访问网络设备的命令行接口
1、连接到命令行接口的方法
- 访问网络设备命令行接口的方法
使用SSH终端访问
使用Telnet终端访问
通过 ssh进行连接
line vty 0 63
authentication-mode scheme
user-role network-admin
user-role network-operator
protocol inbound ssh
ssh server enable
配置原创账号
local-user xxxx class manage
password simple xxxx
service-type ssh terminal
authorization-attribute user-role network-admin
authorization-attribute user-role network-operator
相关参数解释:
VTY(Virtual Type Terminal,虚拟类型终端)用户线视图:此视图用于配置 VTY 用
户线相关参数。通过 VTY 方式登录的用户使用此用户线。VTY 是一种逻辑终端线,
用于对设备进行 Telnet 或 SSH 访问。目前每台设备最多支持 64 个 VTY 用户同时访
问。
Telnet配置类似
通过 FTP进行连接
local-user admin
service-type ftp
password simple 123
authorization-attribute user-role network-admin
边栏推荐
猜你喜欢
记一次 ThreadLocal 泄漏导致的 shardingsphere-jdbc-core 单元测试偶发失败的排查与修复
双链表(普通迭代器和常性迭代器)
网络运维系列:Ubnt ER-X初始化和开启硬件NAT
Priority table and Ascll table
【软件测试】进阶篇
这几年让你大呼惊人的AI应用,都离不开这项技术
Mysql理解MVCC与BufferPool缓存机制
Technical Selection of Message Queuing
CDH (computational Diffie-Hellman) problem and its differences with discrete logarithm and DDH problems
【线程网络】了解线程属性(fork/interview question)
随机推荐
Oauth2.0 资源服务器搭建
Mysql索引优化一
创建系统还原点及恢复
【软件测试】进阶篇
Oauth2.0 custom response values and exception handling
【软件测试】测试基础讲解
假的服务器日志(给history内容增加ip、用户等内容)
IDEA如何进行远程Debug
Oauth2.0 认证服务器添加验证码登陆方式
Google AdSense注册流程
Doubly linked list (normal iterators and const iterators)
面试追问系列-Redis技术原理
CDH (computational Diffie-Hellman) problem and its differences with discrete logarithm and DDH problems
JOOQ 报错 StackOverflowError
理解:野指针,空指针,失效指针。
WEB自动化之多窗口操作、切换frame、弹窗处理
打包项目上传到PyPI
【线程安全】用户级,内核级,组合级线程|线程同步的处理(条件变量)|strtok_r(可冲入函数)
字符数组/字符串数组|数组指针/指针数组/
软件测试之WEB自动化