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

    验证一样。

  • 相关阅读:
    统一前后台数据交互格式
    volatile关键字 学习记录2
    利用AOP与ToStringBuilder简化日志记录
    JAVA的那些数据结构实现总结,实现,扩容说明
    JAVA中的数据结构
    对把JDK源码的一些注解,笔记
    分析下为什么spring 整合mybatis后为啥用不上session缓存
    JAVA内存关注总结,作为个程序员需要对自己系统的每块内存做到了如指掌
    写颗搜索二叉树动动脑,开启今年的旅程,新年快乐
    内存快照排查OOM,加密时错误方法指定provider方式错误引起的OOM
  • 原文地址:https://www.cnblogs.com/MomentsLee/p/11254558.html
Copyright © 2011-2022 走看看