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

s5110环回检测配置不正确

2022-04-02提问
  • 1关注
  • 1收藏,1048浏览
粉丝:0人 关注:1人

问题描述:


组网及组网描述:

1口和3口是同一根线的两端,这个配置应该是关闭端口,是不是我配置写的不对

我想实现端口检测到环路就自动关闭端口,不用自动打开

3 个回答
粉丝:146人 关注:1人

你这个场景,交换机本身的STP就会block接口

NaCO3 知了小白
粉丝:0人 关注:1人

S5110不支持环路检测,S5110v2等v7产品支持。

知了小白
粉丝: 关注:

1、配置环路检测命令

全局模式下

 loopback-detection global enable vlan 1 to 4094
loopback-detection interval-time 250

接口模式下

 loopback-detection enable vlan 1 to 4094
loopback-detection action shutdown

2、环路检测和stp 不兼容,关闭stp

3、按照这样的配置你试试

[QuDongJiFang]display interface g1/0/1 GigabitEthernet1/0/1 current state: DOWN IP Packet Frame Type: PKTFMT_ETHNT_2, Hardware Address: 48bd-3d7f-20e2 Description: GigabitEthernet1/0/1 Interface Loopback is not set Media type is twisted pair, Port hardware type is 1000_BASE_T Unknown-speed mode, unknown-duplex mode Link speed type is autonegotiation, link duplex type is autonegotiation Flow-control is not enabled The Maximum Frame Length is 9600 Broadcast MAX-ratio: 100% Unicast MAX-ratio: 100% Multicast MAX-ratio: 100% PVID: 1010 Mdi type: auto Port link-type: access Tagged VLAN ID : none Untagged VLAN ID : 1010 Port priority: 0 Last clearing of counters: Never Peak value of input: 95310279 bytes/sec, at 2000-04-26 13:04:27 Peak value of output: 95310288 bytes/sec, at 2000-04-26 13:04:27 Last 300 seconds input: 0 packets/sec 111 bytes/sec 0% Last 300 seconds output: 0 packets/sec 131 bytes/sec 0% Input (total): 579553160 packets, 311969435525 bytes 0 unicasts, 579552454 broadcasts, 694 multicasts, 0 pauses Input (normal): 579553160 packets, 311969435525 bytes 0 unicasts, 579552454 broadcasts, 694 multicasts, 0 pauses Input: 12 input errors, 0 runts, - giants, - throttles 11 CRC, - frame, 0 overruns, 1 aborts - ignored, - parity errors Output (total): 580011287 packets, 312010532565 bytes 0 unicasts, 580010241 broadcasts, 1046 multicasts, 0 pauses Output (normal): 580011287 packets, 312010532565 bytes 0 unicasts, 580010241 broadcasts, 1046 multicasts, 0 pauses Output: 0 output errors, - underruns, - buffer failures 0 aborts, 0 deferred, 0 collisions, - late collisions - lost carrier, - no carrier [QuDongJiFang]

zhiliao_2xl8wn 发表时间:2022-04-02 更多>>

loopback-detection 后边只有三个选项,enable,,,interval-time,,,,,multi-port-mode 我把VLAN删除以后,还是不能关闭端口

zhiliao_2xl8wn 发表时间:2022-04-02

1、开启日志打印提示<>t d <>t m []in en 2、display loopback-detection看一下环路检测配置状态 3、display interface gigabitethernet 1/0/1 看一下接口状态,是否是Loopback detection down

发表时间:2022-04-02

另外,你在看一下是不是没有到环路检测的时间

发表时间:2022-04-02
回复:

loopback is not set 显示的这个

zhiliao_2xl8wn 发表时间:2022-04-02

可能是你没有配置成功,或者是你现在交换机不支持,看一下对应的软件版本,查一下配置手册把

发表时间:2022-04-02

