RE: DTE on FR switch

From: ccie2be (ccie2be@nyc.rr.com)
Date: Mon Mar 21 2005 - 13:01:33 GMT-3


Dillon,

The command, frame-relay intf-type dce, is not equivalent to, clock rate X
bps.

When I talk about DCE and DTE, I'm talking about a layer function, not a
layer 2 function.

The command, frame-relay intf-type dce, is a layer 2 function and MUST be
configured on the frame switch (I believe). The command, clock rate is a
layer 1 function and must be configured on only one side of the serial link.

Off-hand, I don't see the problem with your config so here's what I would
do.

On one link, any link, it doesn't matter, return the interface to its
default config. (You can copy the config to notepad first if you want.) Use
the global command, default interface sX.

Then assign an ip address to each side of the link and config the clock rate
command on one side. Then ping to make sure you have layer 1 compatibility.

Once you're sure of layer 1 compatibility, then config each interface as
appropriate for layer 2. This way if you have a problem, you'll know its
not related to your layer DCE and DTE settings. Once you can ping at the
layer 2 level, then and only then, go ahead and configure your layer 3 info.

HTH, Tim

-----Original Message-----
From: Dillon Yang [mailto:gzdillon@hotmail.com]
Sent: Monday, March 21, 2005 10:28 AM
To: ccie2be
Cc: Group Study
Subject: Re: DTE on FR switch

Hi, Tim:

  Do you mean the config is correct? Please point the error.

TIA
dillon

ps:

FRS#s run
Building configuration...

Current configuration:
!
version 11.0
service udp-small-servers
service tcp-small-servers
!
hostname FRS
!
!
no ip domain-lookup
frame-relay switching
!
interface Loopback0
 ip address 172.16.107.1 255.255.255.0
!
interface Serial1
 no ip address
 encapsulation frame-relay
 frame-relay lmi-type ansi
 frame-relay intf-type dce
 frame-relay route 301 interface Serial4 103
 frame-relay route 302 interface Serial2 203
 frame-relay route 304 interface Serial6 403
!
interface Serial2
 no ip address
 encapsulation frame-relay
 frame-relay lmi-type ansi
 frame-relay intf-type dce
 frame-relay route 201 interface Serial4 102
 frame-relay route 203 interface Serial1 302
 frame-relay route 204 interface Serial6 402
!
interface Serial4
 no ip address
 encapsulation frame-relay
 frame-relay lmi-type ansi
 frame-relay intf-type dce
 frame-relay route 102 interface Serial2 201
 frame-relay route 103 interface Serial1 301
 frame-relay route 104 interface Serial6 401
!
interface Serial6
 no ip address
 encapsulation frame-relay
 frame-relay lmi-type ansi
 frame-relay intf-type dce
 frame-relay route 401 interface Serial4 104
 frame-relay route 402 interface Serial2 204
 frame-relay route 403 interface Serial1 304
!
line con 0
line aux 0
 transport input all
line vty 0 4
 login
!
end

FRS#s int Serial1
Serial1 is down, line protocol is down
  Hardware is MCI Serial
  MTU 1500 bytes, BW 1544 Kbit, DLY 20000 usec, rely 255/255, load 1/255
  Encapsulation FRAME-RELAY, loopback not set, keepalive set (10 sec)
  LMI enq sent 0, LMI stat recvd 0, LMI upd recvd 0
  LMI enq recvd 0, LMI stat sent 0, LMI upd sent 0, DCE LMI down
  LMI DLCI 0 LMI type is ANSI Annex D frame relay DCE
  Broadcast queue 0/64, broadcasts sent/dropped 0/0, interface broadcasts 0
  Last input never, output 0:15:20, output hang never
  Last clearing of "show interface" counters never
  Input queue: 0/75/0 (size/max/drops); Total output drops: 0
  Output queue: 0/64/0 (size/threshold/drops)
     Conversations 0/2 (active/max active)
     Reserved Conversations 0/0 (allocated/max allocated)
  5 minute input rate 0 bits/sec, 0 packets/sec
  5 minute output rate 0 bits/sec, 0 packets/sec
     0 packets input, 0 bytes, 0 no buffer
     Received 0 broadcasts, 0 runts, 0 giants
     0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
     5 packets output, 359 bytes, 0 underruns
     0 output errors, 0 collisions, 35 interface resets, 0 restarts
     0 output buffer failures, 0 output buffers swapped out
     21 carrier transitions
