1720-adsl#copy running-config tftp: Address or name of remote host [ ]? 192.168.1.1 Destination filename [1720-adsl-confg]? ..... 1720-adsl# 1720-adsl#show flash: System flash directory: File Length Name/status 1 7517112 c1700-ipbase-mz.123-6c.bin [7517176 bytes used, 9260040 available, 16777216 total] 16384K bytes of processor board System flash (Read/Write) 1720-adsl#copy flash tftp Source filename [ ]? c1700-ipbase-mz.123-6c.bin Address or name of remote host [ ]? 192.168.1.1 Destination filename [c1700-ipbase-mz.123-6c.bin]? ..... 1720-adsl#Having saved your original ios image and config, you will need to open up the 1720 to replace the flash chip and insert the DRAM simm. Obviously you will not have an image on the new flash chip unless one was already in place, the commands copy tftp flash & copy tftp running-config will copy the other way round, from your tftp server to the router. The ios image will save in flash automatically, but you will have to do a copy running-config startup-config command to save the config after editing it to suit.
1720-adsl#show ip interface brief Interface IP-Address OK? Method Status Protocol ATM0 unassigned YES NVRAM up up Dialer0 aa.bb.cc.dd YES IPCP up up FastEthernet0 aa.bb.cc.dd YES NVRAM up up Virtual-Access1 unassigned YES unset up up Virtual-Access2 unassigned YES unset up up 1720-adsl#If you are familiar with IOS, the config below will be fairly obvious, if you have used ISDN, the dialer part will seem familiar. The explanation below is somewhat abridged, IOS puts some lines in as defaults, and I will not explain obvious settings anyway...... The config first sets the hostname, and the ATM0 & FastEthernet0 interfaces. The Dialer0 is a virtual interface to hold the ppp config settings for authentication.
1720-adsl#sh run Building configuration... Current configuration : 1459 bytes ! ! No configuration change since last restart ! version 12.3 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname 1720-adsl ! boot-start-marker boot-end-marker ! enable secret 5 Guess-me-xxxxxxxxxxxxx ! memory-size iomem 25 clock timezone GMT 0 clock summer-time BST recurring 4 Sun Mar 1:00 4 Sun Oct 2:00 mmi polling-interval 60 no mmi auto-configure no mmi pvc mmi snmp-timeout 180 ip subnet-zero ip cef ! ip domain list xxxxx.co.uk no ip domain lookup ip domain name xxxxx.co.uk ip name-server xx.xx.xx.xx ip name-server yy.yy.yy.yy no ftp-server write-enable ! ! interface ATM0 no ip address no atm ilmi-keepalive dsl operating-mode auto dsl enable-training-log pvc 0/38 encapsulation aal5mux ppp dialer dialer pool-member 1 ! ! interface FastEthernet0 ip address zz.zz.zz.zz 255.255.255.248 speed auto ! interface Dialer0 ip address negotiated encapsulation ppp dialer pool 1 dialer-group 1 ppp chap hostname guess-me ppp chap password 0 guess-me-as-well ! ip classless ip route 0.0.0.0 0.0.0.0 Dialer0 no ip http server ! access-list 23 permit bb.bb.bb.bb log access-list 23 deny any log dialer-list 1 protocol ip permit ! line con 0 password top-secret line aux 0 line vty 0 4 access-class 23 in password top-secret login ! ntp clock-period 17179765 ntp server aa.aa.aa.aa ! end 1720-adsl#
version 12.3 no service pad service timestamps debug datetime localtime show-timezone service timestamps log datetime localtime show-timezone service password-encryption ! hostname myrouter ! boot-start-marker boot-end-marker ! logging buffered 8192 debugging no logging console enable secret 5 trytoguessme ! clock timezone GMT 0 clock summer-time BST recurring last Sun Mar 2:00 last Sun Oct 3:00 mmi polling-interval 60 no mmi auto-configure no mmi pvc mmi snmp-timeout 180 no aaa new-model ip subnet-zero ip cef ! ! interface ATM0 no ip address no atm ilmi-keepalive dsl equipment-type CPE dsl operating-mode GSHDSL symmetric annex B dsl linerate AUTO pvc 0/38 encapsulation aal5mux ppp dialer dialer pool-member 1 ! ! interface FastEthernet0 ip address aa.bb.cc.dd 255.255.255.224 speed auto ! interface Dialer0 ip address negotiated encapsulation ppp dialer pool 1 dialer-group 1 ppp chap hostname yourusername@yourisp.com ppp chap password 7 guessmeaswell ! ip classless ip route 0.0.0.0 0.0.0.0 Dialer0 no ip http server ! access-list 23 permit ee.ff.gg.hh access-list 23 deny any log dialer-list 1 protocol ip permit ! line con 0 stopbits 1 line aux 0 line vty 0 4 access-class 23 in password 7 anotherguess login ! scheduler max-task-time 5000 ntp clock-period 121793462 ntp server 62.232.4.232 ! end