zoukankan      html  css  js  c++  java
  • 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

    验证一样。

  • 相关阅读:
    Mybatis学习记录
    北京信息科技大学第十一届程序设计竞赛E-- kotori和素因子(深搜)
    eclipse快捷键记录
    牛客小白月赛15A 斑羚飞渡
    台州学院第十二届校赛记录(B,C,E,H,I,J,L)
    3.13 模拟赛
    bzoj 4827 礼物
    bzoj 3252 攻略
    bzoj 5457 城市
    bzoj 3681 Arietta
  • 原文地址:https://www.cnblogs.com/MomentsLee/p/11254558.html
Copyright © 2011-2022 走看看