• 全部
  • 经验案例
  • 典型配置
  • 技术公告
  • FAQ
  • 漏洞说明
  • 全部
  • 全部
  • 大数据引擎
  • 知了引擎
产品线
搜索
取消
案例类型
发布者
是否解决
是否官方
时间
搜索引擎
匹配模式
高级搜索

华三S5120和H3C-5500V2-28C-EI

2020-11-30提问
  • 0关注
  • 1收藏,1351浏览
粉丝:0人 关注:0人

问题描述:

对齐方式

  • 靠左
  • 居中
  • 靠右

华三S5120和H3C-5500V2-28C-EI两个配置数据可以通用吗?老型号的配置可以直接导入新型号配置吗?

组网及组网描述:

你好

最佳答案

粉丝:148人 关注:1人

1、可以打通

2、配置不可以直接复制,第一接口不一样,第二版本有可能也不一样

<JYJ_HJ>dis cur # version 5.20, Release 2202P06 # sysname JYJ_HJ # irf mac-address persistent timer irf auto-update enable undo irf link-delay # domain default enable system # telnet server enable # undo ip ttl-expires # vlan 1 # vlan 221 description xianweiban # vlan 222 description jiwei # vlan 223 description zuzhibu # vlan 224 description xuanchuanbu # vlan 225 description tongzhanbu # vlan 226 description zhengyanshi # vlan 227 description zhengfawei # vlan 228 description jiguangongwei # vlan 229 description bianwei # vlan 230 description kexie # vlan 231 description tuanwei # vlan 232 description jiyaoju # vlan 331 description zhengfuban # vlan 332 description gongguanwei # vlan 333 description fagaiju # vlan 334 description jingxinju # vlan 335 description tongjiju # vlan 336 description kejiju # vlan 337 description sifaju # vlan 338 description rensheju # vlan 339 description zhaoshangju # vlan 340 description anjianju # vlan 341 description lvyouju # vlan 342 description ZFwangguanzhongxin # vlan 441 description renda # vlan 551 description zhengxie # radius scheme system server-type extended primary authentication 127.0.0.1 1645 primary accounting 127.0.0.1 1646 user-name-format without-domain # domain system access-limit disable state active idle-cut disable self-service-url disable # user-group system # local-user admin password cipher \&YO=;K%]MKQ=^Q`MAF4<1!! authorization-attribute level 3 service-type telnet terminal local-user cnxjyj password cipher \&YO=;K%]MKQ=^Q`MAF4<1!! authorization-attribute level 3 service-type telnet terminal # interface NULL0 # interface Vlan-interface1 ip address 192.168.228.2 255.255.255.0 # interface GigabitEthernet1/0/1 description connect_JYJ01 port link-type trunk port trunk permit vlan all # interface GigabitEthernet1/0/2 description connect_JYJ02 port link-type trunk port trunk permit vlan all # interface GigabitEthernet1/0/3 description connect_JYJ03 port link-type trunk port trunk permit vlan all # interface GigabitEthernet1/0/4 description connect_JYJ04 port link-type trunk port trunk permit vlan all # interface GigabitEthernet1/0/5 description connect_JYJ05 port link-type trunk port trunk permit vlan all # interface GigabitEthernet1/0/6 description connect_JYJ06 port link-type trunk port trunk permit vlan all # interface GigabitEthernet1/0/7 description connect_JYJ07 port link-type trunk port trunk permit vlan all # interface GigabitEthernet1/0/8 description connect_JYJ08 port link-type trunk port trunk permit vlan all # interface GigabitEthernet1/0/9 description connect_JYJ09 port link-type trunk port trunk permit vlan all # interface GigabitEthernet1/0/10 description connect_JYJ010 port link-type trunk port trunk permit vlan all # interface GigabitEthernet1/0/11 description connect_JYJ01 port link-type trunk port trunk permit vlan all # interface GigabitEthernet1/0/12 description connect_JYJ02 port link-type trunk port trunk permit vlan all # interface GigabitEthernet1/0/13 description connect_JYJ03 port link-type trunk port trunk permit vlan all # interface GigabitEthernet1/0/14 description connect_JYJ04 port link-type trunk port trunk permit vlan all # interface GigabitEthernet1/0/15 description connect_JYJ05 port link-type trunk port trunk permit vlan all # interface GigabitEthernet1/0/16 description connect_JYJ06 port link-type trunk port trunk permit vlan all # interface GigabitEthernet1/0/17 description connect_JYJ07 port link-type trunk port trunk permit vlan all # interface GigabitEthernet1/0/18 description connect_JYJ08 port link-type trunk port trunk permit vlan all # interface GigabitEthernet1/0/19 description connect_JYJ09 port link-type trunk port trunk permit vlan all # interface GigabitEthernet1/0/20 description connect_JYJ10 port link-type trunk port trunk permit vlan all # interface GigabitEthernet1/0/21 shutdown # interface GigabitEthernet1/0/22 shutdown # interface GigabitEthernet1/0/23 shutdown # interface GigabitEthernet1/0/24 shutdown # interface GigabitEthernet1/0/25 description connect_JYJ_HX port link-type trunk port trunk permit vlan all # interface GigabitEthernet1/0/26 description connect_JYJ_HX port link-type trunk port trunk permit vlan all # interface GigabitEthernet1/0/27 description connect_JYJ_HX port link-type trunk port trunk permit vlan all # interface GigabitEthernet1/0/28 description connect_JYJ_HX port link-type trunk port trunk permit vlan all # ip route-static 0.0.0.0 0.0.0.0 192.168.228.1 # user-interface aux 0 3 user-interface vty 0 4 authentication-mode scheme # return <JYJ_HJ>dis ver H3C Comware Platform Software Comware Software, Version 5.20, Release 2202P06 Copyright (c) 2004-2010 Hangzhou H3C Tech. Co., Ltd. All rights reserved. H3C S5120-28C-EI uptime is 0 week, 0 day, 13 hours, 38 minutes H3C S5120-28C-EI with 1 Processor 128M bytes SDRAM 16384K bytes Flash Memory Hardware Version is REV.B CPLD Version is 007 Bootrom Version is 108 [SubSlot 0] 24GE+4SFP Hardware Version is REV.B <JYJ_HJ>dis dev m slot 1 DEVICE_NAME : S5120-28C-EI DEVICE_SERIAL_NUMBER : 210235A0BLH112000157 MAC_ADDRESS : 3822-D631-2848 MANUFACTURING_DATE : 2011-02-20 VENDOR_NAME : H3C <JYJ_HJ>

