<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Serial line will not stay up in Switching</title>
    <link>https://community.cisco.com/t5/switching/serial-line-will-not-stay-up/m-p/425622#M441857</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe all you need to do is just make sure the end with the DCE has a clock rate set.  This end will provide clocking for the line.  You only need the clock source line commands if you have internal CSU's on your routers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also think your IP info doesn't matter.  Of course if you want IP comminucation to function, the interfaces will need to be in the same subnet, but for the purposes of bringing up the line, it's irrelevant.  That's a layer three issue and all we're trying to accomplish is getting the line up.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Danny &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 Aug 2005 19:09:38 GMT</pubDate>
    <dc:creator>dandaluz</dc:creator>
    <dc:date>2005-08-30T19:09:38Z</dc:date>
    <item>
      <title>Serial line will not stay up</title>
      <link>https://community.cisco.com/t5/switching/serial-line-will-not-stay-up/m-p/425611#M441841</link>
      <description>&lt;P&gt;I am unable to get my back to back serial line to stay up.  I configure 2 2501 routers as such:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Router1&lt;/P&gt;&lt;P&gt;e0 - 10.0.1.254 /24&lt;/P&gt;&lt;P&gt;s0 - 10.0.2.254 /24&lt;/P&gt;&lt;P&gt;s1 - 10.0.3.254 /24&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Router2&lt;/P&gt;&lt;P&gt;e0 - 10.0.4.254 /24&lt;/P&gt;&lt;P&gt;s0 - 10.0.5.254 /24&lt;/P&gt;&lt;P&gt;s1 - 10.0.6.254 /24&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Router 1 has the DCE end of the cable and I ran the command of clockrate 64000.  This seemed to bring up the line.  Then the line starts to loop where the line protocol comes up for 30seconds, then down for 30 seconds.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help you can provide is appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Mar 2019 19:37:21 GMT</pubDate>
      <guid>https://community.cisco.com/t5/switching/serial-line-will-not-stay-up/m-p/425611#M441841</guid>
      <dc:creator>jake052399</dc:creator>
      <dc:date>2019-03-05T19:37:21Z</dc:date>
    </item>
    <item>
      <title>Re: Serial line will not stay up</title>
      <link>https://community.cisco.com/t5/switching/serial-line-will-not-stay-up/m-p/425612#M441843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I believe you can fix the problem by setting one 2501's timing to internal, and the other one defaults to network.  This provides one source of timing, and I think that is what you are experiencing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope I am right, and I hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Aug 2005 02:29:03 GMT</pubDate>
      <guid>https://community.cisco.com/t5/switching/serial-line-will-not-stay-up/m-p/425612#M441843</guid>
      <dc:creator>c.chaffee</dc:creator>
      <dc:date>2005-08-26T02:29:03Z</dc:date>
    </item>
    <item>
      <title>Re: Serial line will not stay up</title>
      <link>https://community.cisco.com/t5/switching/serial-line-will-not-stay-up/m-p/425613#M441845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are running HDLC encapsulation (the default), this means the line is not coming up at all.  HDLC has no connection protocol, so it relies on keepalives to signal that the line is up.  When you connect the line, it flags it as "up" immediately, and if it does not receive a keepalive within 30 seconds only then does it flag it as "down".  Make sure that it really is the DCE end that has the &lt;B&gt;clockrate&lt;/B&gt; (use &lt;B&gt;show controllers S0&lt;/B&gt; to do this), and make sure that keepalives are enabled on both ends.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The other comment I would make is that both ends of each link need to be in the same subnet.  For example, if S0 is connected to S0, and one end is 10.2.254/24, then the other S0 needs to be something like 10.0.2.253/24.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does this help?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kevin Dorrell&lt;/P&gt;&lt;P&gt;Luxembourg&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Aug 2005 06:03:42 GMT</pubDate>
      <guid>https://community.cisco.com/t5/switching/serial-line-will-not-stay-up/m-p/425613#M441845</guid>
      <dc:creator>Kevin Dorrell</dc:creator>
      <dc:date>2005-08-26T06:03:42Z</dc:date>
    </item>
    <item>
      <title>Re: Serial line will not stay up</title>
      <link>https://community.cisco.com/t5/switching/serial-line-will-not-stay-up/m-p/425614#M441847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi C.Chaffee,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please let us know the command that needs to be stuck to enable the timing to internal and also the cmd to set it to the network ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi Kevin&lt;/P&gt;&lt;P&gt;I feel the keepalive for HDLC is 10 sec by default.&lt;/P&gt;&lt;P&gt;What is the 30 sec keepalive that you are suggesting here ?&lt;/P&gt;&lt;P&gt;On the HDLC interfaces, I see :&lt;/P&gt;&lt;P&gt; Keepalive set (10 sec)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance !&lt;/P&gt;&lt;P&gt;Arav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Aug 2005 06:45:14 GMT</pubDate>
      <guid>https://community.cisco.com/t5/switching/serial-line-will-not-stay-up/m-p/425614#M441847</guid>
      <dc:creator>aravindhs</dc:creator>
      <dc:date>2005-08-26T06:45:14Z</dc:date>
    </item>
    <item>
      <title>Re: Serial line will not stay up</title>
      <link>https://community.cisco.com/t5/switching/serial-line-will-not-stay-up/m-p/425615#M441849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By default serial interface is DTE. IP address/ Encapsualtion is your choice. If you choose not to configure the encapsulation by default HDLC will be configured. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have to configure the follwing commands on your DCE side interface &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ip address 192.168.4.1 255.255.255.252  &lt;/P&gt;&lt;P&gt;encapsulation ppp&lt;/P&gt;&lt;P&gt;dce-terminal-timing-enable&lt;/P&gt;&lt;P&gt;clock rate 64000&lt;/P&gt;&lt;P&gt;no shutdown&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;on DTE side&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ip address 192.168.4.2 255.255.255.252&lt;/P&gt;&lt;P&gt;encapsulation ppp&lt;/P&gt;&lt;P&gt;no shutdown&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;suresh.krishnamurthy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Aug 2005 15:50:19 GMT</pubDate>
      <guid>https://community.cisco.com/t5/switching/serial-line-will-not-stay-up/m-p/425615#M441849</guid>
      <dc:creator>suresh.krishnamurthy</dc:creator>
      <dc:date>2005-08-26T15:50:19Z</dc:date>
    </item>
    <item>
      <title>Re: Serial line will not stay up</title>
      <link>https://community.cisco.com/t5/switching/serial-line-will-not-stay-up/m-p/425616#M441851</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have tried the suggestions.  It stills seems to loop. I set encapsulation back to HDLC as PPP didn't even want to come up for 30 seconds. Here is the output of my config.  As you can notice itis hard to fit in commands as you keep getting messages that the line protocol is down/up.  Any help is appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 27 Aug 2005 13:17:50 GMT</pubDate>
      <guid>https://community.cisco.com/t5/switching/serial-line-will-not-stay-up/m-p/425616#M441851</guid>
      <dc:creator>jake052399</dc:creator>
      <dc:date>2005-08-27T13:17:50Z</dc:date>
    </item>
    <item>
      <title>Re: Serial line will not stay up</title>
      <link>https://community.cisco.com/t5/switching/serial-line-will-not-stay-up/m-p/425617#M441852</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, I was on vacation until about 25 mins ago.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;clock source internal&lt;/P&gt;&lt;P&gt;clock source network / clock source line&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The second one depends on what version of IOS you are running.  If this doesn't work, could you post your configuration for the two interfaces?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 28 Aug 2005 22:02:05 GMT</pubDate>
      <guid>https://community.cisco.com/t5/switching/serial-line-will-not-stay-up/m-p/425617#M441852</guid>
      <dc:creator>c.chaffee</dc:creator>
      <dc:date>2005-08-28T22:02:05Z</dc:date>
    </item>
    <item>
      <title>Re: Serial line will not stay up</title>
      <link>https://community.cisco.com/t5/switching/serial-line-will-not-stay-up/m-p/425618#M441853</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That confirms what I thought: neither PPP nor HDLC is coming up at all.  The two encapsulations behave differently during startup.  With PPP, it marks the connection is down, and does not mark it up until it has successfully established a connection.  With HDLC, it marks it as up immediately regardless of the state of the protocol, and then looks for keepalives; if it does not see a keepalive within 30 seconds, only then does it mark it as down.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would stick to HDLC for the moment because it is a lot simpler, and does not depend on any connection protocol.  But that does not tell you yet why it is not coming up.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I do notice that Test1 is receiving and transmitting frames OK.  Test2 is transmitting frames, but has never received anything.  So I would suspect that the cable is broken - in particular the data pin transmitted from Test1 and received by Test2.  If not, possible the receiver in Test2 is defective.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kevin Dorrell&lt;/P&gt;&lt;P&gt;Luxembourg&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Aug 2005 13:32:29 GMT</pubDate>
      <guid>https://community.cisco.com/t5/switching/serial-line-will-not-stay-up/m-p/425618#M441853</guid>
      <dc:creator>Kevin Dorrell</dc:creator>
      <dc:date>2005-08-29T13:32:29Z</dc:date>
    </item>
    <item>
      <title>Re: Serial line will not stay up</title>
      <link>https://community.cisco.com/t5/switching/serial-line-will-not-stay-up/m-p/425619#M441854</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks.  I ordered a new cable and will give that a try.  I'll post the results.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Aug 2005 17:56:17 GMT</pubDate>
      <guid>https://community.cisco.com/t5/switching/serial-line-will-not-stay-up/m-p/425619#M441854</guid>
      <dc:creator>jake052399</dc:creator>
      <dc:date>2005-08-29T17:56:17Z</dc:date>
    </item>
    <item>
      <title>Re: Serial line will not stay up</title>
      <link>https://community.cisco.com/t5/switching/serial-line-will-not-stay-up/m-p/425620#M441855</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is the Cisco link for configuring back-to-back serial connections.  I have several of these in use at home using 2500's without any issues.  I haven't had to config any keep-alive settings.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-custom" href="http://www.cisco.com/en/US/customer/tech/tk713/tk317/technologies_configuration_example09186a00800944ff.shtml" target="_blank"&gt;http://www.cisco.com/en/US/customer/tech/tk713/tk317/technologies_configuration_example09186a00800944ff.shtml&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd have to agree with Kevin on a possible bad cable.  Let us know how you make out once you replace the cable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sean&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Aug 2005 03:45:23 GMT</pubDate>
      <guid>https://community.cisco.com/t5/switching/serial-line-will-not-stay-up/m-p/425620#M441855</guid>
      <dc:creator>s.conway</dc:creator>
      <dc:date>2005-08-30T03:45:23Z</dc:date>
    </item>
    <item>
      <title>Re: Serial line will not stay up</title>
      <link>https://community.cisco.com/t5/switching/serial-line-will-not-stay-up/m-p/425621#M441856</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sean,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just to add to your point about keepalives: with HDLC, the default is one keepalive every 10 seconds, and a dead-time of 30 seconds.  If you configure &lt;B&gt;no keepalive&lt;/B&gt;, then the interface will always &lt;U&gt;appear&lt;/U&gt; "line protocol up", even if it is not working at all, provided the "modem" signals are valid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kevin Dorrell&lt;/P&gt;&lt;P&gt;Luxembourg&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Aug 2005 05:18:24 GMT</pubDate>
      <guid>https://community.cisco.com/t5/switching/serial-line-will-not-stay-up/m-p/425621#M441856</guid>
      <dc:creator>Kevin Dorrell</dc:creator>
      <dc:date>2005-08-30T05:18:24Z</dc:date>
    </item>
    <item>
      <title>Re: Serial line will not stay up</title>
      <link>https://community.cisco.com/t5/switching/serial-line-will-not-stay-up/m-p/425622#M441857</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe all you need to do is just make sure the end with the DCE has a clock rate set.  This end will provide clocking for the line.  You only need the clock source line commands if you have internal CSU's on your routers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also think your IP info doesn't matter.  Of course if you want IP comminucation to function, the interfaces will need to be in the same subnet, but for the purposes of bringing up the line, it's irrelevant.  That's a layer three issue and all we're trying to accomplish is getting the line up.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Danny &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Aug 2005 19:09:38 GMT</pubDate>
      <guid>https://community.cisco.com/t5/switching/serial-line-will-not-stay-up/m-p/425622#M441857</guid>
      <dc:creator>dandaluz</dc:creator>
      <dc:date>2005-08-30T19:09:38Z</dc:date>
    </item>
    <item>
      <title>Re: Serial line will not stay up</title>
      <link>https://community.cisco.com/t5/switching/serial-line-will-not-stay-up/m-p/425623#M441858</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you must be make some mistake in your network. The IP address you gived us are not in the same subnet, so it cannot run well. You can do like this.&lt;/P&gt;&lt;P&gt;Router1 &lt;/P&gt;&lt;P&gt;e0 - 10.0.1.254 /24 &lt;/P&gt;&lt;P&gt;s0 - 10.0.2.254 /24 &lt;/P&gt;&lt;P&gt;s1 - 10.0.3.254 /24 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Router2 &lt;/P&gt;&lt;P&gt;e0 - 10.0.4.254 /24 &lt;/P&gt;&lt;P&gt;s0 - 10.0.2.253 /24 &lt;/P&gt;&lt;P&gt;s1 - 10.0.6.254 /24 &lt;/P&gt;&lt;P&gt;and configure interface s0 of route1 and route2 like this:&lt;/P&gt;&lt;P&gt;route1:&lt;/P&gt;&lt;P&gt;config t&lt;/P&gt;&lt;P&gt;int s0&lt;/P&gt;&lt;P&gt;ip address 10.0.2.254 255.255.255.0&lt;/P&gt;&lt;P&gt;clock rate 64000&lt;/P&gt;&lt;P&gt;no shut&lt;/P&gt;&lt;P&gt;route2:&lt;/P&gt;&lt;P&gt;config t&lt;/P&gt;&lt;P&gt;int s0&lt;/P&gt;&lt;P&gt;ip address 10.0.2.253 255.255.255.0&lt;/P&gt;&lt;P&gt;no shut&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Sep 2005 00:44:23 GMT</pubDate>
      <guid>https://community.cisco.com/t5/switching/serial-line-will-not-stay-up/m-p/425623#M441858</guid>
      <dc:creator>katoleecn</dc:creator>
      <dc:date>2005-09-02T00:44:23Z</dc:date>
    </item>
    <item>
      <title>Re: Serial line will not stay up</title>
      <link>https://community.cisco.com/t5/switching/serial-line-will-not-stay-up/m-p/425624#M441859</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks.  I made those changes after noticing the IP address error and the line would still fluctuate.  I received a new cable this morning and as soon as I put it on the line came up and stayed up.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for all the help provided!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Sep 2005 12:51:26 GMT</pubDate>
      <guid>https://community.cisco.com/t5/switching/serial-line-will-not-stay-up/m-p/425624#M441859</guid>
      <dc:creator>jake052399</dc:creator>
      <dc:date>2005-09-02T12:51:26Z</dc:date>
    </item>
  </channel>
</rss>

