cisco交换机配置练习疑难
配置完之后一般退出到特权模式,配置才生效。 ? 1.将ios文件从电脑上拷入到交换机flash 首先要设置交换机的Ip地址,也就是interface vlan 1 之类的,保证这个ip 和你的tftp服务器ip在同一子网内。 Switch#copy tftp: flash: 10907578 bytes copied in 159.064 secs (68574 bytes/sec) ? ? 2.配置SSH登录到交换机 ? ①启用aaa new-model????? 不启用,你试试、、、、、、
? Switch(config)#ip ssh version 2???????? 选择ssh的版本? Switch(config)#ip ssh time-out??120???? 超时限定为120秒 Switch(config)#ip ssh authentication-retries?5???认证重试次数为5次 ? 设置登录是否telnet 和SSH Switch(config)#line vty 0 15 Switch(config-line)#transport input ssh??? 只支持SSH ? 3.设置clock Switch#clock time GMT +8 Switch#clock set 15:45:00 23 September 2014 Switch#show clock Core-Switch-1#conf t Core-Switch-1(config)# clock timezone GMT +8 Core-Switch-1(config)#service timestamps debug datetime msec localtime show-timezone Core-Switch-1(config)#service timestamps log datetime msec localtime show-timezone Core-Switch-1(config)#exit Core-Switch-1# clock set 13:51:00 Sep 7 2011 或通过NTP服务器时间同步: Core-Switch-1#ntp server 192.168.0.254 key 8888?注:8888是指ntp服务器的Key值 Core-Switch-1#show ntp status Core-Switch-1#wr Core-Switch-1#sh log ? Core-Switch-1#show clock ? 4.设置vty终端输出调试信息。 C3750A#terminal monitor? 取消为 C3750A#terminal no monitor? (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
- Oracle PL/SQL中的循环处理(sql for循环)
- React Native入门(六)之列表组件的使用(1)
- 如何使Swift框架子模块真的私有?
- dark寻觅到的一个牛人的分类总结贴--关于swfupload与java整
- C语言中正切的相关函数总结
- C#ExcelPackage(EPPlus)DeleteRow不会更改工作表尺寸?
- objective-c – 使用Objective C将位图转换为PNG或JPG
- ruby-on-rails – 除了在Rails测试中使用Capybara和RSpec之
- 机器学习之正则化(Regularization)
- Swift多线程:GCD进阶,单例、信号量、任务组