电脑技术学习

FR交换机

dn001

  config t
  1
  frame-relay switching
  !
  interface Serial0
  no ip address
  no keepalive
  encapsulation frame-relay
  clockrate 64000
  frame-relay intf-type dce
  ! In the config below, the 102 is the DLCI that will be
  ! presented to the router connected to this - S0 -
  ! interface. 201 is the DLCI that is mapped to S1
  frame-relay route 102 interface Serial1 201
  frame-relay route 103 interface Serial2 301
  interface Serial1
  no ip address
  no keepalive
  encapsulation frame-relay
  clockrate 64000
  frame-relay intf-type dce
  frame-relay route 201 interface Serial0 102
  frame-relay route 203 interface Serial2 302
  
  interface Serial2
  no ip address
  no keepalive
  encapsulation frame-relay
  clockrate 64000
  frame-relay intf-type dce
  frame-relay route 301 interface Serial0 103
  frame-relay route 302 interface Serial1 203
  
  
  源码:--------------------------------------------------------------------------------
   ________ ______
   FR SW _S2______S0_ R3
   _______ ______
   S0 / S1
   / / S0 __/___ __S0__
   R1 R2
   _____ _______
  
  --------------------------------------------------------------------------------
  R1 S0, R2 S0 and R3 S0 will be on the same subnet. You can treat it as p2mp.
  I put all the DCE ends of the cables on the Frame Switch, so clock rate is
  defined there. However, this is not a requirement. The FR Switch router
  does not need to have the DCE end. Regardless of the gender of the cable,
  however, the "frame-relay intf-type dce" is required. I defined the DLCIs
  as Source Router + 0 + Destination Router. So if the circuit goes from
  R1 to R3 it's DLCI 103. From R3 to R1 it's DLCI 301.