返回顶部
首页 > 资讯 > 后端开发 > Python >交换机升级 h3c_520
  • 652
分享到

交换机升级 h3c_520

交换机 2023-01-31 03:01:52 652人浏览 安东尼

Python 官方文档:入门教程 => 点击学习

摘要

  一要求 :给公司交换机升级版本,使其更能更强大   二 实施前准备 若用笔记本 需要usb 转9针串口 或者需要 一台有com口台式机 服务器(vm)一台 开通ftp 两、三根网线 Xp 装有crt 远程连接工具 三 实施 当前用的是笔

 

一要求 :给公司交换机升级版本,使其更能更强大
 
二 实施前准备
若用笔记本 需要usb 转9针串口 或者需要 一台有com口台式机
服务器(vm)一台 开通ftp
两、三根网线
Xp 装有crt 远程连接工具
三 实施
当前用的是笔记本一台(ip 22.72.42.155),装有虚拟机linux (22.72.42.154),开通ftp服务器;
台式机一台 带有9针串口,装有xp系统
笔记本 、台式机连接交换机,vm linux 桥接模式
1 crt 快速连接---- 协议 Serial;端口 com1;波特率 9600;数据流控制全部取消
连接后登录 h3c
 
<H3C>dir /all                       查看h3c 里面的资料
Directory of flash:/
 
   0     -rw- 10184320 Jun 29 2010 14:14:25   s5120si-cmw520-r1101p10.bin
   1     drw-         - Apr 26 2000 12:00:02   logfile
 
97920 KB total (86818 KB free)
 
 
     ^
 % Unrecognized command found at '^' position.
<H3C>dis ver                       显示版本号
H3C Comware PlatfORM Software
Comware Software, Version 5.20, Release 1101P10
Copyright (c) 2004-2010 Hangzhou H3C Tech. Co., Ltd. All rights reserved.
H3C S5120-28P-SI uptime is 0 week, 0 day, 0 hour, 22 minutes
 
H3C S5120-28P-SI
128M    bytes DRAM
128M    bytes Nand Flash Memory
Config ReGISter points to Nand Flash
 
Hardware Version is REV.B
CPLD Version is 002
Bootrom Version is 119
[SubSlot 0] 24GE+4SFP Hardware Version is REV.B
 
<H3C>sys      进入
System View: return to User View with Ctrl+Z.
[H3C]int vlan 1
 [H3C-Vlan-interface1]ip add 22.72.42.157 255.255.254.0
 [H3C-Vlan-interface1]ping 22.72.42.154
 PING 22.72.42.154: 56 data bytes, press CTRL_C to break
    Reply from 22.72.42.154: bytes=56 Sequence=1 ttl=64 time=5 ms
    Reply from 22.72.42.154: bytes=56 Sequence=2 ttl=64 time=1 ms
    Reply from 22.72.42.154: bytes=56 Sequence=3 ttl=64 time=1 ms
    Reply from 22.72.42.154: bytes=56 Sequence=4 ttl=64 time=1 ms
    Reply from 22.72.42.154: bytes=56 Sequence=5 ttl=64 time=1 ms
 
 --- 22.72.42.154 ping statistics ---
    5 packet(s) transmitted
    5 packet(s) received
    0.00% packet loss
    round-trip min/avg/max = 1/1/5 ms
 
需要推出 然后登录ftp                    ^
[H3C-Vlan-interface1]ftp 22.72.42.154
                     ^
 % Unrecognized command found at '^' position.
[H3C-Vlan-interface1]tftp 22.72.42.154
                     ^
 % Unrecognized command found at '^' position.
[H3C-Vlan-interface1]quit
[H3C]quit
<H3C>ftp 22.72.42.154             连接服务器 下载版本
Trying 22.72.42.154 ...
Press CTRL+K to abort
Connected to 22.72.42.154.
220 (vsFTPd 2.0.5)
User(22.72.42.154:(none)):root
331 Please specify the passWord.
Password:
230 Login successful.
 
[ftp]ls
227 Entering Passive Mode (22,72,42,154,149,40)
150 Here comes the directory listing.
Desktop
S5120SI_E-CMW520-R1505P05.bin
anaconda-ks.cfg
install.log
install.log.syslog
226 Directory send OK.
FTP: 90 byte(s) received in 0.140 second(s), 642.00 byte(s)/sec.
[ftp]get S5120SI_E-CMW520-R1505P05.bin   S5120SI_E-CMW520-R1505P05.bin
 
