Avendo la necessità di installare un IOS che richiede 16MB di spazio sulla flash ho risolto con un piccolo stratagemma abbastanza semplice.
Avvio l'IOS di mio interesse da rete!!! (via ftp ).
Cisco infatti consente sia il boot da ftp che da tfpt.
In particolare avendo comunque un server linux sempre acceso, ho proceduto utilizzando l'utente anonymous impostando attraverso il comando
Codice: Seleziona tutto
boot system ftp C1700XXX-XXXX.bin INDIRIZZO_IP
Codice: Seleziona tutto
ip ftp username NOME_UTENTE
Codice: Seleziona tutto
ip ftp password PASSWORD_SCELTA
Spero che questo possa servire a qualcuno.
Una precisazione: nel mio caso il router essendo equipaggiato con una ENET,ho tentato il boot anche da essa ma non è andato a buon fine (sembra che durante la procedura di boot venga spenta e riaccesa compromettendo il boot, pertanto suggerisco di utilizzare sempre la scheda onboard
Per completezza vi posto l'intera configurazione
Codice: Seleziona tutto
version 12.3
no parser cache
service timestamps debug uptime
service timestamps log uptime
service password-encryption
!
hostname giano
!
boot-start-marker
boot system ftp c1700-k9o3sy7-mz.123-22.bin 192.168.1.252
boot-end-marker
!
enable secret 5 XXXXXXXXXXXXXXXXXXXXXX
!
memory-size iomem 25
clock timezone GTM 1
mmi polling-interval 60
no mmi auto-configure
no mmi pvc
mmi snmp-timeout 180
aaa new-model
!
!
aaa authentication login default local
aaa authorization exec default local
aaa authorization auth-proxy default local group CLIENTI
aaa session-id common
ip subnet-zero
!
!
ip name-server 212.216.172.62
ip dhcp excluded-address 192.168.2.254
!
ip dhcp pool CLIENT
network 192.168.2.0 255.255.255.0
default-router 192.168.2.254
dns-server 212.216.112.222 212.216.112.112
!
ip cef
ip auth-proxy name CLIENTI http auth-cache-time 5
ip audit po max-events 100
!
!
username root privilege 15 password 7 XXXXXXXXXXXXXXXXXXXXXX
!
!
ip ftp username anonymous
!
!
!
!
interface Ethernet0
description RETE CLIENTI
ip address 192.168.2.254 255.255.255.0
ip access-group 101 in
ip nat inside
ip auth-proxy CLIENTI
full-duplex
!
interface FastEthernet0
description RETE INTERNA
ip address 192.168.1.99 255.255.255.0
ip access-group 102 in
ip nat outside
speed auto
!
ip nat inside source list 101 interface FastEthernet0 overload
ip classless
ip route 0.0.0.0 0.0.0.0 FastEthernet0
no ip http server
no ip http secure-server
!
!
access-list 101 permit ip 192.168.2.0 0.0.0.255 any
access-list 101 permit icmp any any
access-list 101 permit tcp 0.0.0.0 255.255.255.0 any eq ftp
access-list 101 permit tcp 0.0.0.0 255.255.255.0 any eq www
access-list 101 deny ip any any
access-list 101 permit tcp 0.0.0.0 255.255.255.0 host 192.168.1.254
access-list 102 deny ip any any
!
!
!
line con 0
line aux 0
line vty 0 4
password 7 XXXXXXXXXXXXXXXXXXXXXX
line vty 5 15
!
ntp clock-period 17208501
ntp source FastEthernet0
ntp server 193.204.114.232
end