h3c交换机环路检测方法_第1页
h3c交换机环路检测方法_第2页
h3c交换机环路检测方法_第3页
h3c交换机环路检测方法_第4页
h3c交换机环路检测方法_第5页
已阅读5页,还剩11页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

ZCNEZCNEPAGE2H3CLoopbackDetection2015-05-14LoopbackDetection1SwitchASwitchB、被高压击坏等情况导致GE0/0/1TX-RX而影响现有SwitchA上及时出GE0/0/1上存在TX-RX并希望存在时阻塞以减小对现有冲击,消失时能动恢复。1LoopbackDetect思路SwitchA上行GE0/0/1TX-RXSwitchA上该上LoopbackDetection功能。思:SwitchAGE0/0/1LoopbackDetection功能现对该TX-RX。ZCNEZCNELoopbackDetectionSwitch。操步骤1.使能LoopbackDetection功能2.2.<HUAWEI>3.[HUAWEI]SwitchA4.[SwitchA]interfacegigabitethernet0/0/15.[SwitchA-GigabitEthernet0/0/1]loopback-detectenable[SwitchA-GigabitEthernet0/0/1]quit6.LoopbackDetection7.7.[SwitchA]interfacegigabitethernet0/0/18.[SwitchA-GigabitEthernet0/0/1]loopback-detectactionblock9.[SwitchA-GigabitEthernet0/0/1]loopback-detect30[SwitchA-GigabitEthernet0/0/1]quit证结果displayloopback-detect检查是否成功。b.b.[SwitchA]displayloopback-detectc.c.Loopback-detectsending-packetinterval: 5d.d.e.e.f.InterfaceRecoverTimeActionStatusg.h.GigabitEthernet0/0/130blockNORMAL。i. 后,等待一段时间(5秒),displayloopback-detect检查接口GE0/0/1是否被阻塞。j.[SwitchA]displayloopback-detectj.[SwitchA]displayloopback-detectk.Loopback-detectsending-packetinterval: 5l.m.m.n.InterfaceRecoverTimeActionStatuso.p.GigabitEthernet0/0/130block BLOCK(Loopbackdetected)ZCNEZCNEGE0/0/1TX-RX。q. TX-RXdisplayloopback-detect检查GE0/0/1是否恢复为正常状态。r.[SwitchA]displayloopback-detectr.[SwitchA]displayloopback-detects.Loopback-detectsending-packetinterval: 5t.u.u.v.InterfaceRecoverTimeActionStatusw.x.GigabitEthernet0/0/130blockNORMALGE0/0/1已恢复为正常状态。配置文件SwitchA的配置文件#sysname#sysnameSwitchA#interfaceGigabitEthernet0/0/1ZCNEZCNEPAGE10loopback-detectloopback-detect30loopback-detectenableloopback-detectactionblock#returnLoopbackDetection1SwitcVLAN10Switch及其上行信。用户希望能在Switch上中防止影响Switch及其连正常信。1LoopbackDetectionZCNEZCNEN0Switchkn。采用如下LoopbackDetection:SwitchGE0/0/1使LoopbackDetection并VLAN进行现对下行的。LoopbackDetection的相关参数Switch到后及时关闭接口1Switch:: IHACKLOG_REMOTE_IMAGE_AUTODOWN_BLOCK ::2说明:kdVLAN通过保证及Switch间的二层互通。操作步骤1.使LoopbackDetection2.2.<HUAWEI>3.[HUAWEI]Switch4.[Switch]interfacegigabitethernet0/0/15.[Switch-GigabitEthernet0/0/1]loopback-detectenable[Switch-GigabitEthernet0/0/1]quit6.VLAN报文进行7.7.[Switch]vlan1008.[Switch-vlan100]quit9.[Switch]interfacegigabitethernet0/0/110.[Switch-GigabitEthernet0/0/1]port11.[Switch-GigabitEthernet0/0/1]porttaggedvlan10012.[Switch-GigabitEthernet0/0/1]loopback-detectpacketvlan100[Switch-GigabitEthernet0/0/1]quitLoopbackDetection#LoopbackDetection。[Switch]loopback-detectpacket-interval[Switch]loopback-detectpacket-interval10#LoopbackDetection处理动作。[Switch][Switch]interfacegigabitethernet0/0/1[Switch-GigabitEthernet0/0/1]loopback-detectactionshutdown[Switch-GigabitEthernet0/0/1]quit证结果displayloopback-detect查是否成。b.b.[Switch]displayloopback-detectc.Loopback-detectsending-packetinterval:10d.d.e.f.f.InterfaceRecoverTimeActionStatusg.h.GigabitEthernet0/0/1- shutdownNORMAL。i. 在下挂网络中构造环路,然后执行命令displayloopback-detectGE0/0/1是否关闭。j.[Switch]displayloopback-detectj.[Switch]displayloopback-detectk.Loopback-detectsending-packetinterval: 10l.m.m.n.InterfaceRecoverTimeActionStatuso.p.GigabitEthernet0/0/1-shutdownSHUTDOWN(Loopbackdetected)GE0/0/1被关闭了。文件Switch件##vlanbatch#loopback-detectpacket-interval10#interfaceGigabitEthernet0/0/1portporttaggedvlan100loopback-detectpacketvlanloopback-detectenable#returnLoopbackDetection检测设备所在网络环路示例ZCNEZCNE1VLAN100。由于人员流动性大络拓扑变动频繁,Switch以及整个络的通信。Switch上检测到络中的环路并希望环路存在时阻塞接口以减Switch及其所在络的冲击环路消失时阻塞接口能自动恢复到正常状态。1配置通过LoopbackDetection检测设备在络环路例配置思路Switch在络是否存在环路SwitchGE0/0/1GE0/0/2上分别配置LoopbackDetectionwhdSwitch进而无法现环路检测VLAN进行环路检测。配置思路下:使能接口的LoopbackDetection功能VLAN100进行环路检测Switch在络的环路检测。LoopbackDetection处理动作和接口自动恢复时间现发现环路后Switch自动阻塞接口以减少环路对其及其在络的冲击环路消失后接口自动恢复。ZCNEZCNE:: IHACKLOG_REMOTE_IMAGE_AUTODOWN_BLOCK ::4kdVLAN。操作步骤1.使能LoopbackDetection功能2.2.<HUAWEI>3.[HUAWEI]Switch4.[Switch]interfacegigabitethernet0/0/15.[Switch-GigabitEthernet0/0/1]loopback-detectenable6.[Switch-GigabitEthernet0/0/1]quit7.[Switch]interfacegigabitethernet0/0/28.[Switch-GigabitEthernet0/0/2]loopback-detectenable[Switch-GigabitEthernet0/0/2]quit9.VLAN报文进行环检测10.10.[Switch]vlan10011.[Switch-vlan100]quit12.[Switch]interfacegigabitethernet0/0/113.13.[Switch-GigabitEthernet0/0/1]port14.[Switch-GigabitEthernet0/0/1]porttaggedvlan10015.[Switch-GigabitEthernet0/0/1]loopback-detectpacketvlan10016.[Switch-GigabitEthernet0/0/1]quit17.[Switch]interfacegigabitethernet0/0/218.[Switch-GigabitEthernet0/0/2]port19.[Switch-GigabitEthernet0/0/2]porttaggedvlan10020.[Switch-GigabitEthernet0/0/2]loopback-detectpacketvlan100[Switch-GigabitEthernet0/0/2]quit21.LoopbackDetection作和环路消失后接口的自恢复时间22.22.[Switch]interfacegigabitethernet0/0/123.[Switch-GigabitEthernet0/0/1]loopback-detectactionblock24.[Switch-GigabitEthernet0/0/1]loopback-detect3025.[Switch-GigabitEthernet0/0/1]quit26.[Switch]interfacegigabitethernet0/0/227.[Switch-GigabitEthernet0/0/2]loopback-detectactionblock28.[Switch-GigabitEthernet0/0/2]loopback-detect30[Switch-GigabitEthernet0/0/2][Switch-GigabitEthernet0/0/2]quitdisplayloopback-detect。b.[Switch]displayloopback-detectb.[Switch]displayloopback-detectc.Loopback-detectsending-packetinterval: 5d.h.GigabitEthernet0/0/130blockNORMALi.NORMALGigabitEthernet0/0/230blocke.f.Interfacee.f.InterfaceRecoverTimeActionStatusg.j. 后,等待一段时间(5秒),displayloopback-detect接口GE0/0/1GE0/0/2有一个被阻塞。k.k.[Switch]displayloopback-detectl.Loopback-detectsending-packetinterval: 5w.w.x.InterfaceRecoverTimeActionStatusy.m.m.q. GigabitEthernet0/0/130blockNORMr. GigabitEthernet0/0/230blockBLOCK(Loopbackdetected)n.o.InterfaceRecoverTimeActionn.o.InterfaceRecoverTimeActionStatusp.AL. 10displayloopback-detect2是否

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论