Ctrl+A: 到行首(Ahead)
Ctrl+E: 到行尾(End)Esc+B: 回退一个单词(Back)Esc+F: 前进一个单词(Forward)1.三种配置模式
2.时间时区配置3.设置超时时间4.配置密码5.关闭DNS解析6.配置描述信息7.配置命令别名8.清空配置文件9.配置模拟PC10.CDP协议enable
conf tno ip do loenable pass ciscoline con 0logg syncexec-t 0 0line vty 0 4pass ciscologg syncexithost1.三种配置模式
---------------------------------------enableconf thost R1exitdisablequit2.时间时区配置---------------------------------------enableclock set 10:10:10 02 jul 2013conf tclock timezone BeiJing +8endshow clock3.设置超时时间---------------------------------------conf tline con 0exec-t 0 0logg syncexit4.配置密码---------------------------------------conf tenable password ciscoline con 0password ciscologinexitline vty 0 4password ciscologinexitline aux 0password ciscologinexitservice password-encryption5.关闭DNS解析-----------------------------------------conf tno ip domain look6.配置描述信息-----------------------------------------conf tbanner motd # If you are not the WEB user, exit landing. #int f0/0description Fast Ethernet Interface 0/0 description message.exitshow running-config int f0/07.配置命令别名
----------------------------------------------conf talias exec open show ip routeendopen8.清空配置文件----------------------------------------------enderase startup-configreload9.配置模拟PC----------------------------------------------no ip routingip default-gateway 10.1.1.1int f0/0ip add 10.1.1.2 255.255.255.0exitendshow ip route10.CDP协议-----------------------------------------------R1:int f0/0no shutexitR2:int f0/0no shutexitint f1/0no shutexitR3:int f0/0no shutexitR2:endshow cdp neighborsshow cdp neighbors detailconf tno cdp runendshow cdp neighborsconf tcdp runint f0/0no cdp enablecdp enableexit