227 Entering Passive Mode (22,72,42,154,167,94)
150 Opening BINARY mode data connection for S5120SI_E-CMW520-R1505P05.bin (13488280 bytes).
226 File send OK.
FTP: 13488280 byte(s) received in 28.906 second(s), 466.00K byte(s)/sec.
 
[ftp]quit
221 Goodbye.
 
<H3C>dir
Directory of flash:/
 
   0     -rw- 13488280 Apr 26 2000 16:57:01   s5120si_e-cmw520-r1505p05.bin
   1     -rw- 10184320 Jun 29 2010 14:14:25   s5120si-cmw520-r1101p10.bin
   2     drw-         - Apr 26 2000 12:00:02   logfile
 
97920 KB total (73642 KB free)
 
<H3C>boot-loader file S5120SI_E-CMW520-R1505P05.bin main    # main 后面加一个空格然后回车
 This command will set the boot file. Continue? [Y/N]:y
 The specified file will be used as the main boot file at the next reboot on slot 1!
<H3C>reboot
 Start to check configuration with next startup configuration file, please wait.........DONE!
 This command will reboot the device. Current configuration may be lost in next startup if you continue. Continue? [Y/N]:y
#Apr 26 16:59:14:655 2000 H3C DEV/1/REBOOT:
 Reboot device by command.
 
%Apr 26 16:59:14:740 2000 H3C DEV/4/SYSTEM REBOOT:
 System is rebooting now.
 
Starting......
 
    ************************************************************************
    *                                                                      *
    *               H3C S5120-28P-SI BOOTROM, Version 119                  *
    *                                                                      *
    ************************************************************************
    Creation Date       : Feb 3 2010
    CPU L1 Cache        : 32KB
    CPU Clock Speed     : 333MHz
    Memory Size         : 128MB
    Flash Size          : 128MB
    CPLD Version        : 002
    PCB Version         : Ver.B
    Mac Address         : C4CAD99F6E68
 
 
Press Ctrl-B to enter Extended Boot menu...0
Starting to get the main application
file--flash:/S5120SI_E-CMW520-R1505P05.bin!....................................
...................................................................
The main application file is self-decompressing................................
...............................................................................
.......................................................Done!
Extend BootWare Version is not equal,updating? (Y/N):Y
Updating extended BootRom...Done!
Basic BootWare Version is not equal,updating? (Y/N):
Updating Basic BootRom...Done!
BootWare updated,System is rebooting now.
Starting......
 
********************************************************************************
*                                                                              *
*                    H3C S5120-28P-SI BOOTROM, Version 139                     *
*                                                                              *
********************************************************************************
Copyright (c) 2004-2011 Hangzhou H3C Technologies Co., Ltd.
 
Creation Date       : May 5 2011
CPU L1 Cache        : 32KB
CPU Clock Speed     : 333MHz
Memory Size         : 128MB
Flash Size          : 128MB
CPLD Version        : 002
PCB Version         : Ver.B
Mac Address         : C4CAD99F6E68
 
 
the normal and back basic is not equal, update back basic....
the normal and back extend is not equal, update back extend....
Press Ctrl-B to enter Extended Boot menu...0
Starting to get the main application file--flash:/S5120SI_E-CMW520-R1505P05.
bin!............................................................................
...........................
The main application file is self-decompressing.................................
................................................................................
.....................................................Done!
System is starting...
Startup configuration file does not exist.
User interface aux0 is available.
 
 
 
Press ENTER to get started.
<H3C>
#Apr 26 12:01:36:389 2000 H3C shell/4/LOGIN:
 Trap 1.3.6.1.4.1.25506.2.2.1.1.3.0.1<hh3cLogIn>: login from Console
%Apr 26 12:01:36:528 2000 H3C SHELL/5/SHELL_LOGIN: Console logged in from aux0.
% Unrecognized command found at '^' position.
<H3C>dis ver   看版本
H3C Comware Platform Software
Comware Software, Version 5.20, Release 1505P05
Copyright (c) 2004-2011 Hangzhou H3C Tech. Co., Ltd. All rights reserved.
H3C S5120-28P-SI uptime is 0 week, 0 day, 0 hour, 2 minutes
 
