4500-X验证镜像完整性
Posted momentslee
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了4500-X验证镜像完整性相关的知识,希望对你有一定的参考价值。
1、配置IP地址:
Switch(config)#int f1
Switch(config-if)#ip add 10.1.1.1 255.255.255.0
Switch(config-if)#no shu
Switch(config-if)#no shutdown
Switch(config-if)#end
Switch#ping vrf mgmtVrf 10.1.1.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.1.1.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms
Switch(config)#ip tftp source-interface fastEthernet 1
2、开启TFTP Server并上传镜像到Switch:
Switch#copy tftp: bootflash:
Address or name of remote host [10.1.1.2]?
Source filename [cat4500e-universalk9.SPA.03.04.05.SG.151-2.SG5.bin]? cat4500e-universalk9.SPA.03.08.08.E.152-4.E8.bin
Destination filename [cat4500e-universalk9.SPA.03.08.08.E.152-4.E8.bin]?
Accessing tftp://10.1.1.2/cat4500e-universalk9.SPA.03.08.08.E.152-4.E8.bin...
Loading cat4500e-universalk9.SPA.03.08.08.E.152-4.E8.bin from 10.1.1.2 (via FastEthernet1): !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[OK - 190251324 bytes]
3、验证MD5
Switch#verify /md5 bootflash:/cat4500e-universalk9.SPA.03.08.08.E.152-4.E8.bin
..............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
《Suppress》
..........................................................................................................................................Done!
verify /md5 (bootflash:/cat4500e-universalk9.SPA.03.08.08.E.152-4.E8.bin) = 9b481bd9c03fd8fdcd5e9db3fce2f397
4、思科官网镜像MD5值:
MD5 Checksum : | 9b481bd9c03fd8fdcd5e9db3fce2f397 |
验证一样。
以上是关于4500-X验证镜像完整性的主要内容,如果未能解决你的问题,请参考以下文章