Cisco登陆管理

发布时间:2020-06-22 02:38:01 作者:baiguoping
来源:网络 阅读:489

1.console登录配置

cisco(config)#username cisco private 0 password cisco

cisco(config)#enable password cisco

cisco(config)#enable secret cisco

cisco(config)#service password-encryption

cisco(config)#line console 0

cisco(config-line)#exec-timeout 5 0

cisco(config-line)#logging synchronous

cisco(config-line)#login local


2.Telnet登录

cisco(config)#username ciscoprivate 0 password cisco

cisco(config)#enable password cisco

cisco(config)#enable secret cisco

cisco(config)#service password-encryption

cisco(config)#interface FastEthernet0/0

cisco(config-if)#ip address 192.168.1.1 255.255.255.0

cisco(config)#line vty 0 4

cisco(config-line)#exec-timeout 5 0

cisco(config-line)#logging synchronous

cisco(config-line)#login local


3.SSH登录

cisco(config)#ip domainname cisco.com      //配置域名

cisco(config)#username cisco privilege 0 password 0 cisco //创建用户和密码,配置登陆级别

cisco(config)#enable password cisco        //enable特权密码

cisco(config)#enable secret cisco          //enable特权密码password/secret同时配置将使用sectet的密码

cisco(config)#service password-encryption  //加密所有明文密码

cisco(config)#crypto keygenerate rsa       //启用ssh使用rsa加密算法512(越高资源消耗越大)

cisco(config)#banner login ^C              //登陆警告

   ******************** Warning *****************

Without authorization, pleasedo not log in, such as forced illegal intrusion,

The resulting consequences wewill reserve the right above the law. !!!^C


cisco(config)#interface FastEthernet0/0

cisco(config-if)#ip address 192.168.1.1255.255.255.0

cisco(config)##line vty 0 4

cisco(config-line)#exec-timeout 5 0      //5分钟超时

cisco(config-line)#logging synchronous   //光标同步

cisco(config-line)#login local           //使用本地验证

cisco(config-line)#transportinput ssh    //仅允许登入的方式


推荐阅读:
  1. 如何配置Cisco Catalyst 4948进行CNA管理
  2. Cisco DNA简介

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

terminal ssh vty tel cis sco

上一篇:[Linux进程]使用atexit登记终止处理函数

下一篇:全球市值Top20的加密货币技术对比

相关阅读

您好,登录后才能下订单哦!

密码登录
登录注册
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》