一、华为系统设置1、华为更改路由名字syssystem-viewEntersystemview,returnuserviewwithCtrl+Z.[su]sys[su]sysnameluyu[luyu]2、华为配置系统时钟查看系统时间displayclockclocktimezonecstadd8---(cst是中国标准时间)3、时间设置clockdatetime11:53:002016-11-144、华为标题sysystem-viewEntersystemview,returnuserviewwithCtrl+Z.[luyu]he[luyu]header?loginSpecifytheloginauthenticationbannershellSpecifythestartbannerofsession[luyu]headerlo[luyu]headerlogin?fileSpecifyfilenameofbannerinformationSpecifyinformationofbanner[luyu]headerloginin[luyu]headerlogininformation?TEXT<"...">Setheadertext,takethefirstcharacterasthespecifiedstartandendcharacter,thestringbetweenthestartcharacterandtheendcharacteristheheadertobedisplayed[luyu]headerlogininformation#Info:Inputbannertext,andquitwiththecharacter'#'.--------------Warning--------------------#(#两个#之间输入文字#)进入系统之后提示[luyu]head[luyu]headershe[luyu]headershellin[luyu]headershellinformation?TEXT<"...">Setheadertext,takethefirstcharacterasthespecifiedstartandendcharacter,thestringbetweenthestartcharacterandtheendcharacteristheheadertobedisplayed[luyu]headershellinformation#Info:Inputbannertext,andquitwiththecharacter'#'.------------Welcome-------------------#5、用户命令等级用户等级命令等级名称00访问级10and1监控级20,1and2配置级3-150,1,2and3管理级6、用户界面用户界面类型编号Console0VTY0-4VTY默认是0-4可以5个人同时远程连接,默认值可以修改,最大15个。6.1VTY修改默认数[AR1]user-interfacemaximum-vty?INTEGER<0-15>ThemaximumnumberofVTYusers,thedefaultvalueis5Console出厂配置vty远程连接(telnet明文数据抓包能获得用户名和密码不安全)7、配置console密码[luyu]user-interfacec[luyu]user-interfaceconsole0[luyu-ui-console0]au[luyu-ui-console0]authentication-modep[luyu-ui-console0]authentication-modepasswordPleaseconfiguretheloginpassword(maximumlength16):luyu8、修改console密码[luyu]user-interfacec[luyu]user-interfaceconsole0[luyu-ui-console0]setau[luyu-ui-console0]setauthenticationp[luyu-ui-console0]setauthenticationpasswordci[luyu-ui-console0]setauthenticationpasswordcipher[luyu-ui-console0]setauthenticationpasswordciphertianlan9、配置VTY远程登陆[luyu]user-interfacev[luyu]user-interfacevty?INTEGER<0-4,16-20>Thefirstuserterminalinterfacetobeconfigured[luyu]user-interfacevty0[luyu-ui-vty0]au[luyu-ui-vty0]authentication-modep[luyu-ui-vty0]authentication-modepasswordPleaseconfiguretheloginpassword(maximumlength16):tianlan[luyu]user[luyu]user-interfacevty04[luyu-ui-vty0-4]user[luyu-ui-vty0-4]userpr[luyu-ui-vty0-4]userprivilegel[luyu-ui-vty0-4]userprivilegelevel3\\配置用户等级查看用户等级displayuser-interface10、配置远程空闲时间解释:空闲时间好比计算机的屏保时间。0是永不超时。[AR1]user[AR1]user-interfacev[AR1]user-interfacevty04[AR1-ui-vty0-4]id[AR1-ui-vty0-4]idle-timeout110\\先输入分,然后是秒。11、历史命令的配置11.1查看历史命令[AR1]displayhistory-command\\系统默认是保留10条。11.2修改保留历史命令[AR1]user[AR1]user-interfacec[AR1]user-interfaceconsole0[AR1-ui-console0]his[AR1-ui-console0]history-commandm[AR1-ui-console0]history-commandmax-size2012、配置接口命令[R1]int[R1]interfaceg[R1]interfaceGigabitEthernet0/0/0[R1-GigabitEthernet0/0/0]un[R1-GigabitEthernet0/0/0]undosh[R1-GigabitEthernet0/0/0]undoshutdownInfo:InterfaceGigabitEthernet0/0/0isnotshutdown.[R1-GigabitEthernet0/0/0]ip[R1-GigabitEthernet0/0/0]ipadd[R1-GigabitEt...