fateame 发表于 2018-7-25 08:32:10

华为交换机打补丁

  步骤 1 设置设备为FTP服务器
  在S-switch上启动FTP服务,并配置FTP用户名ftpuser,口令ftppwd。
  system-view
   ftp server enable
   aaa
   local-user ftpuser password simple ftppwd
   local-user ftpuser service-type ftp
   local-user ftpuser ftp-directory flash:/
   return
  步骤 2   配置设备IP
  system-view
   vlan 10
   port ethernet 0/0/1   空闲业务网口
   quit
   interface vlanif 10
   ip address 1.1.1.1 24
   quit
  
  步骤 3   登录FTP服务器(S-switch)
  在PC上执行ftp ip-address命令,与设备建立FTP连接,并进入FTP客户端视图。
  D:\>ftp 1.1.1.1
  Connected to 1.1.1.1.
  220 FTP service ready.
  User (1.1.1.2:(none)): ftpuser
  331 Password required for 1.
  Password:
  230 User logged in.
  ftp>
  步骤 4   下载S2300产品系统软件
  在FTP客户端(PC)上执行put source-filename [ destination-filename ],从PC上传VRP系统软件。上传结束后,执行bye命令,断开ftp连接,返回用户视图。
  竞pat文件保存到D:路径下
  ftp> put "D:\s23_33_53-v100r002sph009.pat"
  200 Port command okay.
  150 Opening ASCII mode data connection for s23_33_53-v100r002sph009.pat.
  226 Transfer complete.
  ftp: 发送 4940436 字节,用时 35.10Seconds 140.76Kbytes/sec.
  ftp> bye
  221 Server closing.
  D:\>
  下面是安装的过程!
  请按照下面的步骤完成补丁包文件的安装。
  步骤 1   将补丁下载到FLASH中
  通过FTP方式或串口方式将补丁下载到FLASH中。
  步骤 2   加载补丁包文件
  patch load s23_33_53-v100r002sph009.pat
  Info: Patch load successfully on master board.
  步骤 3   激活补丁
  patch active
  Info: Patch active successfully on master board.
  步骤 4   运行补丁
  patch run
  Info: Patch run successfully on master board.
  ---结束
页: [1]
查看完整版本: 华为交换机打补丁