配置文件的备份和tftp服务器
<pc来操作路由器的配置>
 
Router>en
Router#configure terminal
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#int f0/0
Router(config-if)#ip add
Router(config-if)#ip address 10.1.1.1 255.255.255.0
Router(config-if)#no shut
Router(config-if)#no shutdown
 
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
Router(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
Router(config-if)#exit
      
Router(config)#end
%SYS-5-CONFIG_I: Configured from console by console
Router#ping 10.1.1.250
 
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.1.1.250, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 7/9/11 ms
 
Router#cop
Router#copy r
Router#copy running-config tftp
Address or name of remote host []? 10.1.1.250
Destination filename [Router-confg]?
!!
[OK - 329 bytes]
 
329 bytes copied in 0.018 secs (18000 bytes/sec)
Router#
Router#
Router#ping         ( 网络测试命令 )
Protocol [ip]:
Target IP address: 10.1.1.250
Repeat count [5]:
Datagram size [100]:
Timeout in seconds [2]:
Extended commands [n]: y
Source address or interface: 10.1.1.1
Type of service [0]:
Set DF bit in IP header? [no]:
Validate reply data? [no]:
Data pattern [0xABCD]:
Loose, Strict, Record, Timestamp, Verbose[none]:
Sweep range of sizes [n]:
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.1.1.250, timeout is 2 seconds:
Packet sent with a source address of 10.1.1.1
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 7/8/10 ms
 
Router#