H3C S5120-28P-SI
128M    bytes DRAM
128M    bytes Nand Flash Memory
Config Register points to Nand Flash
 
Hardware Version is REV.B
CPLD Version is 002
Bootrom Version is 139
[SubSlot 0] 24GE+4SFP Hardware Version is REV.B
 
 
******************************************************************************
* Copyright (c) 2004-2011 Hangzhou H3C Tech. Co., Ltd. All rights reserved. *
* Without the owner's prior written consent,                                 *
* no decompiling or reverse-engineering shall be allowed.                    *
******************************************************************************
 
User interface aux0 is available.
 
 
 
Please press ENTER.
 
<H3C> 完成
一要求 :给公司交换机升级版本,使其更能更强大
 
二 实施前准备
若用笔记本 需要usb 转9针串口 或者需要 一台有com口台式机
服务器(vm)一台 开通ftp
两、三根网线
Xp 装有crt 远程连接工具
三 实施
当前用的是笔记本一台(ip 22.72.42.155),装有虚拟机linux (22.72.42.154),开通ftp服务器;
台式机一台 带有9针串口,装有xp系统
笔记本 、台式机连接交换机,vm linux 桥接模式
1 crt 快速连接---- 协议 Serial;端口 com1;波特率 9600;数据流控制全部取消
连接后登录 h3c
 
<H3C>dir /all                       查看h3c 里面的资料
Directory of flash:/
 
   0     -rw- 10184320 Jun 29 2010 14:14:25   s5120si-cmw520-r1101p10.bin
   1     drw-         - Apr 26 2000 12:00:02   logfile
 
97920 KB total (86818 KB free)
 
 
     ^
 % Unrecognized command found at '^' position.
<H3C>dis ver                       显示版本号
H3C Comware Platform Software
Comware Software, Version 5.20, Release 1101P10
Copyright (c) 2004-2010 Hangzhou H3C Tech. Co., Ltd. All rights reserved.
H3C S5120-28P-SI uptime is 0 week, 0 day, 0 hour, 22 minutes
 
H3C S5120-28P-SI
128M    bytes DRAM
128M    bytes Nand Flash Memory
Config Register points to Nand Flash
 
Hardware Version is REV.B
CPLD Version is 002
Bootrom Version is 119
[SubSlot 0] 24GE+4SFP Hardware Version is REV.B
 
<H3C>sys      进入
System View: return to User View with Ctrl+Z.
[H3C]int vlan 1
 [H3C-Vlan-interface1]ip add 22.72.42.157 255.255.254.0
 [H3C-Vlan-interface1]ping 22.72.42.154
 PING 22.72.42.154: 56 data bytes, press CTRL_C to break
    Reply from 22.72.42.154: bytes=56 Sequence=1 ttl=64 time=5 ms
    Reply from 22.72.42.154: bytes=56 Sequence=2 ttl=64 time=1 ms
    Reply from 22.72.42.154: bytes=56 Sequence=3 ttl=64 time=1 ms
    Reply from 22.72.42.154: bytes=56 Sequence=4 ttl=64 time=1 ms
    Reply from 22.72.42.154: bytes=56 Sequence=5 ttl=64 time=1 ms
 
 --- 22.72.42.154 ping statistics ---
    5 packet(s) transmitted
    5 packet(s) received
    0.00% packet loss
    round-trip min/avg/max = 1/1/5 ms
 
需要推出 然后登录ftp                    ^
[H3C-Vlan-interface1]ftp 22.72.42.154
                     ^
 % Unrecognized command found at '^' position.
[H3C-Vlan-interface1]tftp 22.72.42.154
                     ^
 % Unrecognized command found at '^' position.
[H3C-Vlan-interface1]quit
[H3C]quit
<H3C>ftp 22.72.42.154             连接服务器 下载版本
Trying 22.72.42.154 ...
Press CTRL+K to abort
Connected to 22.72.42.154.
220 (vsFTPd 2.0.5)
User(22.72.42.154:(none)):root
331 Please specify the password.
Password:
230 Login successful.
 
