此贴初始是PIX OS 7.0
准备好升级文件“pix802.bin”,注意这里是.bin文件,如果你手头是.rar文件,先解压里面就有我们升级需要的.bin。在PC上安装Cisco TFTP Server,双击运行。将“pix802.bin”升级文件复制到Cisco TFTP Server的安装目录下。(有需要的话先将PIX原有OS导出,请执行“copy flash tftp”,这里不在详细介绍)
废话少说,准备升级。
首先把以前的OS擦掉,别犹豫! 执行“erase flash”(平时可不能用这命令哦,会闯祸的!!!)
pixfirewall#erase flash
执行完这条命令后千万千万要注意不要重启。接下来我们给eht1口配个IP:192.168.1.1,我们要用这个口跟PC机的网口相连。同样我们还要给PC机配置一个IP:192.168.1.100(这个IP 不用说了,要跟PIX的eth1在同一个网段),我们要在PC上用ping的命令验证与PIX的连通性。
pixfirewall# con t
pixfirewall(config)# interface ethernet1 --进入端口模式
pixfirewall(config-if)# ip address 192.168.1.1 255.255.255.0 --配置e1口的IP
pixfirewall(config-if)# nameif inside --配置e1口为防火墙的inside口
NFO: Security level for "inside" set to 100 by default. --提示信息
pixfirewall(config-if)# no shutdown --激活inside口
pixfirewall(config-if)# ping 192.168.1.100 --测试与PC机的连通性
Sending 5, 100-byte ICMP Echos to 192.168.1.100, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 ms
注意:如果不能ping通的话,我们需要在PIX上加一条默认路由指向PC的IP地址。
pixfirewall(config)# route inside 0 0 192.168.1.100
然后开始升级
pixfirewall# copy tftp flash 复制tftp里的文件到flash里
Address or name of remote host []? 192.168.1.100 升级文件所在的IP地址
Source filename []? pix802.bin 要复制的文件
Destination filename [pix802.bin]? 要放到flash里面显示的文件名
Accessing tftp://192.168.1.100/pix802.bin.. ... !!!!!!!!!!!!!!!!!!!
Writing file flash:/pix802.bin...
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!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!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
7188480 bytes copied in 140.770 secs (51346 bytes/sec)
pixfirewall# sh flash
Directory of flash:/
5
-rw-
7188480
01:20:07 Jan 01 1993
pix802.bin
15998976 bytes total (8808448 bytes free)
我们还有一个PIX图形化界面的包,以同样的方式复制到flash里。
pixfirewall# copy tftp flash
Address or name of remote host [192.168.1.100]?
Source filename [pix802.bin]? asdm-602.bin
Destination filename [asdm-602.bin]?
Accessing tftp://192.168.1.100/asdm-602.bin ... !!!!!!!!!!!!!!!!!!!
Writing file flash:/asdm-602.bin...
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!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!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
6889764 bytes copied in 149.320 secs (46240 bytes/sec)
pixfirewall#
pixfirewall# sh flash
Directory of flash:/5 -rw- 7188480 01:20:07 Jan 01 1993
pix802.bin 6 -rw- 6889764 01:25:10 Jan 01 1993
asdm-602.bin 15998976 bytes total (1918464 bytes free)
pixfirewall# sh ver
Cisco PIX Security Appliance Software Version 8.0(2)
Compiled on Fri 15-Jun-07 18:25 by builders
System image file is "flash:/pix802.bin"
Config file at boot was "startup-config"
pixfirewall up 22 secs
Hardware:
PIX-515, 160 MB RAM, CPU Pentium 200 MHz
Flash i28F640J5 @ 0x300, 16MB
BIOS Flash AT29C257 @ 0xfffd8000, 32KB
0: Ext: Ethernet0 : address is 0005.328f.8b88, irq 11
1: Ext: Ethernet1 : address is 0005.328f.8b89, irq 10
2: Ext: Ethernet2 : address is 00d0.b780.aaaf, irq 9
3: Ext: Ethernet3 : address is 8080.0080.d29c, irq 7
Licensed features for this platform:
Maximum Physical Interfaces: 6
Maximum VLANs: 25
Inside Hosts: Unlimited
Failover: Active/Active
VPN-DES: Enabled
VPN-3DES-AES: Enabled
Cut-through Proxy: Enabled
Guards: Enabled
URL Filtering: Enabled
Security Contexts: 2
GTP/GPRS: Disabled
VPN Peers: Unlimited
This platform has an Unrestricted (UR) license.
Serial Number: 480361230
Running Activation Key: 0xd87f8b0c 0xb0c161cb 0x7580dcb2 0xcc0a71de
Configuration has not been modified since last system restart. |