zhiliao_eafxn8 发表时间:2020-11-30

这是之前的配置,我要怎么配置现在交换机呢?

zhiliao_eafxn8 发表时间:2020-11-30

你这没啥配置啊,都是接口trunk

叫我靓仔 发表时间:2020-11-30
3 个回答
粉丝:14人 关注:0人

不能简单复制粘贴,因不同型号的设备,一是版本有可能不一样,H3C的系统有V3、V5、V7几个版本;二是设备的功能不一样,不仅硬件参数不一样,软件功能也不一样,高级别设备的很多功能,低级别设备是不支持的,就算是同级别的设备,也有很大的差别。


这是之前的配置,我要怎么配置现在交换机呢?

zhiliao_eafxn8 发表时间:2020-11-30
zhiliao_eafxn8 知了小白
粉丝:0人 关注:0人

<JYJ_HJ>dis cur
#
version 5.20, Release 2202P06
#
sysname JYJ_HJ
#
irf mac-address persistent timer
irf auto-update enable
undo irf link-delay
#
domain default enable system
#
telnet server enable
#
undo ip ttl-expires
#
vlan 1
#
vlan 221
description xianweiban
#
vlan 222
description jiwei
#
vlan 223
description zuzhibu
#
vlan 224
description xuanchuanbu
#
vlan 225
description tongzhanbu
#
vlan 226
description zhengyanshi
#
vlan 227
description zhengfawei
#
vlan 228
description jiguangongwei
#
vlan 229
description bianwei
#
vlan 230
description kexie
#
vlan 231
description tuanwei
#
vlan 232
description jiyaoju
#
vlan 331
description zhengfuban
#
vlan 332
description gongguanwei
#
vlan 333
description fagaiju
#
vlan 334
description jingxinju
#
vlan 335
description tongjiju
#
vlan 336
description kejiju
#
vlan 337
description sifaju
#
vlan 338
description rensheju
#
vlan 339
description zhaoshangju
#
vlan 340
description anjianju
#
vlan 341
description lvyouju
#
vlan 342
description ZFwangguanzhongxin
#
vlan 441
description renda
#
vlan 551
description zhengxie
#
radius scheme system
server-type extended
primary authentication 127.0.0.1 1645
primary accounting 127.0.0.1 1646
user-name-format without-domain
#
domain system
access-limit disable
state active
idle-cut disable
self-service-url disable
#
user-group system
#
local-user admin
password cipher \&YO=;K%]MKQ=^Q`MAF4<1!!
authorization-attribute level 3
service-type telnet terminal
local-user cnxjyj
password cipher \&YO=;K%]MKQ=^Q`MAF4<1!!
authorization-attribute level 3
service-type telnet terminal
#
interface NULL0
#
interface Vlan-interface1
ip address 192.168.228.2 255.255.255.0
#
interface GigabitEthernet1/0/1
description connect_JYJ01
port link-type trunk
port trunk permit vlan all
#
interface GigabitEthernet1/0/2
description connect_JYJ02
port link-type trunk
port trunk permit vlan all
#
interface GigabitEthernet1/0/3
description connect_JYJ03
port link-type trunk
port trunk permit vlan all
#
interface GigabitEthernet1/0/4
description connect_JYJ04
port link-type trunk
port trunk permit vlan all
#
interface GigabitEthernet1/0/5
description connect_JYJ05
port link-type trunk
port trunk permit vlan all
#
interface GigabitEthernet1/0/6
description connect_JYJ06
port link-type trunk
port trunk permit vlan all
#
interface GigabitEthernet1/0/7
description connect_JYJ07
port link-type trunk
port trunk permit vlan all
#
interface GigabitEthernet1/0/8
description connect_JYJ08
port link-type trunk
port trunk permit vlan all
#
interface GigabitEthernet1/0/9
description connect_JYJ09
port link-type trunk
port trunk permit vlan all
#
interface GigabitEthernet1/0/10
description connect_JYJ010
port link-type trunk
port trunk permit vlan all
#
interface GigabitEthernet1/0/11
description connect_JYJ01
port link-type trunk
port trunk permit vlan all
#
interface GigabitEthernet1/0/12
description connect_JYJ02
port link-type trunk
port trunk permit vlan all
#
interface GigabitEthernet1/0/13
description connect_JYJ03
port link-type trunk
port trunk permit vlan all
#
interface GigabitEthernet1/0/14
description connect_JYJ04
port link-type trunk
port trunk permit vlan all
#
interface GigabitEthernet1/0/15
description connect_JYJ05
port link-type trunk
port trunk permit vlan all
#
interface GigabitEthernet1/0/16
description connect_JYJ06
port link-type trunk
port trunk permit vlan all
#
interface GigabitEthernet1/0/17
description connect_JYJ07
port link-type trunk
port trunk permit vlan all
#
interface GigabitEthernet1/0/18
description connect_JYJ08
port link-type trunk
port trunk permit vlan all
#
interface GigabitEthernet1/0/19
description connect_JYJ09
port link-type trunk
port trunk permit vlan all
#
interface GigabitEthernet1/0/20
description connect_JYJ10
port link-type trunk
port trunk permit vlan all
#
interface GigabitEthernet1/0/21
shutdown
#
interface GigabitEthernet1/0/22
shutdown
#
interface GigabitEthernet1/0/23
shutdown
#
interface GigabitEthernet1/0/24
shutdown
#
interface GigabitEthernet1/0/25
description connect_JYJ_HX
port link-type trunk
port trunk permit vlan all
#
interface GigabitEthernet1/0/26
description connect_JYJ_HX
port link-type trunk
port trunk permit vlan all
#
interface GigabitEthernet1/0/27
description connect_JYJ_HX
port link-type trunk
port trunk permit vlan all
#
interface GigabitEthernet1/0/28
description connect_JYJ_HX
port link-type trunk
port trunk permit vlan all
#
ip route-static 0.0.0.0 0.0.0.0 192.168.228.1
#
user-interface aux 0 3
user-interface vty 0 4
authentication-mode scheme
#
return
<JYJ_HJ>dis ver
H3C Comware Platform Software
Comware Software, Version 5.20, Release 2202P06
Copyright (c) 2004-2010 Hangzhou H3C Tech. Co., Ltd. All rights reserved.
H3C S5120-28C-EI uptime is 0 week, 0 day, 13 hours, 38 minutes