[ftp]ls
227 Entering Passive Mode (22,72,42,154,149,40)
150 Here comes the directory listing.
Desktop
S5120SI_E-CMW520-R1505P05.bin
anaconda-ks.cfg
install.log
install.log.syslog
226 Directory send OK.
FTP: 90 byte(s) received in 0.140 second(s), 642.00 byte(s)/sec.
[ftp]get S5120SI_E-CMW520-R1505P05.bin   S5120SI_E-CMW520-R1505P05.bin
 
227 Entering Passive Mode (22,72,42,154,167,94)
150 Opening BINARY mode data connection for S5120SI_E-CMW520-R1505P05.bin (13488280 bytes).
226 File send OK.
FTP: 13488280 byte(s) received in 28.906 second(s), 466.00K byte(s)/sec.
 
[ftp]quit
221 Goodbye.
 
<H3C>dir
Directory of flash:/
 
   0     -rw- 13488280 Apr 26 2000 16:57:01   s5120si_e-cmw520-r1505p05.bin
   1     -rw- 10184320 Jun 29 2010 14:14:25   s5120si-cmw520-r1101p10.bin
   2     drw-         - Apr 26 2000 12:00:02   logfile
 
97920 KB total (73642 KB free)
 
<H3C>boot-loader file S5120SI_E-CMW520-R1505P05.bin main    # main 后面加一个空格然后回车
 This command will set the boot file. Continue? [Y/N]:y
 The specified file will be used as the main boot file at the next reboot on slot 1!
<H3C>reboot
 Start to check configuration with next startup configuration file, please wait.........DONE!
 This command will reboot the device. Current configuration may be lost in next startup if you continue. Continue? [Y/N]:y
#Apr 26 16:59:14:655 2000 H3C DEV/1/REBOOT:
 Reboot device by command.
 
%Apr 26 16:59:14:740 2000 H3C DEV/4/SYSTEM REBOOT:
 System is rebooting now.
 
Starting......
 
    ************************************************************************
    *                                                                      *
    *               H3C S5120-28P-SI BOOTROM, Version 119                  *
    *                                                                      *
    ************************************************************************
    Creation Date       : Feb 3 2010
    CPU L1 Cache        : 32KB
    CPU Clock Speed     : 333MHz
    Memory Size         : 128MB
    Flash Size          : 128MB
    CPLD Version        : 002
    PCB Version         : Ver.B
    Mac Address         : C4CAD99F6E68
 
 
Press Ctrl-B to enter Extended Boot menu...0
Starting to get the main application
file--flash:/S5120SI_E-CMW520-R1505P05.bin!....................................
...................................................................
The main application file is self-decompressing................................
...............................................................................
.......................................................Done!
Extend BootWare Version is not equal,updating? (Y/N):Y
Updating extended BootRom...Done!
Basic BootWare Version is not equal,updating? (Y/N):
Updating Basic BootRom...Done!
BootWare updated,System is rebooting now.
Starting......
 
********************************************************************************
*                                                                              *
*                    H3C S5120-28P-SI BOOTROM, Version 139                     *
*                                                                              *
********************************************************************************
Copyright (c) 2004-2011 Hangzhou H3C Technologies Co., Ltd.
 
Creation Date       : May 5 2011
CPU L1 Cache        : 32KB
CPU Clock Speed     : 333MHz
Memory Size         : 128MB
Flash Size          : 128MB
CPLD Version        : 002
PCB Version         : Ver.B
Mac Address         : C4CAD99F6E68
 
 
the normal and back basic is not equal, update back basic....
the normal and back extend is not equal, update back extend....
Press Ctrl-B to enter Extended Boot menu...0
Starting to get the main application file--flash:/S5120SI_E-CMW520-R1505P05.
bin!............................................................................
...........................
The main application file is self-decompressing.................................
................................................................................
.....................................................Done!
System is starting...
Startup configuration file does not exist.
User interface aux0 is available.
 
 
 
Press ENTER to get started.
<H3C>
#Apr 26 12:01:36:389 2000 H3C SHELL/4/LOGIN:
 Trap 1.3.6.1.4.1.25506.2.2.1.1.3.0.1<hh3cLogIn>: login from Console
