思科路由器打错命令等几秒?要马上终止它按哪几个键?

2025年03月22日 13:29
有1个网友回答
网友(1):

不同命令等待时间应该是不一样的。

如果它是把你输入的字符当域名解析了。你只要关闭域名解析即可,命令为:

no ip domain-lookup

不然就按ctrl+shift+6吧

注:

需要提前配置line console 0 (进入console设置) 

logging synchronus(日志同步)

no ip domain-lookup (避免错误命令被解析导致等待)

在输入命令的操作前先配置,才有效。

思科路由器相关配置命令:

switch>      用户模式

1、进入特权模式:

enable
switch>enable
switch#

2、进入全局配置模式 : 

configure terminal
switch>enable
switch#c onfigure terminal
switch(conf)#

3、交换机命名:

hostname aptech2950      //以aptech2950为例
switch>enable
switch#c onfigure terminal
switch(conf)#hostnameaptch-2950
aptech2950(conf)#



4、配置使能口令:

enable password cisco     以cisco为例
switch>enable
switch#c onfigure terminal
switch(conf)#hostnameaptch2950
aptech2950(conf)#enable password cisco