| HCIP 数通02 基本命令 
 1.  设备命名 >sysname r1 2.  配置时间  >clock timezone BJ add 8:00:00 >clock datetime 16:01:00 2023-10-15 display clock  //查看时间 3.  配置标题信息 ]headerlogininformation "welcome to zurkj.com" //登录标题 ]headershellinformation "welcome to ipgzj.com" //登录成功标题 4.  配置命令等级 ]command-privilegelevel 5 view save 5.  配置设备仅通过密码登录 ]user-interface vty0 4 ]set authenticationpassword cipher Aa123456 6.  配置设备通用AAA用户登录 ]user-interfacevty 0 4 ]authentication-modeaaa 7.  配置本地用户 ]aaa ]local-user zurkj password cipher Aa123456 ]local-user zurkj privilege level 15 ]local-user zurkj service-type httptelnet ssh terminal 8.  配置用户界面参数 ]user-interface vty0 4 ]idle-timeout 10  //配置登录超过为10分钟 9.  配置接口地址 ]interfaceGigabitethernet 0/0/0  ]ip address192.168.1.10 24 10.    查看当前运行的配置文件 displaycurrent-configuration 11.    保存配置 >save  / >save all 12.    保存配置为(相当于另存配置文件) >save newconfig.cfg 13.    查看保存的配置 displaysaved-configuration  14.    消除保存的配置 >resetsaved-configuration  15.    查看系统启动配置参数 display startup 16.    配置系统下次启动时使用的配置文件 >startup saved-configurationnewconfig.cfg 17.    查看历史命令 displayhistory-command 18.    查看系统版本 display version 19.    重启设备 >reboot 
 
 |