FRS#s int Serial2
Serial2 is down, line protocol is down
  Hardware is MCI Serial
  MTU 1500 bytes, BW 1544 Kbit, DLY 20000 usec, rely 255/255, load 1/255
  Encapsulation FRAME-RELAY, loopback not set, keepalive set (10 sec)
  LMI enq sent 0, LMI stat recvd 0, LMI upd recvd 0
  LMI enq recvd 0, LMI stat sent 0, LMI upd sent 0, DCE LMI down
  LMI DLCI 0 LMI type is ANSI Annex D frame relay DCE
  Broadcast queue 0/64, broadcasts sent/dropped 0/0, interface broadcasts 0
  Last input never, output 0:15:38, output hang never
  Last clearing of "show interface" counters never
  Input queue: 0/75/0 (size/max/drops); Total output drops: 0
  Output queue: 0/64/0 (size/threshold/drops)
     Conversations 0/2 (active/max active)
     Reserved Conversations 0/0 (allocated/max allocated)
  5 minute input rate 0 bits/sec, 0 packets/sec
  5 minute output rate 0 bits/sec, 0 packets/sec
     0 packets input, 0 bytes, 0 no buffer
     Received 0 broadcasts, 0 runts, 0 giants
     0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
     5 packets output, 359 bytes, 0 underruns
     0 output errors, 0 collisions, 35 interface resets, 0 restarts
     0 output buffer failures, 0 output buffers swapped out
     5 carrier transitions
FRS#s int Serial4
Serial4 is down, line protocol is down
  Hardware is MCI Serial
  MTU 1500 bytes, BW 1544 Kbit, DLY 20000 usec, rely 255/255, load 1/255
  Encapsulation FRAME-RELAY, loopback not set, keepalive set (10 sec)
  LMI enq sent 0, LMI stat recvd 0, LMI upd recvd 0
  LMI enq recvd 0, LMI stat sent 0, LMI upd sent 0, DCE LMI down
  LMI DLCI 0 LMI type is ANSI Annex D frame relay DCE
  Broadcast queue 0/64, broadcasts sent/dropped 0/0, interface broadcasts 0
  Last input never, output 0:15:59, output hang never
  Last clearing of "show interface" counters never
  Input queue: 0/75/0 (size/max/drops); Total output drops: 0
  Output queue: 0/64/0 (size/threshold/drops)
     Conversations 0/2 (active/max active)
     Reserved Conversations 0/0 (allocated/max allocated)
  5 minute input rate 0 bits/sec, 0 packets/sec
  5 minute output rate 0 bits/sec, 0 packets/sec
     0 packets input, 0 bytes, 0 no buffer
     Received 0 broadcasts, 0 runts, 0 giants
     0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
     5 packets output, 359 bytes, 0 underruns
     0 output errors, 0 collisions, 36 interface resets, 0 restarts
     0 output buffer failures, 0 output buffers swapped out
     3 carrier transitions
FRS#s fram rou
Input Intf Input Dlci Output Intf Output Dlci Status
Serial1 301 Serial4 103 inactive
Serial1 302 Serial2 203 inactive
Serial1 304 Serial6 403 inactive
Serial2 201 Serial4 102 inactive
Serial2 203 Serial1 302 inactive
Serial2 204 Serial6 402 inactive
Serial4 102 Serial2 201 inactive
Serial4 103 Serial1 301 inactive
Serial4 104 Serial6 401 inactive
Serial6 401 Serial4 104 inactive
Serial6 402 Serial2 204 inactive
Serial6 403 Serial1 304 inactive
FRS#
!
hostname r1
!
!
interface Serial0/0
 no ip address
 encapsulation frame-relay
 clockrate 64000
 no fair-queue
 frame-relay lmi-type ansi
