VistageraldosmecanismoskeepalivenoCiscoIOSndiceIntroduoInformaesdeApoioMecanismosdokeepalivedeinterfaceInterfacesdeEthernetInterfacesseriaisManutenesdeatividadedeHDLCManutenesdeatividadedePPPInterfacesdotúnelGREKeepalivescriptoKeepalivesdeIKEKeepalivesNATIntroduoEstedocumentodescreveosváriosmecanismoskeepalivenodoCiscoIOS.
InformaesdeApoioOsmensagensdekeepalivesoenviadosporumdispositivoderedeatravésdeumexameoudeunscircuitosvirtuaisafiminformaraindaumoutrodispositivoderedeesseocircuitoentreelesfunes.
ParaqueoKeepalivestrabalhehádoisfatoresessenciais:Ointervalokeepaliveéoperíododetempoentrecadamensagemdekeepalivequeéenviadoporumdispositivoderede.
Istoésempreconfigurável.
qAsnovastentativasdokeepalivesoonúmerodevezesqueodispositivocontinuaaenviarapacoteskeepalivesemrespostaantesqueoestadoestejamudadoa"parabaixo".
ParaalgunstiposdeKeepalivesistoéconfigurável,quandoparaoutrohouverumvalorpadroquenopossasermudado.
qMecanismosdokeepalivedeinterfaceInterfacesdeEthernetEmmeiosdetransmissotaiscomoumEthernet,oKeepalivesélevementeoriginal.
DesdequehámuitospossíveisvizinhosnosEthernet,okeepalivenoestáprojetadodeterminarseotrajetoaqualquerumvizinhoespecíficonofioestádisponível.
Projeta-sesomentecertificar-sedosistemalocaltenhaoacessodeleituraegravaoaofiodosEthernetpróprio.
OroteadorproduzumpacotedeEthernetcomsecomooendereoMACdeorigemededestinoeumcódigotipodeEthernetespecialde0x9000.
OhardwaredeEthernetenviaestepacotenofiodosEtherneteentorecebeimediatamenteestapartetraseiradopacoteoutravez.
IstoverificaohardwaredeemissoedereceponoadaptadordoEtherneteaintegridadebásicadofio.
InterfacesseriaisAsinterfacesserialpodemtertiposdiferentesdeencapsulamentosecadatipodeencapsulamentodeterminaotipodoKeepalivesqueseráusado.
InscrevaocomandokeepalivenomododeconfiguraodainterfaceafimajustarafrequênciaemqueumroteadorenviapacotesECHOREQaseupar:Afimrestaurarosistemaaointervalokeepalivedopadrodossegundos10,inscrevaocomandokeepalivecomnenhumapalavra-chave.
qAfimdesabilitaroKeepalives,inscrevaocomandodisabledokeepalive.
qNota:keepaliveOcomandoaplica-seàsinterfacesserialqueusamolinkdedadosdenívelelevadoContol(HDLC)ouoencapsulamentoPPP.
NoseaplicaàsinterfacesserialqueusamoEncapsulamentoframerelay.
Nota:ParaoPPPeostiposdoencapsulamentodeHDLC,umkeepalivedezerodesabilitaoKeepaliveseérelatadonocomandoshowrunning-configoutputcomoodesabilitaodokeepalive.
ManutenesdeatividadedeHDLCUmoutromecanismokeepaliveconhecidoémanutenesdeatividadeserialparaoHDLC.
AsmanutenesdeatividadeserialsoenviadasparaafrenteeparatrásentredoisRoteadoreseoKeepalivessoreconhecidos.
Comousodosnúmerosdesequênciaseguircadakeepalive,cadadispositivopodeconfirmarseéparHDLCrecebeuokeepalivequeenviou.
ParaoencapsulamentodeHDLC,trêsKeepalivesignoradosfazemcomquearelaosejaderrubada.
PermitaocomandodebugserialinterfaceparaumaconexodeHDLCafimpermitirqueousuárioveroKeepalivesqueégeradoeenviado:SampleOutput:17:21:09.
61f20;BACKGROUND-COLOR:#4ae2f7">85:Serial0/0:HDLCmyseq0,mineseen0*,yourseen1,lineupAsmanutenesdeatividadedeHDLCcontêmtrêspartesafimdeterminá-lotrabalham:O"myseq"queénossopróprionúmerodeincremento.
qO"mineseen"queérealmenteumreconhecimentodooutrolado(incrementado)quedizqueesperaestenúmerodenós.
q"Yourseen"queénossoreconhecimentoaooutrolado.
qNota:Quandoadiferenanosvaloresnoscamposdomyseqedomineseenexcedetrêsnoroteador2,alinhavaiparabaixoearelaoérestaurada.
DesdequeasmanutenesdeatividadedeHDLCsotipoKeepalivesECHOREQ,afrequênciadekeepaliveéimportanteerecomenda-sequecombinamacimaexatamenteemambososlados.
Seostemporizadoressoforadasincronizao,osnúmerosdesequênciacomeamsairdaordem.
Porexemplo,sevocêajustaumladoaossegundos10eooutroa25segundos,aindapermitiráarelaopermaneaacimaenquantoadiferenanafrequêncianoésuficienteparafazercomqueosnúmerosdesequênciaestejamporumadiferenadetrês.
ComoumailustraodecomoasmanutenesdeatividadedeHDLCtrabalham,oroteador1eoroteador2soconectadosdiretamenteatravésdoSerial0/0edoSerial2/0respectivamente.
AfimilustrarcomooKeepalivesfalhadoHDCLéusadoparaseguirosestadosdarelao,oSerial0/0seráfechadonoroteador1.
Roteador1Router1#showinterfacesserial0/0/0Serial0/0/0isup,lineprotocolisup(connected)HardwareisHD64570Internetaddressis10.
0.
0.
1/1f20;BACKGROUND-COLOR:#4ae2f7">8MTU1500bytes,BW64Kbit,DLY20000usec,rely255/255,load1/255EncapsulationHDLC,loopbacknotset,keepaliveset(10sec)[outputisomited]17:21:09.
61f20;BACKGROUND-COLOR:#4ae2f7">85:Serial0/0:HDLCmyseq0,mineseen0*,yourseen1,lineup17:21:19.
725:Serial0/0:HDLCmyseq1,mineseen1*,yourseen2,lineup17:21:29.
753:Serial0/0:HDLCmyseq2,mineseen2*,yourseen3,lineup17:21:39.
773:Serial0/0:HDLCmyseq3,mineseen3*,yourseen4,lineup17:21:49.
1f20;BACKGROUND-COLOR:#4ae2f7">805:Serial0/0:HDLCmyseq4,mineseen4*,yourseen5,lineup17:21:59.
1f20;BACKGROUND-COLOR:#4ae2f7">837:Serial0/0:HDLCmyseq5,mineseen5*,yourseen6,lineup17:22:09.
1f20;BACKGROUND-COLOR:#4ae2f7">865:Serial0/0:HDLCmyseq6,mineseen6*,yourseen7,lineup17:22:19.
905:Serial0/0:HDLCmyseq7,mineseen7*,yourseen1f20;BACKGROUND-COLOR:#4ae2f7">8,lineup17:22:29.
945:Serial0/0:HDLCmyseq1f20;BACKGROUND-COLOR:#4ae2f7">8,mineseen1f20;BACKGROUND-COLOR:#4ae2f7">8*,yourseen9,lineupRouter1(config-if)#shut17:22:39.
965:Serial0/0:HDLCmyseq9,mineseen9*,yourseen10,lineup17:22:42.
225:%LINK-5-CHANGED:InterfaceSerial0/0,changedstatetoadministrativelydown17:22:43.
245:%LINEPROTO-5-UPDOWN:LineprotocolonInterfaceSerial0/0,changedstatetodownRoteador2Router2#showinterfacesserial0/0/0Serial0/0/0isup,lineprotocolisup(connected)HardwareisHD64570Internetaddressis10.
0.
0.
2/1f20;BACKGROUND-COLOR:#4ae2f7">8MTU1500bytes,BW64Kbit,DLY20000usec,rely255/255,load1/255EncapsulationHDLC,loopbacknotset,keepaliveset(10sec)[outputisomited]17:21:04.
929:Serial2/0:HDLCmyseq0,mineseen0,yourseen0,lineup17:21:14.
941:Serial2/0:HDLCmyseq1,mineseen1*,yourseen1,lineup17:21:24.
961:Serial2/0:HDLCmyseq2,mineseen2*,yourseen2,lineup17:21:34.
91f20;BACKGROUND-COLOR:#4ae2f7">81:Serial2/0:HDLCmyseq3,mineseen3*,yourseen3,lineup17:21:45.
001:Serial2/0:HDLCmyseq4,mineseen4*,yourseen4,lineup17:21:55.
021:Serial2/0:HDLCmyseq5,mineseen5*,yourseen5,lineup17:22:05.
041:Serial2/0:HDLCmyseq6,mineseen6*,yourseen6,lineup17:22:15.
061:Serial2/0:HDLCmyseq7,mineseen7*,yourseen7,lineup17:22:25.
01f20;BACKGROUND-COLOR:#4ae2f7">81:Serial2/0:HDLCmyseq1f20;BACKGROUND-COLOR:#4ae2f7">8,mineseen1f20;BACKGROUND-COLOR:#4ae2f7">8*,yourseen1f20;BACKGROUND-COLOR:#4ae2f7">8,lineup17:22:35.
101:Serial2/0:HDLCmyseq9,mineseen9*,yourseen9,lineup17:22:45.
113:Serial2/0:HDLCmyseq10,mineseen10*,yourseen10,lineup17:22:55.
133:Serial2/0:HDLCmyseq11,mineseen10,yourseen10,lineup17:23:05.
153:HD(0):Resetfrom0x203751f20;BACKGROUND-COLOR:#4ae2f7">817:23:05.
153:HD(0):AssertingDTR17:23:05.
153:HD(0):AssertingDTRandRTS17:23:05.
153:Serial2/0:HDLCmyseq12,mineseen10,yourseen10,lineup17:23:15.
173:HD(0):Resetfrom0x203751f20;BACKGROUND-COLOR:#4ae2f7">817:23:15.
173:HD(0):AssertingDTR17:23:15.
173:HD(0):AssertingDTRandRTS17:23:15.
173:Serial2/0:HDLCmyseq13,mineseen10,yourseen10,linedown17:23:16.
201:%LINEPROTO-5-UPDOWN:LineprotocolonInterfaceSerial2/0,changedstatetodownRouter2#17:23:25.
193:Serial2/0:HDLCmyseq14,mineseen10,yourseen10,linedownManutenesdeatividadedePPPAsmanutenesdeatividadedePPPsoumpoucodiferentesdasmanutenesdeatividadedeHDLC.
AocontráriodoHDLC,asmanutenesdeatividadedePPPsomaiscomosibilos.
Osambososladospodemsibilar-seemseulazer.
OmovimentonegociadoapropriadoéresponderSEMPREaeste"sibilo".
AssimparamanutenesdeatividadedePPP,afrequênciaouovalordetemporizadorsosomentelocalmenterelevanteenotêmnenhumimpactonooutrolado.
MesmoseumladodesligaoKeepalives,aindaRESPONDER2aquelasrequisiesdeecodoladoquetemumtemporizadordekeepalive.
Contudo,nuncainiciaráalgumadoseuspróprios.
PermitaocomandodebugppppacketparaumaconexoPPPafimpermitirqueousuárioverasmanutenesdeatividadedePPPquesoenviadas:Router2#showinterfacesserial0/0/0Serial0/0/0isup,lineprotocolisup(connected)HardwareisHD64570Internetaddressis10.
0.
0.
2/1f20;BACKGROUND-COLOR:#4ae2f7">8MTU1500bytes,BW64Kbit,DLY20000usec,rely255/255,load1/255EncapsulationHDLC,loopbacknotset,keepaliveset(10sec)[outputisomited]17:21:04.
929:Serial2/0:HDLCmyseq0,mineseen0,yourseen0,lineup17:21:14.
941:Serial2/0:HDLCmyseq1,mineseen1*,yourseen1,lineup17:21:24.
961:Serial2/0:HDLCmyseq2,mineseen2*,yourseen2,lineup17:21:34.
91f20;BACKGROUND-COLOR:#4ae2f7">81:Serial2/0:HDLCmyseq3,mineseen3*,yourseen3,lineup17:21:45.
001:Serial2/0:HDLCmyseq4,mineseen4*,yourseen4,lineup17:21:55.
021:Serial2/0:HDLCmyseq5,mineseen5*,yourseen5,lineup17:22:05.
041:Serial2/0:HDLCmyseq6,mineseen6*,yourseen6,lineup17:22:15.
061:Serial2/0:HDLCmyseq7,mineseen7*,yourseen7,lineup17:22:25.
01f20;BACKGROUND-COLOR:#4ae2f7">81:Serial2/0:HDLCmyseq1f20;BACKGROUND-COLOR:#4ae2f7">8,mineseen1f20;BACKGROUND-COLOR:#4ae2f7">8*,yourseen1f20;BACKGROUND-COLOR:#4ae2f7">8,lineup17:22:35.
101:Serial2/0:HDLCmyseq9,mineseen9*,yourseen9,lineup17:22:45.
113:Serial2/0:HDLCmyseq10,mineseen10*,yourseen10,lineup17:22:55.
133:Serial2/0:HDLCmyseq11,mineseen10,yourseen10,lineup17:23:05.
153:HD(0):Resetfrom0x203751f20;BACKGROUND-COLOR:#4ae2f7">817:23:05.
153:HD(0):AssertingDTR17:23:05.
153:HD(0):AssertingDTRandRTS17:23:05.
153:Serial2/0:HDLCmyseq12,mineseen10,yourseen10,lineup17:23:15.
173:HD(0):Resetfrom0x203751f20;BACKGROUND-COLOR:#4ae2f7">817:23:15.
173:HD(0):AssertingDTR17:23:15.
173:HD(0):AssertingDTRandRTS17:23:15.
173:Serial2/0:HDLCmyseq13,mineseen10,yourseen10,linedown17:23:16.
201:%LINEPROTO-5-UPDOWN:LineprotocolonInterfaceSerial2/0,changedstatetodownRouter2#17:23:25.
193:Serial2/0:HDLCmyseq14,mineseen10,yourseen10,linedownerespostasquesorecebidas:Router2#showinterfacesserial0/0/0Serial0/0/0isup,lineprotocolisup(connected)HardwareisHD64570Internetaddressis10.
0.
0.
2/1f20;BACKGROUND-COLOR:#4ae2f7">8MTU1500bytes,BW64Kbit,DLY20000usec,rely255/255,load1/255EncapsulationHDLC,loopbacknotset,keepaliveset(10sec)[outputisomited]17:21:04.
929:Serial2/0:HDLCmyseq0,mineseen0,yourseen0,lineup17:21:14.
941:Serial2/0:HDLCmyseq1,mineseen1*,yourseen1,lineup17:21:24.
961:Serial2/0:HDLCmyseq2,mineseen2*,yourseen2,lineup17:21:34.
91f20;BACKGROUND-COLOR:#4ae2f7">81:Serial2/0:HDLCmyseq3,mineseen3*,yourseen3,lineup17:21:45.
001:Serial2/0:HDLCmyseq4,mineseen4*,yourseen4,lineup17:21:55.
021:Serial2/0:HDLCmyseq5,mineseen5*,yourseen5,lineup17:22:05.
041:Serial2/0:HDLCmyseq6,mineseen6*,yourseen6,lineup17:22:15.
061:Serial2/0:HDLCmyseq7,mineseen7*,yourseen7,lineup17:22:25.
01f20;BACKGROUND-COLOR:#4ae2f7">81:Serial2/0:HDLCmyseq1f20;BACKGROUND-COLOR:#4ae2f7">8,mineseen1f20;BACKGROUND-COLOR:#4ae2f7">8*,yourseen1f20;BACKGROUND-COLOR:#4ae2f7">8,lineup17:22:35.
101:Serial2/0:HDLCmyseq9,mineseen9*,yourseen9,lineup17:22:45.
113:Serial2/0:HDLCmyseq10,mineseen10*,yourseen10,lineup17:22:55.
133:Serial2/0:HDLCmyseq11,mineseen10,yourseen10,lineup17:23:05.
153:HD(0):Resetfrom0x203751f20;BACKGROUND-COLOR:#4ae2f7">817:23:05.
153:HD(0):AssertingDTR17:23:05.
153:HD(0):AssertingDTRandRTS17:23:05.
153:Serial2/0:HDLCmyseq12,mineseen10,yourseen10,lineup17:23:15.
173:HD(0):Resetfrom0x203751f20;BACKGROUND-COLOR:#4ae2f7">817:23:15.
173:HD(0):AssertingDTR17:23:15.
173:HD(0):AssertingDTRandRTS17:23:15.
173:Serial2/0:HDLCmyseq13,mineseen10,yourseen10,linedown17:23:16.
201:%LINEPROTO-5-UPDOWN:LineprotocolonInterfaceSerial2/0,changedstatetodownRouter2#17:23:25.
193:Serial2/0:HDLCmyseq14,mineseen10,yourseen10,linedownAsmanutenesdeatividadedePPPcontêmtrêspartes:NúmerodeID-usadoparaidentificaraqueoECHOREQoparresponde.
qTipokeepalive-OECHOREQéKeepalivesenviadopelodispositivodeorigemeoqECHOREPérespostasenviadaspelopar.
Númerosmágicos-asnotificaesincluemosnúmerosmágicosdoserveredoclienteremoto.
OparvalidaonúmeromágiconopacotederequisiodeecoLCP,etransmiteopacotederespostadeecocorrespondenteLCPquecontémonúmeromágiconegociadopeloroteador.
qParaoencapsulamentoPPP,cincoKeepalivesignoradosfazemcomquearelaosejaderrubadaInterfacesdotúnelGREOmecanismokeepalivedotúnelGREélevementediferentedoqueparaEthernetouinterfacesserial.
DáacapacidadeparaqueumladoorigineerecebapacoteskeepaliveaedeumroteadorremotomesmoseoroteadorremotonoapoiamanutenesdeatividadedeGRE.
DesdequeoGREéummecanismodetunelamentodopacoteparaescavarumtúneloIPdentrodoIP,umpacotedotúnelIPGREpodeserconstruídodentrodeumoutropacotedotúnelIPGRE.
ParamanutenesdeatividadedeGRE,asPRE-construesdoremetenteopacotedarespostadekeepalivedentrodopacotederequisiodokeepaliveoriginaldemodoqueasnecessidadesdaextremidaderemotasomentedefazerodesencapsulamentoGREpadrodocabealhoIPexteriorGREeenviamentoopacoteGREinternoIP.
Estemecanismofazcomquearespostadekeepaliveenvieparaforaainterfacefísicaumpoucodoqueainterfacedetúnel.
ParamaisdetalhesaotrabalhardoKeepalivesdotúnelGRE,vejacomoasmanutenesdeatividadedeGREtrabalham.
KeepalivescriptoKeepalivesdeIKEOKeepalivesdoInternetKeyExchange(IKE)éummecanismousadoparadeterminarseumparVPNpodeascendenteereceberotráfegocriptografado.
OKeepalivescriptoseparadoéexigidoalémdoquekeepalivesdeinterfaceporqueosparesVPNgeralmentesoconectadosnuncadevoltaàpartetraseira,assimqueoskeepalivesdeinterfacenofornecembastanteinformaosobreoestadodoparVPN.
EmdispositivosIOSCisco,oskeepalivesdeIKEsopermitidospelousodeummétodoproprietáriochamadooDeadPeerDetection(DPD).
AfimpermitirqueogatewayenvieDPDaopar,incorporeestecomandoaomododeconfiguraoglobal:cryptoisakmpkeepaliveseconds[retry-seconds][periodic|on-demand]AfimdesabilitaroKeepalives,use"no"oformuláriodestecomando.
Paraobtermaisinformaessobredoquecadapalavra-chavenestecomandofaz,vejaokeepalivecriptodoisakmp.
Paramaisgranularidade,oKeepalivespodeigualmenteserconfiguradosoboperfilISAKMP.
Paramaisdetalhes,vejao[CiscoIOSIPsec]davistageraldoperfilISAKMP.
KeepalivesNATEmcasodasencenaesondeumparVPNestáatrásdeumNetworkAddressTranslation(NAT),NAT-Traversaléusadoparaacriptografia.
Contudo,duranteperíodosociososépossívelqueaentradaNATnodispositivoascendentepdecronometrarparafora.
IstopodecausarproblemasquandovocêtrazacimaotúneleoNATnoébidirecional.
OKeepalivesNATépermitidoafimmanterotraodinmicoNATvivoduranteumaconexoentredoispares.
OKeepalivesNATépacotesdeUDPcomumpayloadunencrypteddeumbyte.
EmboraaaplicaoatualDPDsejasimilaraoKeepalivesNAT,háumapequenadiferena-oDPDestáusadoparadetectarostatusdepeerquandooKeepalivesNATforenviadoseaentidadedoIPsecnoenviounemrecebeuopacoteemumperíododetempoespecificado.
Ointervaloválidoestáentre5a3600segundos.
Dica:SeoKeepalivesNATestápermitido(atravésdocomandokeepalivenatdoisamkpcripto),osusuáriosdevemassegurar-sedequeovalorinativosejamaiscurtodoqueotempodeexpiraodomapeamentoNATde20segundos.
Paraobtermaisinformaessobredestacaracterística,vejaatransparênciadeNATdoIPsec.
IMIDC发布了6.18大促销活动,针对香港、台湾、日本和莫斯科独立服务器提供特别优惠价格最低月付30美元起。IMIDC名为彩虹数据(Rainbow Cloud),是一家香港本土运营商,全线产品自营,自有IP网络资源等,提供的产品包括VPS主机、独立服务器、站群独立服务器等,数据中心区域包括香港、日本、台湾、美国和南非等地机房,CN2网络直连到中国大陆。香港服务器 $39/...
wordpress公司网站模板,wordpresss简洁风格的高级通用自适应网站效果,完美自适应支持多终端移动屏幕设备功能,高级可视化后台自定义管理模块+规范高效的搜索优化。wordpress公司网站模板采用标准的HTML5+CSS3语言开发,兼容当下的各种主流浏览器: IE 6+(以及类似360、遨游等基于IE内核的)、Firefox、Google Chrome、Safari、Opera等;同时...
瓜云互联怎么样?瓜云互联之前商家使用的面板为WHMCS,目前商家已经正式更换到了魔方云的面板,瓜云互联商家主要提供中国香港和美国洛杉矶机房的套餐,香港采用CN2线路直连大陆,洛杉矶为高防vps套餐,三网回程CN2 GIA,提供超高的DDOS防御,瓜云互联商家承诺打死退款,目前商家提供了一个全场9折和充值的促销,有需要的朋友可以看看。点击进入:瓜云互联官方网站瓜云互联促销优惠:9折优惠码:联系在线客...
tcpip上的netbios为你推荐
福建海峡银行股份有限公司对开展广场舞活动所产生的噪音,solutionssbcanvas2七尾奈留除了DC canvas2 sola EF 快乐小兔幸运草 以外改编成动画的作品有哪些?iphonewifi为什么我的苹果手机连不上wifiwin7关闭135端口windows 7如何关闭139端口micromediaMacromedia Fireworks 8是什么东西,怎么用?win7还原系统电脑怎么恢复出厂设置win7旗舰版ios5.1.1完美越狱我的苹果手机版本显示的是5.1.1,怎么才知道是不是ios啊?我现在想越狱routeaddroute add 命令后,本地连接的ipv4默认网关会被自动清除。这个默认网关应该怎么设置?
域名注册godaddy vps交流 diahosting 512m 国外网站代理服务器 百兆独享 idc是什么 adroit 无限流量 谷歌台湾 测试网速命令 云服务是什么意思 netvigator 服务器托管价格 贵州电信 512内存 塔式服务器 美国主机 globalsign asp介绍 更多