Cisco router 预配:
Router>en
Router#config t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname r0
r0(config)#
Router(config)#enable secret yanjin
Router(config)#no ip domain-lookup
Router(config)#line console 0
Router(config-line)#password yanjin
Router(config-line)#login
Router(config-line)#exec-timeout 0 0
Router(config-line)#logging s
Router(config-line)#logging synchronous
Router(config-line)#line vty 0 4
Router(config-line)#password yanjin
Router(config-line)#login
Router(config-line)#exit
Router(config)#banner motd #
Enter TEXT message. End with the character '#'.
This is router 0 #
Router(config)#service ?
nagle
Enable Nagle's congestion control algorithm
password-encryption Encrypt system passwords
timestamps Timestamp
debug/log messages
Router(config)#service pass
Router(config)#service password-encryption
Router(config)#clock ?
timezone Configure time zone
Router(config)#clock set 16:45:26 16 Feb. 2012
^
% Invalid input detected at '^' marker.
Router(config)#end
%SYS-5-CONFIG_I: Configured from console by console
Router#
Router#clock set 16:45:26 16 Feb. 2012
^
% Invalid input detected at '^' marker.
Router#clock set 16:46:26 16 Feb 2012
Router#sh clock
*16:46:32.68 UTC ?? ?? 16 2012
Router#