!
interface Serial0/0.123 multipoint
 bandwidth 125
 ip address 172.16.123.1 255.255.255.0
 ip ospf network point-to-multipoint
 ip ospf hello-interval 10
 frame-relay map ip 172.16.123.1 103
 frame-relay map ip 172.16.123.2 102 broadcast
 frame-relay map ip 172.16.123.3 103 broadcast
 no frame-relay inverse-arp
!
r1#s int
Serial0/0 is up, line protocol is down
  Hardware is PowerQUICC Serial
  MTU 1500 bytes, BW 1544 Kbit, DLY 20000 usec,
     reliability 255/255, txload 1/255, rxload 1/255
  Encapsulation FRAME-RELAY, loopback not set
  Keepalive set (10 sec)
  LMI enq sent 85, LMI stat recvd 0, LMI upd recvd 0, DTE LMI down
  LMI enq recvd 0, LMI stat sent 0, LMI upd sent 0
  LMI DLCI 0 LMI type is ANSI Annex D frame relay DTE
  FR SVC disabled, LAPF state down
  Broadcast queue 0/64, broadcasts sent/dropped 24/0, interface broadcasts
17
  Last input never, output 00:00:01, output hang never
  Last clearing of "show interface" counters 00:14:14
  Input queue: 0/75/144/0 (size/max/drops/flushes); Total output drops: 0
  Queueing strategy: fifo
  Output queue: 0/40 (size/max)
  5 minute input rate 0 bits/sec, 0 packets/sec
  5 minute output rate 0 bits/sec, 0 packets/sec
     144 packets input, 3764 bytes, 0 no buffer
     Received 0 broadcasts, 0 runts, 0 giants, 0 throttles
     11 input errors, 0 CRC, 11 frame, 0 overrun, 0 ignored, 0 abort
     110 packets output, 2512 bytes, 0 underruns
     0 output errors, 0 collisions, 26 interface resets
     0 output buffer failures, 0 output buffers swapped out
     4 carrier transitions
     DCD=up DSR=up DTR=up RTS=up CTS=up

Serial0/0.123 is down, line protocol is down
  Hardware is PowerQUICC Serial
  Internet address is 172.16.123.1/24
  MTU 1500 bytes, BW 125 Kbit, DLY 20000 usec,
     reliability 255/255, txload 1/255, rxload 1/255
  Encapsulation FRAME-RELAY
  Last clearing of "show interface" counters never

!
hostname r2
!
!
interface Serial0/0
 no ip address
 encapsulation frame-relay
 clockrate 64000
 no fair-queue
 frame-relay lmi-type ansi
!
interface Serial0/0.123 point-to-point
 bandwidth 125
 ip address 172.16.123.2 255.255.255.0
 ip ospf network point-to-multipoint
 ip ospf hello-interval 10
 frame-relay interface-dlci 201
