Cisco登陆管理
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 //仅允许登入的方式
文章标题:Cisco登陆管理
文章地址:http://pwwzsj.com/article/pcpdip.html