您好,欢迎访问三七文档
当前位置:首页 > 临时分类 > BFD配置示例(Cisco、迈普、H3C、华为、锐捷)
BFD配置示例注:不同型号设备或者不同系统版本配置命令会有出入,请详查操作手册。1.1Cisco设备1.1.1BFD配置语法说明:配置步骤1.enable2.configureterminal3.interfacetypenumber4.bfdintervalmillisecondsmin_rxmillisecondsmultiplierintervalmultiplier5.end命令动作解释:命令动作解释Step3interfacetypenumberExample:Router(config)#interfaceFastEthernet6/0Entersinterfaceconfigurationmode.Step4bfdintervalmillisecondsmin_rxmillisecondsmultiplierintervalmultiplierExample:Router(config-if)#bfdinterval50min_rx50multiplier5EnablesBFDontheinterface.1.1.2BFDForStaticRoute1.enable2.configureterminal3.interfacetypenumber4.ipaddressip-addressmask5.bfdintervalmillisecondsmin_rxmillisecondsmultiplierinterval-multiplier6.exit7.iproutestaticbfdinterface-typeinterface-numberip-address[groupgroup-name[passive]]8.iproute[vrfvrf-name]prefixmask{ip-address|interface-typeinterface-number[ip-address]}[dhcp][distance][namenext-hop-name][permanent|tracknumber][tagtag]9.exit10.showipstaticroute11.showipstaticroutebfd12.exit命令动作解释Step3interfacetypenumberExample:Router(config)#interfaceserial2/0Configuresaninterfaceandentersinterfaceconfigurationmode.Step4ipaddressip-addressmaskExample:Router(config-if)#ipaddress10.201.201.1255.255.255.0ConfiguresanIPaddressfortheinterface.Step5bfdintervalmillisecondsmin_rxmillisecondsmultiplierintervalmultiplierExample:Router(config-if)#bfdinterval500min_rx500multiplier5EnablesBFDontheinterface.Step6exitExample:Router(config-if)#exitExitsinterfaceconfigurationmodeandreturnstoglobalconfigurationmode.Step7iproutestaticbfdinterface-typeinterface-numberip-address[groupgroup-name[passive]]Example:Router(config)#iproutestaticbfdserial2/010.1.1.1groupgroup1passiveSpecifiesastaticrouteBFDneighbor.•Theinterface-type,interface-number,andip-addressargumentsarerequiredbecauseBFDsupportexistsonlyfordirectlyconnectedneighbors.Step8iproute[vrfvrf-name]prefixmask{ip-address|interface-typeinterface-number[ip-address]}[dhcp][distance][namenext-hopname][permanent|tracknumber][tagtag]Example:Router(config)#iproute10.0.0.0255.0.0.0Example:Serial2/010.201.201.2SpecifiesastaticrouteBFDneighbor.Step9exitExample:Router(config)#exitExitsglobalconfigurationmodeandreturnstoprivilegedEXECmode.Step10showipstaticrouteExample:Router#showipstaticroute(Optional)Displaysstaticroutedatabaseinformation.Step11showipstaticroutebfdExample:Router#showipstaticroutebfd(Optional)DisplaysinformationaboutthestaticBFDconfigurationfromtheconfiguredBFDgroupsandnongroupentries.配置示例:RouterAconfigureterminalinterfaceSerial2/0ipaddress10.201.201.1255.255.255.0bfdinterval500min_rx500multiplier5iproutestaticbfdSerial2/010.201.201.2iproute10.0.0.0255.0.0.0Serial2/010.201.201.2RouterBconfigureterminalinterfaceSerial2/0ipaddress10.201.201.2255.255.255.0bfdinterval500min_rx500multiplier5iproutestaticbfdSerial2/010.201.201.1iproute10.1.1.1255.255.255.255Serial2/010.201.201.11.1.3BFDForRIP暂无。1.1.4BFDForEIGRP整体配置命令显示1.enable2.configureterminal3.routereigrpas-number4.Dooneofthefollowing:•bfdall-interfaces•bfdinterfacetypenumber5.end6.showbfdneighbors[details]7.showipeigrpinterfaces[typenumber][as-number][detail]命令动作解释:命令动作解释Step3routereigrpas-numberExample:Router(config)#routereigrp123ConfigurestheEIGRProutingprocessandentersrouterconfigurationmode.Step4Dooneofthefollowing:•bfdall-interfaces••bfdinterfacetypenumberExample:Router(config-router)#bfdall-interfacesExample:Example:Router(config-router)#bfdinterfaceFastEthernet6/0EnablesBFDgloballyonallinterfacesassociatedwiththeEIGRProutingprocess.orEnablesBFDonaper-interfacebasisforoneormoreinterfacesassociatedwiththeEIGRProutingprocess.Step6showbfdneighbors[details]Example:Router#showbfdneighborsdetails(Optional)VerifiesthattheBFDneighborisactiveanddisplaystheroutingprotocolsthatBFDhasregistered.NoteInordertoseethefulloutputoftheshowbfdneighborsdetailscommandonaCisco12000seriesrouter,youmustenterthecommandonthelinecard.Entertheattachslot-numbercommandtoestablishaCLIsessionwithalinecard.Theregisteredprotocolsarenotshownintheoutputoftheshowbfdneighborsdetailscommandwhenitisenteredonalinecard.NoteIfhardware-offloadedBFDsessionsareconfiguredwithTxandRxintervalsthatarenotmultiplesof50ms,thehardwareintervalsarechanged.However,outputfromtheshowbfdneighborsdetailscommandwillshowtheconfiguredintervals,notthechangedones.Step7showipeigrpinterfaces[typenumber][asnumber](Optional)DisplaystheinterfacesforwhichBFDsupportforEIGRP[detail]Example:Router#showipeigrpinterfacesdetailhasbeenenabled.配置示例:ConfigurationforRouterAinterfaceFastEthernet0/0noshutdownipaddress10.4.9.14255.255.255.0duplexautospeedauto!interfaceFastEthernet1/0ipaddress172.16.1.1255.255.255.0bfdinterval50min_rx50multiplier3noshutdownduplexautospeedauto!routereigrp11network172.16.0.0bfdall-interfacesauto-summary!ipdefault-gateway10.4.9.1ipdefault-network0.0.0.0iproute0.0.0.00.0.0.010.4.9.1iproute172.16.1.129255.255.255.25510.4.9.1!noiphttpserver!loggingalarminformational!control-plane!linecon0exec-timeout300stopbits1lineaux0stopbits1linevty04login!!endConfigurationforRouterB!interfaceFastEthernet0/0noshutdownipaddress10.4.9.34255.255.255.0dupl
本文标题:BFD配置示例(Cisco、迈普、H3C、华为、锐捷)
链接地址:https://www.777doc.com/doc-4328514 .html