!
Serial0/0 is down, line protocol is down
  Hardware is PowerQUICC Serial
  MTU 1500 bytes, BW 1544 Kbit, DLY 20000 usec,
     reliability 255/255, txload 1/255, rxload 1/255
  Encapsulation FRAME-RELAY, loopback not set
  Keepalive set (10 sec)
  LMI enq sent 0, LMI stat recvd 0, LMI upd recvd 0, DTE LMI down
  LMI enq recvd 0, LMI stat sent 0, LMI upd sent 0
  LMI DLCI 0 LMI type is ANSI Annex D frame relay DTE
  FR SVC disabled, LAPF state down
  Broadcast queue 0/64, broadcasts sent/dropped 0/0, interface broadcasts 0
  Last input never, output never, output hang never
  Last clearing of "show interface" counters 00:07:23
  Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
  Queueing strategy: fifo
  Output queue: 0/40 (size/max)
  5 minute input rate 0 bits/sec, 0 packets/sec
  5 minute output rate 0 bits/sec, 0 packets/sec
     0 packets input, 0 bytes, 0 no buffer
     Received 0 broadcasts, 0 runts, 0 giants, 0 throttles
     0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
     0 packets output, 0 bytes, 0 underruns
     0 output errors, 0 collisions, 15 interface resets
     0 output buffer failures, 0 output buffers swapped out
     0 carrier transitions
     DCD=up DSR=up DTR=down RTS=down CTS=up

Serial0/0.123 is down, line protocol is down
  Hardware is PowerQUICC Serial
  Internet address is 172.16.123.2/24
  MTU 1500 bytes, BW 125 Kbit, DLY 20000 usec,
     reliability 255/255, txload 1/255, rxload 1/255
  Encapsulation FRAME-RELAY
  Last clearing of "show interface" counters never
================================ end ==============================
dillon

----- Original Message -----
From: "ccie2be" <ccie2be@nyc.rr.com>
To: "'Dillon Yang'" <gzdillon@hotmail.com>; "'Group Study'"
<ccielab@groupstudy.com>
Sent: Monday, March 21, 2005 10:16 PM
Subject: RE: DTE on FR switch

> Dillon,
>
> I've been following this thread and it seems that you're still not clear
on
> this point.
>
> When using a serial link, regardless of the encap method, one side of the
> link must be dce and the other side must be dte. It doesn't matter which
> side is which.
>
> Usually, the F/R switch interface is the dce side and the router interface
> is dte but it doesn't have to be that way. It can be the other way around.
>
> The key point is that if one side is DTE the other side is DCE. That's all
> there is to it. (Well, that's almost all there is to it. You have to know
> how to make a interface the DCE side by using the clock rate command which
> you already know.)
>
> Oh, while I think of it, I'll just mention one other point. When you're
> setting the clock rate and you enter "?" to see what rates are available,
> but I've found that not all clock rates will actually work. My guess is
> that the highest clock rate depends on the interface hardware while the
> clock rates that show up following the "?" depend on the IOS. And, I've
> discovered that the IOS will let you set a clock rate that won't work -
I've
> done that and have been quite confused about that.
>
> So far, I don't know of any show command which will tell me what the
highest
> GOOD clock rate is although I suspect such a command exists. So, what I've
> done to find the highest clock rate is set the clock rate to some
arbitrary
> value and tested by pinging the remote router. If the ping works, I reset
> the clock rate to a higher value and test again. If the clock rate doesn't
> work, I reset the clock rate to a lower value.
>
> I've heard that serial interfaces come in two flavors: low speed and high
> speed which are 115 kbps and T1, respectively. But, I've found the
highest
> GOOD clock rates to sometimes be 384 kbps which I don't understand.
>
> If anyone knows a show command or a better way to determine to find out
the
> highest GOOD clock rate, please don't hesitate to jump in.
>
> HTH, Tim
>
> -----Original Message-----
> From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
> Dillon Yang
> Sent: Sunday, March 20, 2005 12:22 AM
> To: Group Study
> Subject: DTE on FR switch
>
> Hi, group:
>
> I know it is a stupid question, but I want somebody to clarify it.
> I just did a rental lab and found the FR switch does not work when I
pasted
> the initial config provided by the vendor. Then I entered command "show
> control serial xxx" and got all messages with "DTE" on the FR switch and
> "DCE" on the normal FR routers.
> So, can DTE link be used on the FR switch?
>
> TIA
> dillon
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html



This archive was generated by hypermail 2.1.4 : Sun Apr 03 2005 - 17:56:49 GMT-3