%Apr 26 12:01:36:528 2000 H3C SHELL/5/SHELL_LOGIN: Console logged in from aux0.
% Unrecognized command found at '^' position.
<H3C>dis ver   看版本
H3C Comware Platform Software
Comware Software, Version 5.20, Release 1505P05
Copyright (c) 2004-2011 Hangzhou H3C Tech. Co., Ltd. All rights reserved.
H3C S5120-28P-SI uptime is 0 week, 0 day, 0 hour, 2 minutes
 
H3C S5120-28P-SI
128M    bytes DRAM
128M    bytes Nand Flash Memory
Config Register points to Nand Flash
 
Hardware Version is REV.B
CPLD Version is 002
Bootrom Version is 139
[SubSlot 0] 24GE+4SFP Hardware Version is REV.B
 
 
******************************************************************************
* Copyright (c) 2004-2011 Hangzhou H3C Tech. Co., Ltd. All rights reserved. *
* Without the owner's prior written consent,                                 *
* no decompiling or reverse-engineering shall be allowed.                    *
******************************************************************************
 
User interface aux0 is available.
 
 
 
Please press ENTER.
 
<H3C> 完成
 

--结束END--

本文标题: 交换机升级 h3c_520

本文链接: https://lsjlt.com/news/187496.html(转载时请注明来源链接)

有问题或投稿请发送至: 邮箱/279061341@qq.com    QQ/279061341

