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

交换机使用光模块连接访问不通

2023-05-18提问
  • 0关注
  • 0收藏,955浏览
粉丝:0人 关注:0人

问题描述:

两台交换机,型号分别是H3C S5130S-28S-LI(简称1#),H3C S5130S-52S-LI(简称2#),1#的27口和2#的50口都使用SFP-GE-LX-SM1310-D 光模块连接,用命令查看如下




交换机上两个端口的灯和状态都是正常的。1#的27口和9、10、15口同属一个VLAN,PC接15号口能ping通接9和10口的服务器IP地址,2#的50口和35口同属于该VLAN,PC接到35口不能ping通前面提到的服务器IP,请问这会是什么原因呢,这些端口都是access模式,没有做trunk。模块确实是正常的,在其他的千兆交换机S5110-52P-SI与S5130S-52P-EI上连接测试可以通的说明模块没问题


组网及组网描述:


最佳答案

令狐冲 知了小白
粉丝:0人 关注:0人

这个是S5130S-28S-LI的配置

#
version 7.1.070, Release 6310
#
sysname H3C
#
clock timezone Lisbon add 00:00:00
clock protocol none
#
telnet server enable
#
irf mac-address persistent timer
irf auto-update enable
undo irf link-delay
irf member 1 priority 1
#
lldp global enable
#
password-recovery enable
#
vlan 1
#
vlan 300
description TO10.0.10.0
#
vlan 1010
#
stp global enable
#
interface Bridge-Aggregation1015
link-aggregation mode dynamic
#
interface Bridge-Aggregation1018
link-aggregation mode dynamic
#
interface NULL0
#
interface Vlan-interface1
ip address 192.168.101.1 255.255.255.0
dhcp client identifier ascii 00bed5a83284-VLAN0001
#
interface GigabitEthernet1/0/1
#
interface GigabitEthernet1/0/2
#
interface GigabitEthernet1/0/3
port access vlan 1010
#
interface GigabitEthernet1/0/4
#
interface GigabitEthernet1/0/5
port link-aggregation group 1015
#
interface GigabitEthernet1/0/6
port link-aggregation group 1015
#
interface GigabitEthernet1/0/7
port link-aggregation group 1015
#
interface GigabitEthernet1/0/8
port link-aggregation group 1015
#
interface GigabitEthernet1/0/9
port access vlan 1010
#
interface GigabitEthernet1/0/10
port access vlan 1010
#
interface GigabitEthernet1/0/11
shutdown
#
interface GigabitEthernet1/0/12
port access vlan 300
#
interface GigabitEthernet1/0/13
port link-aggregation group 1018
#
interface GigabitEthernet1/0/14
port link-aggregation group 1018
#
interface GigabitEthernet1/0/15
port access vlan 1010
#
interface GigabitEthernet1/0/16
#
interface GigabitEthernet1/0/17
shutdown
#
interface GigabitEthernet1/0/18
#
interface GigabitEthernet1/0/19
#
interface GigabitEthernet1/0/20
#
interface GigabitEthernet1/0/21
#
interface GigabitEthernet1/0/22
port access vlan 300
#
interface GigabitEthernet1/0/23
#
interface GigabitEthernet1/0/24
#
interface Ten-GigabitEthernet1/0/25
#
interface Ten-GigabitEthernet1/0/26
#
interface Ten-GigabitEthernet1/0/27
port access vlan 1010
duplex full
#
interface Ten-GigabitEthernet1/0/28
#
scheduler logfile size 16
#
line class aux
user-role network-admin
#
line class vty
user-role network-operator
#
line aux 0
user-role network-admin
#
line vty 0 4
authentication-mode scheme
user-role network-operator
#
line vty 5 63
user-role network-operator
#
radius scheme system
user-name-format without-domain
#
domain system
#
domain default enable system
#
role name level-0
description Predefined level-0 role
#
role name level-1
description Predefined level-1 role
#
role name level-2
description Predefined level-2 role
#
role name level-3
description Predefined level-3 role
#
role name level-4
description Predefined level-4 role
#
role name level-5
description Predefined level-5 role
#
role name level-6
description Predefined level-6 role
#
role name level-7
description Predefined level-7 role
#
role name level-8
description Predefined level-8 role
#
role name level-9
description Predefined level-9 role
#
role name level-10
description Predefined level-10 role
#
role name level-11
description Predefined level-11 role
#
role name level-12
description Predefined level-12 role
#
role name level-13
description Predefined level-13 role
#
role name level-14
description Predefined level-14 role
#
user-group system
#
local-user admin class manage
password hash $h$6$0sDOElkMnEKIjzbr$DvY7ULuxVLBR6rRsGuZkxF60V9cYtEK2KBXkMWaIBheiuekaAKc1X0nGvvyR7XLIunlqNWszqILXjVN14xHRsg==
service-type telnet http
authorization-attribute user-role network-admin
authorization-attribute user-role network-operator
#
ip http enable
#
cloud-management server domain oasis.h3c.com
#
return


格式怎么改不了呢

令狐冲 发表时间:2023-05-19 更多>>

这个是S5130S-52S-LI的配置 # version 7.1.070, Release 6318P01 # sysname H3CS5130S-52S-LI # clock timezone Lisbon add 00:00:00 clock protocol none # telnet server enable # irf mac-address persistent timer irf auto-update enable undo irf link-delay irf member 1 priority 1 # lldp global enable # password-recovery enable # vlan 1 # vlan 2 # vlan 3 # vlan 4 # vlan 5 # vlan 6 # vlan 7 # vlan 8 # vlan 9 # vlan 10 # vlan 11 # vlan 13 # vlan 15 # vlan 16 # vlan 17 # vlan 19 # vlan 23 # vlan 30 to 31 # vlan 32 # vlan 33 # vlan 35 # vlan 50 # vlan 60 # vlan 102 # vlan 111 # vlan 130 # vlan 192 # vlan 200 # vlan 300 # vlan 301 # vlan 302 # vlan 303 # vlan 304 # vlan 310 # vlan 320 # vlan 602 # vlan 1010 # vlan 1920 # vlan 1921 # vlan 1923 # # stp global enable # interface Bridge-Aggregation1 port access vlan 7 link-aggregation mode dynamic # interface NULL0 # interface Vlan-interface192 ip address 192.0.0.5 255.255.255.0 # interface GigabitEthernet1/0/1 port access vlan 192 # interface GigabitEthernet1/0/2 port link-type trunk port trunk permit vlan 1 to 2 111 192 1923 # interface GigabitEthernet1/0/3 port link-type trunk port trunk permit vlan 1 to 2 4 to 11 15 to 17 19 23 50 111 192 200 320 port trunk permit vlan 602 1920 to 1921 1923 # interface GigabitEthernet1/0/4 description 接H3C-F100-C-G2/2口GigabitEthernet1/0/4 Interface port access vlan 13 speed 1000 # interface GigabitEthernet1/0/5 port link-type trunk port trunk permit vlan 1 to 2 9 13 15 19 23 30 to 31 35 60 102 port trunk permit vlan 192 300 to 304 310 320 1923 to 1925 port trunk pvid vlan 192 # interface GigabitEthernet1/0/6 port link-type trunk port trunk permit vlan 1 to 2 9 13 15 19 23 30 to 31 35 60 102 port trunk permit vlan 192 300 to 304 310 320 1923 to 1925 port trunk pvid vlan 192 # interface GigabitEthernet1/0/7 port link-type trunk port trunk permit vlan 1 to 2 9 13 15 19 23 30 to 31 35 60 102 port trunk permit vlan 192 300 to 304 310 320 1923 to 1925 port trunk pvid vlan 192 # interface GigabitEthernet1/0/8 port access vlan 102 # interface GigabitEthernet1/0/9 port link-type trunk port trunk permit vlan 1 to 2 9 13 15 19 23 30 to 31 35 60 102 port trunk permit vlan 192 300 to 304 310 320 1923 to 1925 port trunk pvid vlan 192 # interface GigabitEthernet1/0/10 port link-type trunk port trunk permit vlan 1 to 2 9 13 15 19 23 30 to 31 35 60 102 port trunk permit vlan 192 300 to 304 310 320 1923 to 1925 port trunk pvid vlan 192 # interface GigabitEthernet1/0/11 port link-type trunk port trunk permit vlan 1 to 2 9 13 15 19 23 30 to 31 35 60 102 port trunk permit vlan 192 300 to 304 310 320 1923 to 1925 port trunk pvid vlan 192 # interface GigabitEthernet1/0/12 port access vlan 192 # interface GigabitEthernet1/0/13 port access vlan 192 # interface GigabitEthernet1/0/14 port access vlan 320 # interface GigabitEthernet1/0/15 port access vlan 130 # interface GigabitEthernet1/0/16 port access vlan 130 # interface GigabitEthernet1/0/17 port link-type trunk port trunk permit vlan 1 to 2 9 13 15 19 23 30 to 31 35 60 102 port trunk permit vlan 192 300 to 304 310 320 1923 to 1925 port trunk pvid vlan 192 # interface GigabitEthernet1/0/18 port link-type trunk port trunk permit vlan 1 to 2 9 13 15 19 23 30 to 31 35 60 102 port trunk permit vlan 192 300 to 304 310 320 1923 to 1925 port trunk pvid vlan 192 # interface GigabitEthernet1/0/19 port link-type trunk port trunk permit vlan 1 9 33 60 130 200 # interface GigabitEthernet1/0/20 port access vlan 7 port link-aggregation group 1 # interface GigabitEthernet1/0/21 port access vlan 33 # interface GigabitEthernet1/0/22 port access vlan 7 port link-aggregation group 1 # interface GigabitEthernet1/0/23 port link-type trunk port trunk permit vlan 1 to 2 4 to 5 8 10 13 16 to 17 19 31 to 33 111 130 port trunk permit vlan 192 200 301 303 to 304 320 602 1920 to 1921 1923 to 1925 # interface GigabitEthernet1/0/24 port link-type trunk port trunk permit vlan 1 192 300 to 304 310 1923 1925 # interface GigabitEthernet1/0/25 port link-type trunk port trunk permit vlan 1 192 301 to 304 310 1923 1925 # interface GigabitEthernet1/0/26 port link-type trunk undo port trunk permit vlan 1 port trunk permit vlan 300 to 302 port trunk pvid vlan 300 # interface GigabitEthernet1/0/27 port link-type trunk port trunk permit vlan 1 to 2 111 192 301 310 1923 # interface GigabitEthernet1/0/28 port access vlan 310 # interface GigabitEthernet1/0/29 port link-type trunk undo port trunk permit vlan 1 port trunk permit vlan 30 to 32 35 300 to 301 320 port trunk pvid vlan 99 # interface GigabitEthernet1/0/30 # interface GigabitEthernet1/0/31 port link-type trunk port trunk permit vlan 1 to 2 111 192 1923 # interface GigabitEthernet1/0/32 port link-type trunk port trunk permit vlan 1 to 2 111 192 1923 # interface GigabitEthernet1/0/33 port access vlan 304 # interface GigabitEthernet1/0/34 port access vlan 13 # interface GigabitEthernet1/0/35 port access vlan 1010 # interface GigabitEthernet1/0/36 port access vlan 1923 # interface GigabitEthernet1/0/37 port access vlan 300 # interface GigabitEthernet1/0/38 port access vlan 1923 # interface GigabitEthernet1/0/39 port link-type trunk port trunk permit vlan 1 to 2 15 111 320 1923 # interface GigabitEthernet1/0/40 port access vlan 1923 # interface GigabitEthernet1/0/41 port access vlan 2 # interface GigabitEthernet1/0/42 port link-type trunk port trunk permit vlan 1 to 2 111 192 # interface GigabitEthernet1/0/43 port link-type trunk port trunk permit vlan 1 to 2 111 192 320 1923 # interface GigabitEthernet1/0/44 port link-type trunk port trunk permit vlan 1 to 2 111 192 # interface GigabitEthernet1/0/45 # interface GigabitEthernet1/0/46 port link-type trunk port trunk permit vlan 1 to 2 111 192 1923 # interface GigabitEthernet1/0/47 port link-type trunk port trunk permit vlan 1 to 2 15 33 111 192 1923 port trunk pvid vlan 111 # interface GigabitEthernet1/0/48 port access vlan 200 # interface Ten-GigabitEthernet1/0/49 port link-type trunk port trunk permit vlan 1 to 6 8 to 9 11 15 31 33 60 111 192 200 port trunk permit vlan 310 1923 # interface Ten-GigabitEthernet1/0/50 port access vlan 1010 duplex full # interface Ten-GigabitEthernet1/0/51 # interface Ten-GigabitEthernet1/0/52 port access vlan 310 # scheduler logfile size 16 # line class aux user-role network-admin # line class vty user-role network-operator # line aux 0 user-role network-admin # line vty 0 4 authentication-mode scheme user-role network-operator # line vty 5 63 user-role network-operator # ip route-static 0.0.0.0 0 Vlan-interface192 192.0.0.2 # snmp-agent snmp-agent local-engineid 800063A28014517EC8ED1F00000001 snmp-agent sys-info location fuwuqijifang snmp-agent sys-info version v3 # radius scheme system user-name-format without-domain # domain system # domain default enable system # role name level-0 description Predefined level-0 role # role name level-1 description Predefined level-1 role # role name level-2 description Predefined level-2 role # role name level-3 description Predefined level-3 role # role name level-4 description Predefined level-4 role # role name level-5 description Predefined level-5 role # role name level-6 description Predefined level-6 role # role name level-7 description Predefined level-7 role # role name level-8 description Predefined level-8 role # role name level-9 description Predefined level-9 role # role name level-10 description Predefined level-10 role # role name level-11 description Predefined level-11 role # role name level-12 description Predefined level-12 role # role name level-13 description Predefined level-13 role # role name level-14 description Predefined level-14 role # user-group system # local-user admin class manage password hash $h$6$4CWcAoDarogmKTlD$jr+Z/+SSp2AH+W09oCR+j1XgepWWHxGCb8/sQ0ogAnJxxn63WL7PlBcq1CXJXyUnA3Wi9/vYWcIaHlQLqnAKWQ== service-type telnet http authorization-attribute user-role network-admin authorization-attribute user-role network-operator # ip http enable # cloud-management server domain oasis.h3c.com # return

令狐冲 发表时间:2023-05-19

格式怎么改不了呢

令狐冲 发表时间:2023-05-19
2 个回答
粉丝:38人 关注:3人

配置发出来看下 模块光衰正常 型号也没问题

直接复制到留言里面就行

zhiiiiao_N7L84 发表时间:2023-05-18 更多>>

没找到哪里能把配置作为附件传上来呢

令狐冲 发表时间:2023-05-18

直接复制到留言里面就行

zhiiiiao_N7L84 发表时间:2023-05-18
粉丝:10人 关注:7人

吧配置发出来看看,光模块看着没问题

吧配置复制出来

奔跑的小马 发表时间:2023-05-18 更多>>

没找到哪里能把配置作为附件传上来呢

令狐冲 发表时间:2023-05-18

吧配置复制出来

奔跑的小马 发表时间:2023-05-18

编辑答案

你正在编辑答案

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

分享扩散:

提出建议

    +

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

确定

亲~检测到您登陆的账号未在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. 您是谁?(身份证明材料,可以是身份证或护照等证件)
我们认为知名企业应该坦然接受公众讨论,对于答案中不准确的部分,我们欢迎您以正式或非正式身份在根叔知了上进行澄清。

对根叔社区有害的内容

×

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

不规范转载

×

举报说明