一、先把部分配置配好(密码呀之类的,记得配置完保存)
interface FastEthernet0/0
ip address 192.168.1.1 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet0/1
no ip address
duplex auto
speed auto
shutdown
!
ip classless
!
ip flow-export version 9
line con 0
password 123
login
!
line aux 0
!
line vty 0 4
login
二、把文件上传到tftp服务器
Router#copy startup-config tftp: //上传开机系统配置文件到tftp服务器
Address or name of remote host []? 192.168.1.100 //服务器地址
Router#show flash: //查看flash文件
System flash directory:
File Length Name/status
4 5571584 c2600-i-mz.122-28.bin
[5571584 bytes used, 58444800 available, 64016384 total]
63488K bytes of processor board System flash (Read/Write)
********************************************************************
Router#copy flash: tftp: //把系统镜像文件上传到tftp服务器
Source filename []? c2600-i-mz.122-28.bin //上传的文件
Address or name of remote host []? 1