H3C S5120-28C-EI with 1 Processor
128M bytes SDRAM
16384K bytes Flash Memory

Hardware Version is REV.B
CPLD Version is 007
Bootrom Version is 108
[SubSlot 0] 24GE+4SFP Hardware Version is REV.B

<JYJ_HJ>dis dev m
slot 1
DEVICE_NAME : S5120-28C-EI
DEVICE_SERIAL_NUMBER : 210235A0BLH112000157
MAC_ADDRESS : 3822-D631-2848
MANUFACTURING_DATE : 2011-02-20
VENDOR_NAME : H3C
<JYJ_HJ>

第一,不要把这些全晒出来,因为一晒出来,就知道这是一个县委机房的一个配置,因为‘description’是描述的意思,以后晒配置,把所有description都删除一下。第二,我认为应该可以拷过去用,因为这两个设备的版本差不多,而且5120的功能,5500都支持的。

落啦耳朵 发表时间:2020-12-01
粉丝:124人 关注:6人

您好,请知:

由于型号都不一样,因此软件平台和版本也是不一样的。部分命令可能不适配。主要是端口类型和端口号及其他的相关参数。

建议看好端口号后再进行配置。


编辑答案

你正在编辑答案

如果你要对问题或其他回答进行点评或询问,请使用评论功能。

