1. 程式人生 > >路由COPY,DELETE,域名解析,域名伺服器小結

路由COPY,DELETE,域名解析,域名伺服器小結

COPY :

%Error copying nvram:yes (Invalid argument)
R1#copy running-config startup-config
Destination filename [startup-config]?
Building configuration…

DELETE:
R1#delete nvram:startup-config
Delete filename [startup-config]?
Delete nvram:startup-config? [confirm]
[OK]
R1#

關閉解析命令,關閉域名查詢
R1(config)#ip domain lookup
R1(config)#exit
R1#fkdlsf
Translating “fkdlsf”…domain server (255.255.255.255)

Translating “fkdlsf”…domain server (255.255.255.255)
(255.255.255.255)
Translating “fkdlsf”…domain server (255.255.255.255)
% Unknown command or computer name, or unable to find computer address
R1#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
R1(config)#no ip domain lookup
R1(config)#exit
R1#tisjlkd
Translating “tisjlkd”

Translating “tisjlkd”

Translating “tisjlkd”
% Unknown command or computer name, or unable to find computer address
R1#
Apr 12 20:38:35.919: %SYS-5-CONFIG_I: Configured from console by console

指定域名伺服器
R1(config)#ip name-server 114.114.114.114
R1#show running-config | inc 114
ip name-server 114.114.114.144

R1(config)#ip name-server ?
A.B.C.D Domain server IP address (maximum of 6)
vrf Specify VRF