006 Cisco switch prewired

Switch>en
Switch#config t
Enter configuration commands, one per line.  End with CNTL/Z.
Switch(config)#hostname sw0
sw0(config)#clock set 8:33:26 17 Feb 2012
                  ^
% Invalid input detected at '^' marker.
 
sw0(config)#exit
 
%SYS-5-CONFIG_I: Configured from console by console
sw0#clock set 8:33:26 17 Feb 2012
sw0#config t
Enter configuration commands, one per line.  End with CNTL/Z.
sw0(config)#enable secret yanjin
sw0(config)#line console 0
sw0(config-line)#password yanjin
sw0(config-line)#login
sw0(config-line)#line vty 0 15
sw0(config-line)#password yanjin
sw0(config-line)#login
sw0(config-line)#line console 0
sw0(config-line)#logging s
sw0(config-line)#logging synchronous
sw0(config-line)#exec-timeout 0 0
sw0(config-line)#exit
sw0(config)#banner motd #
Enter TEXT message.  End with the character '#'.
This is sw0
#
 
sw0(config)#service ?
  password-encryption  Encrypt system passwords
  timestamps           Timestamp debug/log messages
sw0(config)#service pa
sw0(config)#service password-encryption
sw0(config)#


来自为知笔记(Wiz)


posted on 2016-12-09 14:15  sanyuanyanjin  阅读(133)  评论(0编辑  收藏  举报