ccna的命令有很多,常用的有configure terminal(进入全局模式)、enable secret password(设置启用加密口令)、No debug all(关闭所有debug进程)、hostname wolf(给路由器改名)。
常用的ccna命令如下可参考。 hostname wolf :给路由器改名configure terminal :进入全局模式no ip domain-lookup :关闭域名查询logging synchronous :防止弹出信息干扰输入exec-time 0 0 或 no exec-time :设置控制台会话永不超时enable secret password :设置启用加密口令例:enable secret 12345Enable password password :设置启用口令(级别比启用口令低)Enable secret level 1~15 password 在switch1900上用设主控制台口令Line console 0Password ciscoLogin设辅助控制台口令Line aux 0Password ciscoLogin设远程登录口令Line vty 0 4Password ciscoLoginService password-encryption 所有口令加密Show controllers serial 0 :查看接口是DCE还是DTE用这一命令Show interface interface :查看接口信息Show ip interface interface :查看接口的协议信给DCE配时钟:Int s0Clock rate 1000000Show cdp neighbors :显示邻居设备Show cdp neighbors detail :显示邻居细节No cdp enable :关闭CDP通告Debug cdp packetsNo debug cdp packetsNo debug all :关闭所有debug进程Undebug all :关闭所有debug进程