猜你喜欢
  • 交换机升级 h3c_520
      一要求 :给公司交换机升级版本,使其更能更强大   二 实施前准备 若用笔记本 需要usb 转9针串口 或者需要 一台有com口台式机 服务器(vm)一台 开通ftp 两、三根网线 Xp 装有crt 远程连接工具 三 实施 当前用的是笔...
    99+
    2023-01-31
    交换机
  • H3C 交换机升级说明
    下文关于通过命令行升级的内容均以两台设备形成IRF(Intelligent Resilient Framework,智能弹性架构)的情况为例进行介绍。 如果用户升级的是单台设备,忽略有关Standby设备的配置即可; 如果用户升级的I...
    99+
    2023-01-31
    交换机 H3C
  • H3C交换机升级方法步骤
    H3C交换机升级方法步骤 打400找官方要适合你的交换机型号的稳定版本文件,下载下来。(如果过保,可以用你没过保的建单哦,会给你版本文件,但是升级过程出现问题不给解决)我以S5800为例,此交换机比较老。V5、V7版本都适用哦,方法一样的。...
    99+
    2023-08-31
    服务器 linux 网络
  • h3c交换机-初级命令
      实验环境 交换机 h3c S3600-28TP-SI h3c S5024E 参考文档 H3C_S3600_v1510 手册 H3C_S5000E 手册 网上其他热心网友的配置文档...
    99+
    2023-01-31
    交换机 命令 h3c
  • python跟H3C 5024E交换机交
    # coding: utf8import re, sysimport pexpect# enable/disable debug modeDEBUG = Falsedef telnet_login(ip, pwd, cmd, ps):   ...
    99+
    2023-01-31
    交换机 python H3C
  • h3c交换机gvrp
    一、GARP简介: GARP提供了一种机制,用于协助同一个局域网内的交换成员之间分发、传播和注册某种信息(如VLAN、组播地址等)。GARP本身不作为一个实体存在于设备中,遵循GARP协议的应用实体称为GARP应用,GVRP就是GARP的一...
    99+
    2023-01-31
    交换机 h3c gvrp
  • 汇聚交换机和核心交换机有哪些区别
    这篇文章主要介绍了汇聚交换机和核心交换机有哪些区别的相关知识,内容详细易懂,操作简单快捷,具有一定借鉴价值,相信大家阅读完这篇汇聚交换机和核心交换机有哪些区别文章都会有所收获,下面我们一起来看看吧。区别:1、核心交换机是部署于核心层的交换机...
    99+
    2023-06-29
  • H3C交换机做DHCP
    今天给一个H3C S5500-28C-EI做DHCP,由于以前做华三设备很少,所以找了很多配置资料,终于在网上找到了一篇,挺实用,分享一下   #给Vlan定义地址并配置其工作在服务器模式 interface Vlan-inter...
    99+
    2023-01-31
    交换机 H3C DHCP
  • 管理H3C交换机
    一、配置交换机的vlan管理ip地址。 1,进入系统视图 <H3C> system-view 2,创建VLAN 1,并指定VLAN 1为交换机的管理VLAN [H3C] vlan 1&...
    99+
    2023-01-31
    交换机 H3C
  • 交换机生成树STP
    生成树协议(spanning-tree-protocol,stp):在具有物理环路的交换机网络上生成没有回路的逻辑网络的方法,生成树协议使用生成树算法,在一个具有冗余路径的容错网络中计算出一个无环路的路径,使一部分端口处于转发状态,另一部分...
    99+
    2023-09-15
    网络 php 开发语言
  • H3C 交换机配置SSH
    一.设备作为 SSH 服务器端设置 # 生成 RSA 密钥对。system-view // 进入系统视图System View: return to User View with Ctrl+Z.[H3C]public-key local ...
    99+
    2023-09-08
    ssh 网络 H3C交换机
  • python3备份juniper交换机
    #!/usr/bin/env python3# -*- coding: utf-8 -*-"""  Author:  Linxy -- <592901071@qq.com>  Purpose: Juniper备份脚本  Crea...
    99+
    2023-01-31
    交换机 备份 juniper
  • 3层交换机做DPCP
    实验名称:3层交换机开启DHCP功能实验目的:实现PC0-PC3均可以通过3层交换机DHCP功能获取IP实现环境: 终端设备:PC0:192.168.10.0/24 vlan10PC1:192.168.20.0/24 vlan20PC2...
    99+
    2023-01-31
    交换机 DPCP
  • h3c交换机配置(下)
    六、以太网安全技术   (一) 以太网ACL控制 1、ACL匹配原则 (1)支持两种匹配顺序 配置顺序:根据配置规则的先后顺序进行规则匹配自动排序:根据“深度优先”的顺序进行规则匹配。即越详细的越最先匹配。 (2)基本ACL的“深度优先”顺...
    99+
    2023-01-31
    交换机 h3c
  • 华为交换机配置ACL
    一、创建ACL acl 3050  rule 5 deny tcp source 10.1.0.100 0 destination 192.168.40.15 0 destination-port eq www    /拒绝10.1.0.1...
    99+
    2023-09-06
    java 服务器 开发语言
  • 华三交换机DHCP配置
    拓扑图 配置步骤 1、创建vlan,配置端口所属VLAN和对应VLAN接口的IP地址,IP地址即是对应VLAN的网关地址 vlan 2 to 4 # interface GigabitEthernet1/0/1  port link-mo...
    99+
    2023-08-31
    网络 服务器 tcp/ip
  • 华为交换机命令(3)
    华为交换机命令\07-stp命令.pdf   华为交换机命令\08-安全命令.pdf   华为交换机命令\09-网络协议命令.pdf...
    99+
    2023-01-31
    华为 交换机 命令
  • GNS3模拟交换机与PC
    在GNS3中模拟交换机和PC一.目标:使用ios c3640交换模块,模拟交换机二.使用VPCS模拟PC机步骤1.启动GNS3软件2.点击 编辑--->图标管理,出现如下对话框3.按图中步骤设置,即可完成交换机配置4.步骤3完成后,在...
    99+
    2023-01-31
    交换机 PC
  • H3C交换机型号区分
    H3C S5500-28C-EIH3C:厂商品牌S代表交换机,如果是SR代表业务路由器第一个5代表千兆交换机,如果是3代表千兆上行,百兆下行。如果是7代表高端箱式交换机。9代表核心箱式交换机第二个5代表是三层交换还是二层,大于等于5为路由交...
    99+
    2023-01-31
    交换机 型号 H3C
  • h3c限制交换机流量
    华为三层交换机如何限制某端口的流量(华为交换机端口限速配置说明) 2008-03-28 22:36 华为三层交换机如何限制某端口的流量 端口限速配置 『配置环境参数』 1. PC1和PC2的IP地址分别为10.10.1.1/24、...
    99+
    2023-01-31
    交换机 流量 h3c
软考高级职称资格查询
编程网,编程工程师的家园,是目前国内优秀的开源技术社区之一,形成了由开源软件库、代码分享、资讯、协作翻译、讨论区和博客等几大频道内容,为IT开发者提供了一个发现、使用、并交流开源技术的平台。
  • 官方手机版

  • 微信公众号

  • 商务合作