no ip domain-lookup 是什么意思?
当你敲入一个不能识别的命令时,它不会去向查找域名一样,去搜DNS服务器。
如果在你的网络中没有DNS服务器的话,那么在配置router的时候最好写上该句,因为我们都不是专业的打字员,在输入命令的时候难免出现错误,如果没有该句话,就会造成不必要的延时。
no ip domain-lookup:告诉Router不要对它不知道的字符串做DNS解析,否则当你敲错命令的时候,它就会傻找。
///
关闭no ip domain-lookup 命令出错不会出现"...domain server"
R2#configg
 Translating "configg"...domain server (255.255.255.255)
 (255.255.255.255)
 Translating "configg"...domain server (255.255.255.255)
 % Unknown command or computer name, or unable to find computer address
 R2#config t
 Enter configuration commands, one per line. End with CNTL/Z.
 R2(config)#no ip d loo
 % Ambiguous command: "no ip d loo"
 R2(config)#no ip do loo
 R2(config)#exit
 R2#
 *Nov 4 15:39:07.967: %SYS-5-CONFIG_I: Configured from console by consolecon
 % Ambiguous command: "con"
 R2#cinfigg
 Translating "cinfigg"
Translating "cinfigg"
 % Unknown command or computer name, or unable to find computer address
3Q------ weishiqi47
转载于:https://blog.51cto.com/tingfeng/787175