#Apr 26 14:14:30:748 2000 QuDongJiFang LPDETECT/5/LOOPBACKED: Trap 1.3.6.1.4.1.25506.2.95.1.0.1<hh3cLpbkdtTrapLoopbacked>: Loopback exists on the interface 18874368 GigabitEthernet1/0/1. %Apr 26 14:14:30:975 2000 QuDongJiFang LPDETECT/5/LPDETECT_SHUTDOWN: Loopback exists on GigabitEthernet1/0/1 and this interface is shut down. %Apr 26 14:14:31:145 2000 QuDongJiFang IFNET/3/LINK_UPDOWN: GigabitEthernet1/0/1 link status is DOWN. %Apr 26 14:14:31:265 2000 QuDongJiFang IFNET/3/LINK_UPDOWN: GigabitEthernet1/0/2 link status is DOWN. %Apr 26 14:14:36:668 2000 QuDongJiFang IFNET/3/LINK_UPDOWN: GigabitEthernet1/0/1 link status is UP. %Apr 26 14:14:36:785 2000 QuDongJiFang IFNET/3/LINK_UPDOWN: GigabitEthernet1/0/2 link status is UP. %Apr 26 14:14:37:620 2000 QuDongJiFang LLDP/6/LLDP_CREATE_NEIGHBOR: New neighbor created on Port GigabitEthernet1/0/2 (IfIndex 18878464), Chassis ID is 48bd-3d7f-20e0, Port ID is GigabitEthernet1/0/1. %Apr 26 14:14:37:865 2000 QuDongJiFang LLDP/6/LLDP_CREATE_NEIGHBOR: New neighbor created on Port GigabitEthernet1/0/1 (IfIndex 18874368), Chassis ID is 48bd-3d7f-20e0, Port ID is GigabitEthernet1/0/2. #Apr 26 14:14:38:467 2000 QuDongJiFang LPDETECT/5/LOOPBACKED: Trap 1.3.6.1.4.1.25506.2.95.1.0.1<hh3cLpbkdtTrapLoopbacked>: Loopback exists on the interface 18874368 GigabitEthernet1/0/1. %Apr 26 14:14:38:695 2000 QuDongJiFang LPDETECT/5/LPDETECT_SHUTDOWN: Loopback exists on GigabitEthernet1/0/1 and this interface is shut down. %Apr 26 14:14:38:865 2000 QuDongJiFang IFNET/3/LINK_UPDOWN: GigabitEthernet1/0/1 link status is DOWN. %Apr 26 14:14:39:244 2000 QuDongJiFang IFNET/3/LINK_UPDOWN: GigabitEthernet1/0/2 link status is DOWN. %Apr 26 14:14:44:729 2000 QuDongJiFang IFNET/3/LINK_UPDOWN: GigabitEthernet1/0/1 link status is UP. %Apr 26 14:14:44:845 2000 QuDongJiFang IFNET/3/LINK_UPDOWN: GigabitEthernet1/0/2 link status is UP. %Apr 26 14:14:45:620 2000 QuDongJiFang LLDP/6/LLDP_CREATE_NEIGHBOR: New neighbor created on Port GigabitEthernet1/0/2 (IfIndex 18878464), Chassis ID is 48bd-3d7f-20e0, Port ID is GigabitEthernet1/0/1. %Apr 26 14:14:45:865 2000 QuDongJiFang LLDP/6/LLDP_CREATE_NEIGHBOR: New neighbor created on Port GigabitEthernet1/0/1 (IfIndex 18874368), Chassis ID is 48bd-3d7f-20e0, Port ID is GigabitEthernet1/0/2. #Apr 26 14:14:46:188 2000 QuDongJiFang LPDETECT/5/LOOPBACKED: Trap 1.3.6.1.4.1.25506.2.95.1.0.1<hh3cLpbkdtTrapLoopbacked>: Loopback exists on the interface 18874368 GigabitEthernet1/0/1. %Apr 26 14:14:46:415 2000 QuDongJiFang LPDETECT/5/LPDETECT_SHUTDOWN: Loopback exists on GigabitEthernet1/0/1 and this interface is shut down. %Apr 26 14:14:46:585 2000 QuDongJiFang IFNET/3/LINK_UPDOWN: GigabitEthernet1/0/1 link status is DOWN. %Apr 26 14:14:46:953 2000 QuDongJiFang IFNET/3/LINK_UPDOWN: GigabitEthernet1/0/2 link status is DOWN.

zhiliao_2xl8wn 发表时间:2022-04-02

总是关闭然后又打开,这是什么情况

zhiliao_2xl8wn 发表时间:2022-04-02

这提示已经发现环路,关闭了端口了,你把打印信息关闭一下,undo in en ,dis int g1/0/1 看一下接口状态

发表时间:2022-04-02

shutdown-interval 你是不是配置了这个,关闭一段时间后又打开,参看一下下面的连接 https://www.h3c.com/cn/d_201906/1208099_30005_0.htm

发表时间:2022-04-02

[QuDongJiFang]display interface g1/0/1 GigabitEthernet1/0/1 current state: DOWN IP Packet Frame Type: PKTFMT_ETHNT_2, Hardware Address: 48bd-3d7f-20e2 Description: GigabitEthernet1/0/1 Interface Loopback is not set Media type is twisted pair, Port hardware type is 1000_BASE_T Unknown-speed mode, unknown-duplex mode Link speed type is autonegotiation, link duplex type is autonegotiation Flow-control is not enabled The Maximum Frame Length is 9600 Broadcast MAX-ratio: 100% Unicast MAX-ratio: 100% Multicast MAX-ratio: 100% PVID: 1010 Mdi type: auto Port link-type: access Tagged VLAN ID : none Untagged VLAN ID : 1010 Port priority: 0 Last clearing of counters: Never Peak value of input: 95310279 bytes/sec, at 2000-04-26 13:04:27 Peak value of output: 95310288 bytes/sec, at 2000-04-26 13:04:27 Last 300 seconds input: 0 packets/sec 111 bytes/sec 0% Last 300 seconds output: 0 packets/sec 131 bytes/sec 0% Input (total): 579553160 packets, 311969435525 bytes 0 unicasts, 579552454 broadcasts, 694 multicasts, 0 pauses Input (normal): 579553160 packets, 311969435525 bytes 0 unicasts, 579552454 broadcasts, 694 multicasts, 0 pauses Input: 12 input errors, 0 runts, - giants, - throttles 11 CRC, - frame, 0 overruns, 1 aborts - ignored, - parity errors Output (total): 580011287 packets, 312010532565 bytes 0 unicasts, 580010241 broadcasts, 1046 multicasts, 0 pauses Output (normal): 580011287 packets, 312010532565 bytes 0 unicasts, 580010241 broadcasts, 1046 multicasts, 0 pauses Output: 0 output errors, - underruns, - buffer failures 0 aborts, 0 deferred, 0 collisions, - late collisions - lost carrier, - no carrier [QuDongJiFang]

zhiliao_2xl8wn 发表时间:2022-04-02

编辑答案

你正在编辑答案

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

分享扩散:

提出建议

    +

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

确定

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

对根叔社区有害的内容

×

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

不规范转载

×

举报说明