分享扩散:

提出建议

    +

亲~登录后才可以操作哦!

确定

亲~检测到您登陆的账号未在http://hclhub.h3c.com进行注册

注册后可访问此模块

跳转hclhub

你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作

举报

×

侵犯我的权益 >
对根叔社区有害的内容 >
辱骂、歧视、挑衅等(不友善)

侵犯我的权益

×

泄露了我的隐私 >
侵犯了我企业的权益 >
抄袭了我的内容 >
诽谤我 >
辱骂、歧视、挑衅等(不友善)
骚扰我

泄露了我的隐私

×

您好,当您发现根叔知了上有泄漏您隐私的内容时,您可以向根叔知了进行举报。 请您把以下内容通过邮件发送到pub.zhiliao@h3c.com 邮箱,我们会尽快处理。
  • 1. 您认为哪些内容泄露了您的隐私?(请在邮件中列出您举报的内容、链接地址,并给出简短的说明)
  • 2. 您是谁?(身份证明材料,可以是身份证或护照等证件)

侵犯了我企业的权益

×

您好,当您发现根叔知了上有关于您企业的造谣与诽谤、商业侵权等内容时,您可以向根叔知了进行举报。 请您把以下内容通过邮件发送到 pub.zhiliao@h3c.com 邮箱,我们会在审核后尽快给您答复。
  • 1. 您举报的内容是什么?(请在邮件中列出您举报的内容和链接地址)
  • 2. 您是谁?(身份证明材料,可以是身份证或护照等证件)
  • 3. 是哪家企业?(营业执照,单位登记证明等证件)
  • 4. 您与该企业的关系是?(您是企业法人或被授权人,需提供企业委托授权书)
我们认为知名企业应该坦然接受公众讨论,对于答案中不准确的部分,我们欢迎您以正式或非正式身份在根叔知了上进行澄清。

抄袭了我的内容

×

原文链接或出处

诽谤我

×

您好,当您发现根叔知了上有诽谤您的内容时,您可以向根叔知了进行举报。 请您把以下内容通过邮件发送到pub.zhiliao@h3c.com 邮箱,我们会尽快处理。
  • 1. 您举报的内容以及侵犯了您什么权益?(请在邮件中列出您举报的内容、链接地址,并给出简短的说明)
  • 2. 您是谁?(身份证明材料,可以是身份证或护照等证件)
我们认为知名企业应该坦然接受公众讨论,对于答案中不准确的部分,我们欢迎您以正式或非正式身份在根叔知了上进行澄清。

对根叔社区有害的内容

×

垃圾广告信息
色情、暴力、血腥等违反法律法规的内容
政治敏感
不规范转载 >
辱骂、歧视、挑衅等(不友善)
骚扰我
诱导投票

不规范转载

×

举报说明