SlideShare a Scribd company logo
1 of 53
Capítulo 4
         Estableciendo Conexiones
          Seriales Punto a Punto




GERENCIA OPERACIÓN Y MANTENIMIENTO DE REDES Y SERVICIOS   1
  © 2000, Cisco Systems, Inc.            www.cisco.com        ICND v1.0a—1-1
Objetivos

      Al completar este capitulo, Ud. Sera
      capaz de realizar las siguientes tareas:
       • Configure HDLC and PPP protocols on a
         serial WAN connection
       • Configure PAP and CHAP authentication
         on a PPP connection
       • Verify proper point-to-point HDLC and
         PPP configuration


GERENCIA OPERACIÓN Y MANTENIMIENTO DE REDES Y SERVICIOS   2
  © 2000, Cisco Systems, Inc.            www.cisco.com        ICND v1.0a—1-2
Resumen WAN




                                     Proveedor de
                                         Servicios


      • WANs connect sites
      • Connection requirements vary depending
        on user requirements and cost
GERENCIA OPERACIÓN Y MANTENIMIENTO DE REDES Y SERVICIOS   3
  © 2000, Cisco Systems, Inc.            www.cisco.com        ICND v1.0a—1-3
Tipos de Conexió n WAN:
                     Capa 1
                                              Serial Sincrono
   Línea Dedicada

                                         Asynchronous serial,
                                            ISDN Layer 1
     Conmutacio                                  Telephone
     n de                                        Company
     Circuitos

                                           Serial Sincrono

    Conmutacion                                    Service
                                                   Provider
    de Paquetes


GERENCIA OPERACIÓN Y MANTENIMIENTO DE REDES Y SERVICIOS         4
  © 2000, Cisco Systems, Inc.            www.cisco.com              ICND v1.0a—1-4
Interfacing WAN Service
                       Providers
        WAN service provider toll network


                    S       S        S       S    CO Switch
                                                          Local Loop
               S        S       S
                                                              Demarcation
                Trunks and switches
                                                                           Customer Premises
                                                                               Equipment


                                 Point-to-point or
                                 circuit-switched
                                    connection
        Provider assigns connection parameters to
        subscriber
GERENCIA OPERACIÓN Y MANTENIMIENTO DE REDES Y SERVICIOS                5
  © 2000, Cisco Systems, Inc.            www.cisco.com                               ICND v1.0a—1-5
Conexiones Seriales
                       Point-to-Point
       Dispositvo                              Conector Lado Router
        usuario
          final
                    DTE




CSU/
DSU
                    DCE
       Proveedor
        Servicio              EIA/TIA-      EIA/TIA-      V.3
                                                                X.21   EIA-530
                                232           449          5
                                     Conectores lado Red al CSU/DSU
GERENCIA OPERACIÓN Y MANTENIMIENTO DE REDES Y SERVICIOS         6
  © 2000, Cisco Systems, Inc.            www.cisco.com                       ICND v1.0a—1-6
Typical WAN Encapsulation
             Protocols: Layer 2
                                           HDLC, PPP, SLIP
    Leased Line



                                       X.25, Frame Relay, ATM

    Packet-switched                                Service
                                                   Provider




                                           PPP, SLIP, HDLC
    Circuit-switched                             Telephone
                                                 Company


GERENCIA OPERACIÓN Y MANTENIMIENTO DE REDES Y SERVICIOS       7
  © 2000, Cisco Systems, Inc.            www.cisco.com            ICND v1.0a—1-7
HDLC Frame Format

   Cisco HDLC
     Flag    Address      Control      Proprietary        Data       FCS   Flag

    • El protocolo HDLC de Cisco tiene el campo proprietary
      para soportar ambientes multiprotocolo

   HDLC
     Flag    Address      Control                  Data              FCS   Flag


tocolo HDLC standar soporta un solo single protocol environ



GERENCIA OPERACIÓN Y MANTENIMIENTO DE REDES Y SERVICIOS          8
  © 2000, Cisco Systems, Inc.            www.cisco.com                      ICND v1.0a—1-8
HDLC Command


              Router(config-if)#encapsulation hdlc

          • Habilita la encapsulacion HDLC
          • HDLC es la encapsulacion por defecto en una
            Interface serial sincrona




GERENCIA OPERACIÓN Y MANTENIMIENTO DE REDES Y SERVICIOS   9
  © 2000, Cisco Systems, Inc.            www.cisco.com        ICND v1.0a—1-9
Una vision de PPP
                     Multiple protocol
                 encapsulations using
                        NCPs in PPP



                   TCP/IP                       PPP Encapsulation
                  Novell IPX
                  AppleTalk


                                                  Link setup and control
                                                    using LCP in PPP


       • PPP can carry packets from several protocol
         suites using Network Control Programs
       • PPP controls the setup of several link options
         using LCP
GERENCIA OPERACIÓN Y MANTENIMIENTO DE REDES Y SERVICIOS              10
  © 2000, Cisco Systems, Inc.            www.cisco.com                     ICND v1.0a—1-10
Elementos PPP

                           IP          IPX        Capa 3 Protocolos

                          IPCP        IPXCP           Many Others     Capa de Red

           PPP                  Network Control Protocol
                                                                       Capa de
                            Authentication, otras opciones
                                                                        Enlace
                                  Link Control Protocol

                            Synchronous or Asynchronous                 Capa
                                   Physical Media                       Fisica


         PPP—A data link with network-layer services
GERENCIA OPERACIÓN Y MANTENIMIENTO DE REDES Y SERVICIOS        11
  © 2000, Cisco Systems, Inc.            www.cisco.com                     ICND v1.0a—1-11
Opciones de Configuracion
                     PPP LCP
      Caracteristica Como opera                           Protocolo

                            Requiere un password      PAP
      Authentication
                            Perform Challenge Handshake
                                                      CHAP
                            Comprime data at source;      Stacker or
      Compression           reproduce data at             Predictor
                            destination
      Error                 Monitor data dropped on link Quality
      Detection
                            Avoid frame looping          Magic Number

      Multilink             Load balancing across         Multilink
                            multiple links                Protocol (MP)

GERENCIA OPERACIÓN Y MANTENIMIENTO DE REDES Y SERVICIOS   12
  © 2000, Cisco Systems, Inc.            www.cisco.com                 ICND v1.0a—1-12
PPP Authentication
                        Overview
                                          Dialup or
                                      Circuit-Switched
                                           Network




                         PPP Session Establishment
                         1     Link Establishment Phase
                         2     Optional Authentication Phase
                         3     Network-Layer Protocol Phase



       Dos protocolos de autenticacion PPP:
       PAP y CHAP

GERENCIA OPERACIÓN Y MANTENIMIENTO DE REDES Y SERVICIOS        13
  © 2000, Cisco Systems, Inc.            www.cisco.com              ICND v1.0a—1-13
Seleccionando un Protocolo
           de Autenticacion PPP
           Router Remoto                 PAP                Router Central
            (SantaCruz)             2-Way Handshake              (HQ)

                                  “santacruz, boardwalk”


                                       Acepta/Rechaza


       Hostname: santacruz                                 username santacruz
       Password: boardwalk                                 password boardwalk



               • Passwords sent in clear text
               • Peer in control of attempts
GERENCIA OPERACIÓN Y MANTENIMIENTO DE REDES Y SERVICIOS     14
  © 2000, Cisco Systems, Inc.            www.cisco.com                   ICND v1.0a—1-14
Seleccionando un Protocolo
          de Autenticacion PPP
                                        CHAP
          Router Remoto                                    Router Central
           (SantaCruz)             3-Way Handshake              (HQ)
                                          Challenge


                                          Response



       Hostname: santacruz              Accept/Reject     username santacruz
       Password: boardwalk                                password boardwalk



                  Use “secret” known only to
                  authenticator and peer
GERENCIA OPERACIÓN Y MANTENIMIENTO DE REDES Y SERVICIOS     15
  © 2000, Cisco Systems, Inc.            www.cisco.com                  ICND v1.0a—1-15
Configuring PPP and
                                Authentication Overview
                                Verify who
                                 you are.
                                             Service
                                             Provider


             Authenticating Router                      Router to Be
      (The router that received the                     Authenticated
      call.)                               (The router that initiated the
Enabling PPP                        Enabling PPP
                                           call.)
                                                  
        ppp encapsulation
Enabling PPP Authentication                   Enabling PPP Authentication

                                                       ppp encapsulation
       hostname                                     hostname
       username /                                   username /
        password
                                                   password 16
GERENCIA OPERACIÓN Y MANTENIMIENTO DE REDES Y SERVICIOS
          ppp authentication www.cisco.com
  © 2000, Cisco Systems, Inc.                                                ICND v1.0a—1-16
Configurando PPP




               Router(config-if)#encapsulation ppp
             • Habilita la encapsulacion PPP




GERENCIA OPERACIÓN Y MANTENIMIENTO DE REDES Y SERVICIOS   17
  © 2000, Cisco Systems, Inc.            www.cisco.com         ICND v1.0a—1-17
Configurando Autenticacion
                    PPP

       Router(config)#hostname name
     • Assigns a host name to your router

        Router(config)#username name password password
       • Identifica el usuario y el password
         para autentificar el router.




GERENCIA OPERACIÓN Y MANTENIMIENTO DE REDES Y SERVICIOS   18
  © 2000, Cisco Systems, Inc.            www.cisco.com         ICND v1.0a—1-18
Configurando Autenticacion
                 PPP (cont)


              Router(config-if)#ppp authentication
              {chap | chap pap | pap chap | pap}

           • Habilita autenticacion PAP y/o CHAP




GERENCIA OPERACIÓN Y MANTENIMIENTO DE REDES Y SERVICIOS   19
  © 2000, Cisco Systems, Inc.            www.cisco.com         ICND v1.0a—1-19
Ejemplo de Configuracion
                    CHAP
             Left                                                        Right
                                         PSTN/ISDN
           router                                                        router


 hostname left
 hostname left                                     hostname right
 username right password sameone
 username right password sameone                   username left password sameone
 !
 !                                                 !
 int serial 0
 int serial 0                                      int serial 0
   ip address 10.0.1.1 255.255.255.0
   ip address 10.0.1.1 255.255.255.0                 ip address 10.0.1.2 255.255.255.0
   encapsulation ppp
   encapsulation ppp                                 encapsulation ppp
   ppp authentication CHAP
   ppp authentication CHAP                           ppp authentication CHAP




GERENCIA OPERACIÓN Y MANTENIMIENTO DE REDES Y SERVICIOS            20
  © 2000, Cisco Systems, Inc.            www.cisco.com                            ICND v1.0a—1-20
Verificando configuracion
           de Encapsulacion HDLC y
                     PPP
   Router#show interface s0
   Serial0 is up, line protocol is up
     Hardware is HD64570
     Internet address is 10.140.1.2/24
     MTU 1500 bytes, BW 1544 Kbit, DLY 20000 usec, rely 255/255, load 1/255
     Encapsulation PPP, loopback not set, keepalive set (10 sec)
     LCP Open
     Open: IPCP, CDPCP
     Last input 00:00:05, output 00:00:05, output hang never
     Last clearing of "show interface" counters never
     Queueing strategy: fifo
     Output queue 0/40, 0 drops; input queue 0/75, 0 drops
     5 minute input rate 0 bits/sec, 0 packets/sec
     5 minute output rate 0 bits/sec, 0 packets/sec
        38021 packets input, 5656110 bytes, 0 no buffer
        Received 23488 broadcasts, 0 runts, 0 giants, 0 throttles
        0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
        38097 packets output, 2135697 bytes, 0 underruns
        0 output errors, 0 collisions, 6045 interface resets
        0 output buffer failures, 0 output buffers swapped out
        482 carrier transitions
        DCD=up DSR=up DTR=up RTS=up CTS=up
GERENCIA OPERACIÓN Y MANTENIMIENTO DE REDES Y SERVICIOS     21
  © 2000, Cisco Systems, Inc.            www.cisco.com                    ICND v1.0a—1-21
Verificando la Autenticacion PPP con
     el comando debug ppp authentication

             Left                          Service                  Right
           router                          Provider                 router



           4d20h: %LINK-3-UPDOWN: Interface Serial0, changed state to up
           4d20h: %LINK-3-UPDOWN: Interface Serial0, changed state to up
           4d20h: Se0 PPP: Treating connection as a dedicated line
           4d20h: Se0 PPP: Treating connection as a dedicated line
           4d20h: Se0 PPP: Phase is AUTHENTICATING, by both
           4d20h: Se0 PPP: Phase is AUTHENTICATING, by both
           4d20h: Se0 CHAP: O CHALLENGE id 2 len 28 from ”left"
           4d20h: Se0 CHAP: O CHALLENGE id 2 len 28 from ”left"
           4d20h: Se0 CHAP: I CHALLENGE id 3 len 28 from ”right"
           4d20h: Se0 CHAP: I CHALLENGE id 3 len 28 from ”right"
           4d20h: Se0 CHAP: O RESPONSE id 3 len 28 from ”left"
           4d20h: Se0 CHAP: O RESPONSE id 3 len 28 from ”left"
           4d20h: Se0 CHAP: I RESPONSE id 2 len 28 from ”right"
           4d20h: Se0 CHAP: I RESPONSE id 2 len 28 from ”right"
           4d20h: Se0 CHAP: O SUCCESS id 2 len 4
           4d20h: Se0 CHAP: O SUCCESS id 2 len 4
           4d20h: Se0 CHAP: I SUCCESS id 3 len 4
           4d20h: Se0 CHAP: I SUCCESS id 3 len 4
           4d20h: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0,
           4d20h: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0,
           changed state to up
           changed state to up


     debug ppp authentication successful CHAP output
GERENCIA OPERACIÓN Y MANTENIMIENTO DE REDES Y SERVICIOS      22
  © 2000, Cisco Systems, Inc.            www.cisco.com                       ICND v1.0a—1-22
Visual Objective
              wg_pc_a
              10.2.2.12                                                                 pod           ro’s s0
                                                                                        A             10.140.1.2
       e0/1       e0/2                   e0              wg_ro_                         B             10.140.2.2
                                  10.2.2.3               a                              C             10.140.3.2
                                                       s0
    wg_sw_a                                            10.140.1.2
                                                                                        D             10.140.4.2
    10.2.2.11                                                                           E             10.140.5.2
                                      PPP with CHAP
                                                                                        F             10.140.6.2
                                                                                        G             10.140.7.2
                wg_pc_l                                                                 H             10.140.8.2
                10.13.13.12
                                                                                        I             10.140.9.2
                                      wg_ro_l
                                               PPP with CHAP                            J             10.140.10.2
      e0/1
                  e0/2          e0            s0                      LL                K             10.140.11.2
                         10.13.13.3           10.140.12.2                               L             10.140.12.2
      wg_sw_l
    10.13.13.11
                                                                           s1/0 - s2/3
                                                                       ... 10.140.1.1 … 10.140.12.1

                  fa0/24                      fa0/23       fa0/0

   core_ server            core_sw_a                                core_ro
      10.1.1.1              10.1.1.2                                10.1.1.3

GERENCIA OPERACIÓN Y MANTENIMIENTO DE REDES Y SERVICIOS                                    23
  © 2000, Cisco Systems, Inc.            www.cisco.com                                                       ICND v1.0a—1-23
Capítulo 5
         Estableciendo Conexiones
               Frame Relay




GERENCIA OPERACIÓN Y MANTENIMIENTO DE REDES Y SERVICIOS   24
  © 2000, Cisco Systems, Inc.            www.cisco.com         ICND v1.0a—1-24
Objectivos

    Al completar este capitulo, Ud. Sera
    capaz de realizar las siguientes tareas:
     • Determinar como opera Frame Relay
     • Configurar Frame Relay
     • Configurar Subinterfaces Frame Relay
     • Verificar operaciones Frame Relay




GERENCIA OPERACIÓN Y MANTENIMIENTO DE REDES Y SERVICIOS   25
  © 2000, Cisco Systems, Inc.            www.cisco.com         ICND v1.0a—1-25
Frame Relay Overview
                                                DCE o
                                                Frame
                                                Relay Switch

                              CSU/DSU




                         Frame Relay trabaja aqui.


               • Virtual circuits make connections
               • Servicio Orientado a la Conexion

GERENCIA OPERACIÓN Y MANTENIMIENTO DE REDES Y SERVICIOS        26
  © 2000, Cisco Systems, Inc.            www.cisco.com              ICND v1.0a—1-26
Frame Relay Stack
              Modelo de Referencia                   Frame Relay
                      OSI
                        Aplicacion

                       Presentacio
                            n
                         Sesion
                        Transporte
                         Network                IP/IPX/AppleTalk, etc.
                   Capa de Enlace                     Frame Relay
                                                      EIA/TIA-232,
                       Capa Fisica                    EIA/TIA-449,
                                                       V.35, X.21,
                                                      EIA/TIA-530

GERENCIA OPERACIÓN Y MANTENIMIENTO DE REDES Y SERVICIOS          27
  © 2000, Cisco Systems, Inc.            www.cisco.com                   ICND v1.0a—1-27
Terminologia Frame Relay
                                             PVC
                  DLCI: 100
                                                          DLCI: 200
                       LMI
                       100=Activ
                       e
                       400=Activ
                       e
        DLCI: 400
                                                               Local Access
          Local                                                Loop=64
        Access                                                 kbps
       Loop=T1


              PVC
                                          Local Access
                                          Loop=64 kbps
            DLCI: 500



GERENCIA OPERACIÓN Y MANTENIMIENTO DE REDES Y SERVICIOS   28
  © 2000, Cisco Systems, Inc.            www.cisco.com                   ICND v1.0a—1-28
Frame Relay
                       Address Mapping
                           DLCI: 500                 PVC             10.1.1.
                                                                     1
                              CSU/DSU




                                                   Inverse ARP or
                                                   Frame Relay map

                     Frame                         IP
                     Relay DLCI (500)          (10.1.1.1)


            • Get locally significant DLCIs from provider
            • Map your network addresses to DLCIs
GERENCIA OPERACIÓN Y MANTENIMIENTO DE REDES Y SERVICIOS         29
  © 2000, Cisco Systems, Inc.            www.cisco.com                  ICND v1.0a—1-29
Señ alizacion Frame Relay
                          DLCI: 500                  PVC        10.1.1.
                                                                1
                              CSU/DSU
        LMI
        500=Active
        400=Inactive
                          DLCI: 400   x    PVC



                               Keepalive


                   Cisco soporta 3 estandars LMI:
                    • Cisco
                    • ANSI T1.617 Annex D
                    • ITU-T Q.933 Annex A

GERENCIA OPERACIÓN Y MANTENIMIENTO DE REDES Y SERVICIOS    30
  © 2000, Cisco Systems, Inc.            www.cisco.com             ICND v1.0a—1-30
Frame Relay Inverse ARP
              and LMI Operation
              1
                                               Frame Relay
                       DLCI=100                               DLCI=400

                  172.168.5.5                                 172.168.5.7




GERENCIA OPERACIÓN Y MANTENIMIENTO DE REDES Y SERVICIOS      31
  © 2000, Cisco Systems, Inc.            www.cisco.com                      ICND v1.0a—1-31
Frame Relay Inverse ARP
              and LMI Operation
              1
                                               Frame Relay
                       DLCI=100                                 DLCI=400

                  172.168.5.5                                   172.168.5.7


              2 Pregunta Status                              Pregunta Status
                                                                           2




GERENCIA OPERACIÓN Y MANTENIMIENTO DE REDES Y SERVICIOS        32
  © 2000, Cisco Systems, Inc.            www.cisco.com                        ICND v1.0a—1-32
Frame Relay Inverse ARP
              and LMI Operation
              1
                                               Frame Relay
                       DLCI=100                                   DLCI=400

                   172.168.5.5                                    172.168.5.7


              2 Pregunta Status                                Pregunta Status
                                                                             2

                  Local DLCI 100=Active                       Local DLCI 400=Active
                                           3              3
                                                          4




GERENCIA OPERACIÓN Y MANTENIMIENTO DE REDES Y SERVICIOS          33
  © 2000, Cisco Systems, Inc.            www.cisco.com                          ICND v1.0a—1-33
Frame Relay Inverse ARP
              and LMI Operation
              1
                                                 Frame Relay
                           DLCI=100                                DLCI=400

                      172.168.5.5                                  172.168.5.7


              2 Status Inquiry                                  Status Inquiry
                                                                                 2

                  Local DLCI 100=Active                        Local DLCI 400=Active
                                           3               3
                                                           4


                      Hello, I am 172.168.5.5.
                  4


GERENCIA OPERACIÓN Y MANTENIMIENTO DE REDES Y SERVICIOS           34
  © 2000, Cisco Systems, Inc.            www.cisco.com                           ICND v1.0a—1-34
Frame Relay Inverse ARP
           and LMI Operation (cont.)
                                            Frame Relay
                        DLCI=100                                  DLCI=400


                    172.168.5.5                                       172.168.5.7

                                                          Frame Relay Map
                                                                                     5
                                                    172.168.5.5 DLCI 400 Active

                                           Hello, I am 172.168.5.7.
                                                                                     4
                         Frame Relay Map
                5
                    172.168.5.7 DLCI 100 Active




GERENCIA OPERACIÓN Y MANTENIMIENTO DE REDES Y SERVICIOS           35
  © 2000, Cisco Systems, Inc.            www.cisco.com                              ICND v1.0a—1-35
Frame Relay Inverse ARP
           and LMI Operation (cont.)
                                            Frame Relay
                        DLCI=100                                  DLCI=400


                    172.168.5.5                                       172.168.5.7

                                                          Frame Relay Map
                                                                                     5
                                                    172.168.5.5 DLCI 400 Active

                                           Hello, I am 172.168.5.7.
                                                                                     4
                         Frame Relay Map
                5
                    172.168.5.7 DLCI 100 Active

                6 Hello, I am 172.168.5.5.


GERENCIA OPERACIÓN Y MANTENIMIENTO DE REDES Y SERVICIOS           36
  © 2000, Cisco Systems, Inc.            www.cisco.com                              ICND v1.0a—1-36
Frame Relay Inverse ARP
           and LMI Operation (cont.)
                                            Frame Relay
                        DLCI=100                                  DLCI=400


                    172.168.5.5                                       172.168.5.7

                                                          Frame Relay Map
                                                                                     5
                                                    172.168.5.5 DLCI 400 Active

                                           Hello, I am 172.168.5.7.
                                                                                     4
                         Frame Relay Map
                5
                    172.168.5.7 DLCI 100 Active

                6 Hello, I am 172.168.5.5.
                     Keepalives                                        Keepalives
                7                                                                    7
GERENCIA OPERACIÓN Y MANTENIMIENTO DE REDES Y SERVICIOS           37
  © 2000, Cisco Systems, Inc.            www.cisco.com                              ICND v1.0a—1-37
Configuracion Basica
                     Frame Relay
                 Rel. 11.2 Router                         Rel. 10.3 Router

                  HQ                                               Branch




  interface Serial1                               interface Serial1
   ip address 10.16.0.1 255.255.255.0              ip address 10.16.0.2 255.255.255.0
   encapsulation frame-relay                       encapsulation frame-relay
   bandwidth 64                                    bandwidth 64
                                                   frame-relay lmi-type ansi




GERENCIA OPERACIÓN Y MANTENIMIENTO DE REDES Y SERVICIOS           38
  © 2000, Cisco Systems, Inc.            www.cisco.com                         ICND v1.0a—1-38
Configuracion Basica
                   Frame Relay (cont)
                 Rel. 11.2 Router                         Rel. 10.3 Router

                  HQ                                               Branch




 interface Serial1                   interface Serial1
  ip address 10.16.0.1 255.255.255.0  ip address 10.16.0.2 255.255.255.0
  encapsulation frame-relay           encapsulation frame-relay
  bandwidth 64                        bandwidth 64
                                      frame-relay lmi-type ansi


                  Inverse ARP
                   • Enabled by default
                   • Does not appear in configuration output
GERENCIA OPERACIÓN Y MANTENIMIENTO DE REDES Y SERVICIOS           39
  © 2000, Cisco Systems, Inc.            www.cisco.com                       ICND v1.0a—1-39
Configuring a Static Frame
                  Relay Map
                DLCI=110
                IP address=10.16.0.1/24

                p1r1
                HQ                                          Branch
                                                          DLCI=100
                                                          IP address=10.16.0.2/24




                    interface Serial1
                    ip address 10.16.0.1 255.255.255.0
                    encapsulation frame-relay
                    bandwidth 64
                    frame-relay map ip 10.16.0.2 110 broadcast




GERENCIA OPERACIÓN Y MANTENIMIENTO DE REDES Y SERVICIOS    40
  © 2000, Cisco Systems, Inc.            www.cisco.com                  ICND v1.0a—1-40
Verificando la operatividad
                  Frame Relay
  Router#show interface s0
  Serial0 is up, line protocol is up
    Hardware is HD64570
    Internet address is 10.140.1.2/24
    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 19, LMI stat recvd 20, LMI upd recvd 0, DTE LMI up
    LMI enq recvd 0, LMI stat sent 0, LMI upd sent 0
    LMI DLCI 1023 LMI type is CISCO frame relay DTE
    FR SVC disabled, LAPF state down
    Broadcast queue 0/64, broadcasts sent/dropped 8/0, interface broadcasts 5
    Last input 00:00:02, output 00:00:02, output hang never
    Last clearing of "show interface" counters never
    Queueing strategy: fifo
    Output queue 0/40, 0 drops; input queue 0/75, 0 drops
    <Output omitted>



     • Muestra el estado del protocolo, DLCI, e informacion
       LMI
GERENCIA OPERACIÓN Y MANTENIMIENTO DE REDES Y SERVICIOS     41
  © 2000, Cisco Systems, Inc.            www.cisco.com                    ICND v1.0a—1-41
Verificando la operatividad
                Frame Relay (cont)
ame-relay lmi

 for interface Serial0 (Frame Relay DTE) LMI TYPE = CISCO
bered info 0 Invalid Prot Disc 0
 Call Ref 0 Invalid Msg Type 0
s Message 0 Invalid Lock Shift 0
mation ID 0 Invalid Report IE Len 0
t Request 0 Invalid Keep IE Len 0
q. Sent 113100 Num Status msgs Rcvd 113100
atus Rcvd 0 Num Status Timeouts 0




         • Muestra infromacion
           LMI

 GERENCIA OPERACIÓN Y MANTENIMIENTO DE REDES Y SERVICIOS    42
   © 2000, Cisco Systems, Inc.            www.cisco.com          ICND v1.0a—1-42
Verificando la operatividad
              Frame Relay (cont)
  Router#show frame-relay pvc 100

  PVC Statistics for interface Serial0 (Frame Relay DTE)

  DLCI = 100, DLCI USAGE = LOCAL, PVC STATUS = ACTIVE, INTERFACE = Serial0

     input pkts 28            output pkts 10           in bytes 8398
     out bytes 1198           dropped pkts 0           in FECN pkts 0
     in BECN pkts 0           out FECN pkts 0          out BECN pkts 0
     in DE pkts 0             out DE pkts 0
     out bcast pkts 10         out bcast bytes 1198
     pvc create time 00:03:46, last time pvc status changed 00:03:47




       • Muestra estadistica del trafico
         PVC
GERENCIA OPERACIÓN Y MANTENIMIENTO DE REDES Y SERVICIOS    43
  © 2000, Cisco Systems, Inc.            www.cisco.com                   ICND v1.0a—1-43
Verificando la operatividad
              Frame Relay (cont)
how frame-relay map
(up): ip 10.140.1.1 dlci 100(0x64,0x1840), dynamic,
      broadcast,, status defined, active


         • Muestra el mapa de rutas, estaticas o
           dinamicas




GERENCIA OPERACIÓN Y MANTENIMIENTO DE REDES Y SERVICIOS   44
  © 2000, Cisco Systems, Inc.            www.cisco.com         ICND v1.0a—1-44
Verificando la operatividad
               Frame Relay (cont)

rame-relay map
 ip 10.140.1.1 dlci 100(0x64,0x1840), dynamic,
 broadcast,, status defined, active
frame-relay-inarp
me map




      • Clears dynamically created Frame Relay
        maps




 GERENCIA OPERACIÓN Y MANTENIMIENTO DE REDES Y SERVICIOS   45
   © 2000, Cisco Systems, Inc.            www.cisco.com         ICND v1.0a—1-45
Verificando la operatividad
               Frame Relay (cont)
debug Frame lmi
elay LMI debugging is on
ing all Frame Relay LMI data
erial0(out): StEnq, myseq 140, yourseen 139, DTE up
atagramstart = 0xE008EC, datagramsize = 13
R encap = 0xFCF10309
0 75 01 01 01 03 02 8C 8B
erial0(in): Status, myseq 140
T IE 1, length 1, type 1
A IE 3, length 2, yourseq 140, myseq 140
erial0(out): StEnq, myseq 141, yourseen 140, DTE up
atagramstart = 0xE008EC, datagramsize = 13
R encap = 0xFCF10309
0 75 01 01 01 03 02 8D 8C
erial0(in): Status, myseq 142
T IE 1, length 1, type 0
A IE 3, length 2, yourseq 142, myseq 142
VC IE 0x7 , length 0x6 , dlci 100, status 0x2 , bw 0


       • Displays LMI debug information

 GERENCIA OPERACIÓN Y MANTENIMIENTO DE REDES Y SERVICIOS   46
   © 2000, Cisco Systems, Inc.            www.cisco.com         ICND v1.0a—1-46
Selecting a Frame Relay
                             Topology



                                      Red completa




                  Red parcial

                                                Star (Hub and Spoke)


  Frame Relay default: nonbroadcast, multiaccess
    (NBMA)
GERENCIA OPERACIÓN Y MANTENIMIENTO DE REDES Y SERVICIOS 47
 © 2000, Cisco Systems, Inc.    www.cisco.com                     ICND v1.0a—1-47
Reachability Issues with
                Routing Updates

                                                               B
                 Routing         1
                 Update                                        B

                                 2
                    AA                                         C
                                                               C
                                 3
                                                               D


               Problem:
               Broadcast traffic must be replicated for
               each active connection

GERENCIA OPERACIÓN Y MANTENIMIENTO DE REDES Y SERVICIOS   48
  © 2000, Cisco Systems, Inc.            www.cisco.com             ICND v1.0a—1-48
Resolving Reachability
                       Issues
         Logical Interface               Physical
                                         Interface Subnet A
          S0.1                      S0
          S0.2                                            Subnet B
          S0.3


                                                          Subnet C
 Solution:
  • Split horizon puede causar problemas en ambientes NBMA
  • Las Subinterfaces pueden resolver los problemas de split
    horizon
  • A single physical interface simulates multiple logical interfaces


GERENCIA OPERACIÓN Y MANTENIMIENTO DE REDES Y SERVICIOS              49
  © 2000, Cisco Systems, Inc.            www.cisco.com                    ICND v1.0a—1-49
Configurando Subinterfaces

   • Point-to-Point
       – Las Subinterfaces actuan como lineas dedicadas
       – Cada subinterface point-to-point requiere su
         propia subred.
       – Applicable to hub and spoke topologies
   • Multipoint
       – Subinterfaces act as NBMA network so they do
         not resolve the split horizon issue
       – Can save address space because uses single
         subnet
       – Aplicable para topologias de Red parcial y
         Completas.
GERENCIA OPERACIÓN Y MANTENIMIENTO DE REDES Y SERVICIOS   50
  © 2000, Cisco Systems, Inc.            www.cisco.com         ICND v1.0a—1-50
Configurando Subinterfaces
              Point-to-Point
                                        10.17.0.1
                                        s0.2            DLCI=110         10.17.0.2
                                  A           D
                                       s0.3
                                             0 LC                                    B
                                       10.18.0.1 I =
                                                       12
    interface Serial0
      no ip address
      encapsulation frame-relay
    !                                               10.18.0.2
    interface Serial0.2 point-to-point
      ip address 10.17.0.1 255.255.255.0
      bandwidth 64                                              C
      frame-relay interface-dlci 110
    !
    interface Serial0.3 point-to-point
      ip address 10.18.0.1 255.255.255.0
      bandwidth 64
      frame-relay interface-dlci 120
    !


GERENCIA OPERACIÓN Y MANTENIMIENTO DE REDES Y SERVICIOS             51
  © 2000, Cisco Systems, Inc.            www.cisco.com                                   ICND v1.0a—1-51
Ejemplo Configuracion
             Subinterfaces Multipunto
                                    120                               B
 s2.2=10.17.0.1/24         D LC I =                            s2.1=10.17.0.2/24
                               DLCI=130
         RTR1
                                                                    RTR3
                             D LC I =
                                        140                    s2.1=10.17.0.3/24

    interface Serial2
     no ip address                                                  RTR4
     encapsulation frame-relay                                 s2.1=10.17.0.4/24
    !
    interface Serial2.2 multipoint
     ip address 10.17.0.1 255.255.255.0
     bandwidth 64
     frame-relay map ip 10.17.0.2 120 broadcast
     frame-relay map ip 10.17.0.3 130 broadcast
     frame-relay map ip 10.17.0.4 140 broadcast

GERENCIA OPERACIÓN Y MANTENIMIENTO DE REDES Y SERVICIOS   52
  © 2000, Cisco Systems, Inc.            www.cisco.com                     ICND v1.0a—1-52
Laboratorio
              wg_pc_a
              10.2.2.12
                                                                                           pod        ro’s s0
       e0/1                                               wg_ro_
                                                                                           A          10.140.1.2
                   e0/2                   e0
                                                          a                                B          10.140.2.2
                                   10.2.2.3
                                                        s0                                 C          10.140.3.2
     wg_sw_a                                            10.140.1.2/24
     10.2.2.11
                                                                                           D          10.140.4.2
                                                                                           E          10.140.5.2
                                        Frame Relay                                        F          10.140.6.2
                 wg_pc_l                                                                   G          10.140.7.2
                 10.13.13.12                                                               H          10.140.8.2
                                       wg_ro_l                                             I          10.140.9.2
                                                PPP with CHAP
       e0/1
                   e0/2          e0            s0                                          J          10.140.10.2
                                                                        FR                 K          10.140.11.2
                          10.13.13.3           10.140.12.2/24
       wg_sw_l                                                                             L          10.140.12.2
     10.13.13.11

                                                                        ...

                   fa0/24                      fa0/23        fa0/0            s2/7.x
                                                                              10.140.1.1/24 … 10.140.12.1/24
    core_ server            core_sw_a                                core_ro
       10.1.1.1              10.1.1.2                                10.1.1.3

GERENCIA OPERACIÓN Y MANTENIMIENTO DE REDES Y SERVICIOS                                       53
  © 2000, Cisco Systems, Inc.            www.cisco.com                                                         ICND v1.0a—1-53

More Related Content

What's hot

2011 TWNIC SP IPv6 Transition
2011 TWNIC SP IPv6 Transition2011 TWNIC SP IPv6 Transition
2011 TWNIC SP IPv6 Transition
Johnson Liu
 
2003 salih 3_gdata1
2003 salih 3_gdata12003 salih 3_gdata1
2003 salih 3_gdata1
tapansaha26
 
Cisco switching technical
Cisco switching technicalCisco switching technical
Cisco switching technical
ImranD1
 
QoS Cheatsheet by packetlife.net
QoS Cheatsheet by packetlife.netQoS Cheatsheet by packetlife.net
QoS Cheatsheet by packetlife.net
Febrian ‎
 
Waris l2vpn-tutorial
Waris l2vpn-tutorialWaris l2vpn-tutorial
Waris l2vpn-tutorial
rakiva29
 
Layer-2 VPN
Layer-2 VPNLayer-2 VPN
Layer-2 VPN
rosmida
 
PRESENTACION FINAL Nicaragua
PRESENTACION FINAL NicaraguaPRESENTACION FINAL Nicaragua
PRESENTACION FINAL Nicaragua
enriquebio2
 

What's hot (19)

2011 TWNIC SP IPv6 Transition
2011 TWNIC SP IPv6 Transition2011 TWNIC SP IPv6 Transition
2011 TWNIC SP IPv6 Transition
 
Trill and Datacenter Alternatives
Trill and Datacenter AlternativesTrill and Datacenter Alternatives
Trill and Datacenter Alternatives
 
Atomf ov
Atomf ovAtomf ov
Atomf ov
 
2003 salih 3_gdata1
2003 salih 3_gdata12003 salih 3_gdata1
2003 salih 3_gdata1
 
Secure Mobility in Cisco Unified WLAN Networks for Mobile Devices
Secure Mobility in Cisco Unified WLAN Networks for Mobile DevicesSecure Mobility in Cisco Unified WLAN Networks for Mobile Devices
Secure Mobility in Cisco Unified WLAN Networks for Mobile Devices
 
Vpls
VplsVpls
Vpls
 
Diameter Overview
Diameter OverviewDiameter Overview
Diameter Overview
 
10209
1020910209
10209
 
Flexible Data Centre Fabric - FabricPath/TRILL, OTV, LISP and VXLAN
Flexible Data Centre Fabric - FabricPath/TRILL, OTV, LISP and VXLANFlexible Data Centre Fabric - FabricPath/TRILL, OTV, LISP and VXLAN
Flexible Data Centre Fabric - FabricPath/TRILL, OTV, LISP and VXLAN
 
Cisco switching technical
Cisco switching technicalCisco switching technical
Cisco switching technical
 
QoS Cheatsheet by packetlife.net
QoS Cheatsheet by packetlife.netQoS Cheatsheet by packetlife.net
QoS Cheatsheet by packetlife.net
 
Unified MPLS
Unified MPLSUnified MPLS
Unified MPLS
 
Waris l2vpn-tutorial
Waris l2vpn-tutorialWaris l2vpn-tutorial
Waris l2vpn-tutorial
 
Layer-2 VPN
Layer-2 VPNLayer-2 VPN
Layer-2 VPN
 
White Paper: IP VPN and Ethernet WAN Services
White Paper: IP VPN and Ethernet WAN ServicesWhite Paper: IP VPN and Ethernet WAN Services
White Paper: IP VPN and Ethernet WAN Services
 
Wireless LAN Security, Policy, and Deployment Best Practices
Wireless LAN Security, Policy, and Deployment Best PracticesWireless LAN Security, Policy, and Deployment Best Practices
Wireless LAN Security, Policy, and Deployment Best Practices
 
LTE crash course
LTE crash courseLTE crash course
LTE crash course
 
PRESENTACION FINAL Nicaragua
PRESENTACION FINAL NicaraguaPRESENTACION FINAL Nicaragua
PRESENTACION FINAL Nicaragua
 
Huawei s5700 series gigabit enterprise switches
Huawei s5700 series gigabit enterprise switchesHuawei s5700 series gigabit enterprise switches
Huawei s5700 series gigabit enterprise switches
 

Viewers also liked (7)

Ccna day5
Ccna day5Ccna day5
Ccna day5
 
Términos referentes a redes de computadoras
Términos referentes a redes de computadorasTérminos referentes a redes de computadoras
Términos referentes a redes de computadoras
 
Ccna4 mod5-frame relay
Ccna4 mod5-frame relayCcna4 mod5-frame relay
Ccna4 mod5-frame relay
 
Wan Technologies
Wan TechnologiesWan Technologies
Wan Technologies
 
Fibras ópticas
Fibras ópticasFibras ópticas
Fibras ópticas
 
Connexion point à point (ppp, hdlc)
Connexion point à point (ppp, hdlc)Connexion point à point (ppp, hdlc)
Connexion point à point (ppp, hdlc)
 
Capa 2 modelo osi enlace de datos
Capa 2 modelo osi enlace de datosCapa 2 modelo osi enlace de datos
Capa 2 modelo osi enlace de datos
 

Similar to (4,5) enlaces wan traduccion

AD-WAN-Tech-Chapter 1.pptx
AD-WAN-Tech-Chapter 1.pptxAD-WAN-Tech-Chapter 1.pptx
AD-WAN-Tech-Chapter 1.pptx
RahafKhalid14
 
Chapter3 frame relay
Chapter3   frame relayChapter3   frame relay
Chapter3 frame relay
juliusbangaw
 
Cours Cisco
Cours CiscoCours Cisco
Cours Cisco
123addou
 

Similar to (4,5) enlaces wan traduccion (20)

NET6.PPT
NET6.PPTNET6.PPT
NET6.PPT
 
CCNA Icnd110 s05l04
CCNA Icnd110 s05l04CCNA Icnd110 s05l04
CCNA Icnd110 s05l04
 
Multi-operator "IPC" VPN Slices: Applying RINA to Overlay Networking
Multi-operator "IPC" VPN Slices: Applying RINA to Overlay NetworkingMulti-operator "IPC" VPN Slices: Applying RINA to Overlay Networking
Multi-operator "IPC" VPN Slices: Applying RINA to Overlay Networking
 
PLNOG16: Kreowanie usług przez operatorów – SP IWAN, Krzysztof Konkowski
PLNOG16: Kreowanie usług przez operatorów – SP IWAN, Krzysztof KonkowskiPLNOG16: Kreowanie usług przez operatorów – SP IWAN, Krzysztof Konkowski
PLNOG16: Kreowanie usług przez operatorów – SP IWAN, Krzysztof Konkowski
 
PLNOG16: Automatyzacja kreaowania usług operatorskich w separacji od rodzaju ...
PLNOG16: Automatyzacja kreaowania usług operatorskich w separacji od rodzaju ...PLNOG16: Automatyzacja kreaowania usług operatorskich w separacji od rodzaju ...
PLNOG16: Automatyzacja kreaowania usług operatorskich w separacji od rodzaju ...
 
Day 22 _ ppp
Day 22  _ ppp Day 22  _ ppp
Day 22 _ ppp
 
The Data Center Network Evolution
The Data Center Network EvolutionThe Data Center Network Evolution
The Data Center Network Evolution
 
Acme Packet Presentation Materials for VUC June 18th 2010
Acme Packet Presentation Materials for VUC June 18th 2010Acme Packet Presentation Materials for VUC June 18th 2010
Acme Packet Presentation Materials for VUC June 18th 2010
 
Cisco Live! :: Carrier Ethernet 2.0 :: BRKSPG-2720 | Las Vegas July/2016
Cisco Live! :: Carrier Ethernet 2.0 :: BRKSPG-2720 | Las Vegas July/2016Cisco Live! :: Carrier Ethernet 2.0 :: BRKSPG-2720 | Las Vegas July/2016
Cisco Live! :: Carrier Ethernet 2.0 :: BRKSPG-2720 | Las Vegas July/2016
 
09 (IDNOG02) Services SDN & NFV Delivering more with less by Mochammad Irzan
09 (IDNOG02) Services SDN & NFV Delivering more with less by Mochammad Irzan09 (IDNOG02) Services SDN & NFV Delivering more with less by Mochammad Irzan
09 (IDNOG02) Services SDN & NFV Delivering more with less by Mochammad Irzan
 
Wan networks
Wan networksWan networks
Wan networks
 
IoT Field Area Network Solutions & Integration of IPv6 Standards by Patrick G...
IoT Field Area Network Solutions & Integration of IPv6 Standards by Patrick G...IoT Field Area Network Solutions & Integration of IPv6 Standards by Patrick G...
IoT Field Area Network Solutions & Integration of IPv6 Standards by Patrick G...
 
Introduction to Network Performance Measurement with Cisco IOS IP Service Lev...
Introduction to Network Performance Measurement with Cisco IOS IP Service Lev...Introduction to Network Performance Measurement with Cisco IOS IP Service Lev...
Introduction to Network Performance Measurement with Cisco IOS IP Service Lev...
 
AD-WAN-Tech-Chapter 1.pptx
AD-WAN-Tech-Chapter 1.pptxAD-WAN-Tech-Chapter 1.pptx
AD-WAN-Tech-Chapter 1.pptx
 
CCNAv5 - S4: Chapter3 Point to-point Connections
CCNAv5 - S4: Chapter3 Point to-point ConnectionsCCNAv5 - S4: Chapter3 Point to-point Connections
CCNAv5 - S4: Chapter3 Point to-point Connections
 
Chapter14ccna
Chapter14ccnaChapter14ccna
Chapter14ccna
 
CCNA (R & S) Module 02 - Connecting Networks - Chapter 2
CCNA (R & S) Module 02 - Connecting Networks - Chapter 2CCNA (R & S) Module 02 - Connecting Networks - Chapter 2
CCNA (R & S) Module 02 - Connecting Networks - Chapter 2
 
Chapter3 frame relay
Chapter3   frame relayChapter3   frame relay
Chapter3 frame relay
 
Cours Cisco
Cours CiscoCours Cisco
Cours Cisco
 
Framework for the New IP - Phil O'Reilly
Framework for the New IP - Phil O'ReillyFramework for the New IP - Phil O'Reilly
Framework for the New IP - Phil O'Reilly
 

(4,5) enlaces wan traduccion

  • 1. Capítulo 4 Estableciendo Conexiones Seriales Punto a Punto GERENCIA OPERACIÓN Y MANTENIMIENTO DE REDES Y SERVICIOS 1 © 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a—1-1
  • 2. Objetivos Al completar este capitulo, Ud. Sera capaz de realizar las siguientes tareas: • Configure HDLC and PPP protocols on a serial WAN connection • Configure PAP and CHAP authentication on a PPP connection • Verify proper point-to-point HDLC and PPP configuration GERENCIA OPERACIÓN Y MANTENIMIENTO DE REDES Y SERVICIOS 2 © 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a—1-2
  • 3. Resumen WAN Proveedor de Servicios • WANs connect sites • Connection requirements vary depending on user requirements and cost GERENCIA OPERACIÓN Y MANTENIMIENTO DE REDES Y SERVICIOS 3 © 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a—1-3
  • 4. Tipos de Conexió n WAN: Capa 1 Serial Sincrono Línea Dedicada Asynchronous serial, ISDN Layer 1 Conmutacio Telephone n de Company Circuitos Serial Sincrono Conmutacion Service Provider de Paquetes GERENCIA OPERACIÓN Y MANTENIMIENTO DE REDES Y SERVICIOS 4 © 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a—1-4
  • 5. Interfacing WAN Service Providers WAN service provider toll network S S S S CO Switch Local Loop S S S Demarcation Trunks and switches Customer Premises Equipment Point-to-point or circuit-switched connection Provider assigns connection parameters to subscriber GERENCIA OPERACIÓN Y MANTENIMIENTO DE REDES Y SERVICIOS 5 © 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a—1-5
  • 6. Conexiones Seriales Point-to-Point Dispositvo Conector Lado Router usuario final DTE CSU/ DSU DCE Proveedor Servicio EIA/TIA- EIA/TIA- V.3 X.21 EIA-530 232 449 5 Conectores lado Red al CSU/DSU GERENCIA OPERACIÓN Y MANTENIMIENTO DE REDES Y SERVICIOS 6 © 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a—1-6
  • 7. Typical WAN Encapsulation Protocols: Layer 2 HDLC, PPP, SLIP Leased Line X.25, Frame Relay, ATM Packet-switched Service Provider PPP, SLIP, HDLC Circuit-switched Telephone Company GERENCIA OPERACIÓN Y MANTENIMIENTO DE REDES Y SERVICIOS 7 © 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a—1-7
  • 8. HDLC Frame Format Cisco HDLC Flag Address Control Proprietary Data FCS Flag • El protocolo HDLC de Cisco tiene el campo proprietary para soportar ambientes multiprotocolo HDLC Flag Address Control Data FCS Flag tocolo HDLC standar soporta un solo single protocol environ GERENCIA OPERACIÓN Y MANTENIMIENTO DE REDES Y SERVICIOS 8 © 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a—1-8
  • 9. HDLC Command Router(config-if)#encapsulation hdlc • Habilita la encapsulacion HDLC • HDLC es la encapsulacion por defecto en una Interface serial sincrona GERENCIA OPERACIÓN Y MANTENIMIENTO DE REDES Y SERVICIOS 9 © 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a—1-9
  • 10. Una vision de PPP Multiple protocol encapsulations using NCPs in PPP TCP/IP PPP Encapsulation Novell IPX AppleTalk Link setup and control using LCP in PPP • PPP can carry packets from several protocol suites using Network Control Programs • PPP controls the setup of several link options using LCP GERENCIA OPERACIÓN Y MANTENIMIENTO DE REDES Y SERVICIOS 10 © 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a—1-10
  • 11. Elementos PPP IP IPX Capa 3 Protocolos IPCP IPXCP Many Others Capa de Red PPP Network Control Protocol Capa de Authentication, otras opciones Enlace Link Control Protocol Synchronous or Asynchronous Capa Physical Media Fisica PPP—A data link with network-layer services GERENCIA OPERACIÓN Y MANTENIMIENTO DE REDES Y SERVICIOS 11 © 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a—1-11
  • 12. Opciones de Configuracion PPP LCP Caracteristica Como opera Protocolo Requiere un password PAP Authentication Perform Challenge Handshake CHAP Comprime data at source; Stacker or Compression reproduce data at Predictor destination Error Monitor data dropped on link Quality Detection Avoid frame looping Magic Number Multilink Load balancing across Multilink multiple links Protocol (MP) GERENCIA OPERACIÓN Y MANTENIMIENTO DE REDES Y SERVICIOS 12 © 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a—1-12
  • 13. PPP Authentication Overview Dialup or Circuit-Switched Network PPP Session Establishment 1 Link Establishment Phase 2 Optional Authentication Phase 3 Network-Layer Protocol Phase Dos protocolos de autenticacion PPP: PAP y CHAP GERENCIA OPERACIÓN Y MANTENIMIENTO DE REDES Y SERVICIOS 13 © 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a—1-13
  • 14. Seleccionando un Protocolo de Autenticacion PPP Router Remoto PAP Router Central (SantaCruz) 2-Way Handshake (HQ) “santacruz, boardwalk” Acepta/Rechaza Hostname: santacruz username santacruz Password: boardwalk password boardwalk • Passwords sent in clear text • Peer in control of attempts GERENCIA OPERACIÓN Y MANTENIMIENTO DE REDES Y SERVICIOS 14 © 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a—1-14
  • 15. Seleccionando un Protocolo de Autenticacion PPP CHAP Router Remoto Router Central (SantaCruz) 3-Way Handshake (HQ) Challenge Response Hostname: santacruz Accept/Reject username santacruz Password: boardwalk password boardwalk Use “secret” known only to authenticator and peer GERENCIA OPERACIÓN Y MANTENIMIENTO DE REDES Y SERVICIOS 15 © 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a—1-15
  • 16. Configuring PPP and Authentication Overview Verify who you are. Service Provider Authenticating Router Router to Be (The router that received the Authenticated call.) (The router that initiated the Enabling PPP Enabling PPP call.)   ppp encapsulation Enabling PPP Authentication Enabling PPP Authentication   ppp encapsulation  hostname  hostname  username /  username / password password 16 GERENCIA OPERACIÓN Y MANTENIMIENTO DE REDES Y SERVICIOS ppp authentication www.cisco.com © 2000, Cisco Systems, Inc. ICND v1.0a—1-16
  • 17. Configurando PPP Router(config-if)#encapsulation ppp • Habilita la encapsulacion PPP GERENCIA OPERACIÓN Y MANTENIMIENTO DE REDES Y SERVICIOS 17 © 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a—1-17
  • 18. Configurando Autenticacion PPP Router(config)#hostname name • Assigns a host name to your router Router(config)#username name password password • Identifica el usuario y el password para autentificar el router. GERENCIA OPERACIÓN Y MANTENIMIENTO DE REDES Y SERVICIOS 18 © 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a—1-18
  • 19. Configurando Autenticacion PPP (cont) Router(config-if)#ppp authentication {chap | chap pap | pap chap | pap} • Habilita autenticacion PAP y/o CHAP GERENCIA OPERACIÓN Y MANTENIMIENTO DE REDES Y SERVICIOS 19 © 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a—1-19
  • 20. Ejemplo de Configuracion CHAP Left Right PSTN/ISDN router router hostname left hostname left hostname right username right password sameone username right password sameone username left password sameone ! ! ! int serial 0 int serial 0 int serial 0 ip address 10.0.1.1 255.255.255.0 ip address 10.0.1.1 255.255.255.0 ip address 10.0.1.2 255.255.255.0 encapsulation ppp encapsulation ppp encapsulation ppp ppp authentication CHAP ppp authentication CHAP ppp authentication CHAP GERENCIA OPERACIÓN Y MANTENIMIENTO DE REDES Y SERVICIOS 20 © 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a—1-20
  • 21. Verificando configuracion de Encapsulacion HDLC y PPP Router#show interface s0 Serial0 is up, line protocol is up Hardware is HD64570 Internet address is 10.140.1.2/24 MTU 1500 bytes, BW 1544 Kbit, DLY 20000 usec, rely 255/255, load 1/255 Encapsulation PPP, loopback not set, keepalive set (10 sec) LCP Open Open: IPCP, CDPCP Last input 00:00:05, output 00:00:05, output hang never Last clearing of "show interface" counters never Queueing strategy: fifo Output queue 0/40, 0 drops; input queue 0/75, 0 drops 5 minute input rate 0 bits/sec, 0 packets/sec 5 minute output rate 0 bits/sec, 0 packets/sec 38021 packets input, 5656110 bytes, 0 no buffer Received 23488 broadcasts, 0 runts, 0 giants, 0 throttles 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort 38097 packets output, 2135697 bytes, 0 underruns 0 output errors, 0 collisions, 6045 interface resets 0 output buffer failures, 0 output buffers swapped out 482 carrier transitions DCD=up DSR=up DTR=up RTS=up CTS=up GERENCIA OPERACIÓN Y MANTENIMIENTO DE REDES Y SERVICIOS 21 © 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a—1-21
  • 22. Verificando la Autenticacion PPP con el comando debug ppp authentication Left Service Right router Provider router 4d20h: %LINK-3-UPDOWN: Interface Serial0, changed state to up 4d20h: %LINK-3-UPDOWN: Interface Serial0, changed state to up 4d20h: Se0 PPP: Treating connection as a dedicated line 4d20h: Se0 PPP: Treating connection as a dedicated line 4d20h: Se0 PPP: Phase is AUTHENTICATING, by both 4d20h: Se0 PPP: Phase is AUTHENTICATING, by both 4d20h: Se0 CHAP: O CHALLENGE id 2 len 28 from ”left" 4d20h: Se0 CHAP: O CHALLENGE id 2 len 28 from ”left" 4d20h: Se0 CHAP: I CHALLENGE id 3 len 28 from ”right" 4d20h: Se0 CHAP: I CHALLENGE id 3 len 28 from ”right" 4d20h: Se0 CHAP: O RESPONSE id 3 len 28 from ”left" 4d20h: Se0 CHAP: O RESPONSE id 3 len 28 from ”left" 4d20h: Se0 CHAP: I RESPONSE id 2 len 28 from ”right" 4d20h: Se0 CHAP: I RESPONSE id 2 len 28 from ”right" 4d20h: Se0 CHAP: O SUCCESS id 2 len 4 4d20h: Se0 CHAP: O SUCCESS id 2 len 4 4d20h: Se0 CHAP: I SUCCESS id 3 len 4 4d20h: Se0 CHAP: I SUCCESS id 3 len 4 4d20h: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0, 4d20h: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0, changed state to up changed state to up debug ppp authentication successful CHAP output GERENCIA OPERACIÓN Y MANTENIMIENTO DE REDES Y SERVICIOS 22 © 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a—1-22
  • 23. Visual Objective wg_pc_a 10.2.2.12 pod ro’s s0 A 10.140.1.2 e0/1 e0/2 e0 wg_ro_ B 10.140.2.2 10.2.2.3 a C 10.140.3.2 s0 wg_sw_a 10.140.1.2 D 10.140.4.2 10.2.2.11 E 10.140.5.2 PPP with CHAP F 10.140.6.2 G 10.140.7.2 wg_pc_l H 10.140.8.2 10.13.13.12 I 10.140.9.2 wg_ro_l PPP with CHAP J 10.140.10.2 e0/1 e0/2 e0 s0 LL K 10.140.11.2 10.13.13.3 10.140.12.2 L 10.140.12.2 wg_sw_l 10.13.13.11 s1/0 - s2/3 ... 10.140.1.1 … 10.140.12.1 fa0/24 fa0/23 fa0/0 core_ server core_sw_a core_ro 10.1.1.1 10.1.1.2 10.1.1.3 GERENCIA OPERACIÓN Y MANTENIMIENTO DE REDES Y SERVICIOS 23 © 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a—1-23
  • 24. Capítulo 5 Estableciendo Conexiones Frame Relay GERENCIA OPERACIÓN Y MANTENIMIENTO DE REDES Y SERVICIOS 24 © 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a—1-24
  • 25. Objectivos Al completar este capitulo, Ud. Sera capaz de realizar las siguientes tareas: • Determinar como opera Frame Relay • Configurar Frame Relay • Configurar Subinterfaces Frame Relay • Verificar operaciones Frame Relay GERENCIA OPERACIÓN Y MANTENIMIENTO DE REDES Y SERVICIOS 25 © 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a—1-25
  • 26. Frame Relay Overview DCE o Frame Relay Switch CSU/DSU Frame Relay trabaja aqui. • Virtual circuits make connections • Servicio Orientado a la Conexion GERENCIA OPERACIÓN Y MANTENIMIENTO DE REDES Y SERVICIOS 26 © 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a—1-26
  • 27. Frame Relay Stack Modelo de Referencia Frame Relay OSI Aplicacion Presentacio n Sesion Transporte Network IP/IPX/AppleTalk, etc. Capa de Enlace Frame Relay EIA/TIA-232, Capa Fisica EIA/TIA-449, V.35, X.21, EIA/TIA-530 GERENCIA OPERACIÓN Y MANTENIMIENTO DE REDES Y SERVICIOS 27 © 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a—1-27
  • 28. Terminologia Frame Relay PVC DLCI: 100 DLCI: 200 LMI 100=Activ e 400=Activ e DLCI: 400 Local Access Local Loop=64 Access kbps Loop=T1 PVC Local Access Loop=64 kbps DLCI: 500 GERENCIA OPERACIÓN Y MANTENIMIENTO DE REDES Y SERVICIOS 28 © 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a—1-28
  • 29. Frame Relay Address Mapping DLCI: 500 PVC 10.1.1. 1 CSU/DSU Inverse ARP or Frame Relay map Frame IP Relay DLCI (500) (10.1.1.1) • Get locally significant DLCIs from provider • Map your network addresses to DLCIs GERENCIA OPERACIÓN Y MANTENIMIENTO DE REDES Y SERVICIOS 29 © 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a—1-29
  • 30. Señ alizacion Frame Relay DLCI: 500 PVC 10.1.1. 1 CSU/DSU LMI 500=Active 400=Inactive DLCI: 400 x PVC Keepalive Cisco soporta 3 estandars LMI: • Cisco • ANSI T1.617 Annex D • ITU-T Q.933 Annex A GERENCIA OPERACIÓN Y MANTENIMIENTO DE REDES Y SERVICIOS 30 © 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a—1-30
  • 31. Frame Relay Inverse ARP and LMI Operation 1 Frame Relay DLCI=100 DLCI=400 172.168.5.5 172.168.5.7 GERENCIA OPERACIÓN Y MANTENIMIENTO DE REDES Y SERVICIOS 31 © 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a—1-31
  • 32. Frame Relay Inverse ARP and LMI Operation 1 Frame Relay DLCI=100 DLCI=400 172.168.5.5 172.168.5.7 2 Pregunta Status Pregunta Status 2 GERENCIA OPERACIÓN Y MANTENIMIENTO DE REDES Y SERVICIOS 32 © 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a—1-32
  • 33. Frame Relay Inverse ARP and LMI Operation 1 Frame Relay DLCI=100 DLCI=400 172.168.5.5 172.168.5.7 2 Pregunta Status Pregunta Status 2 Local DLCI 100=Active Local DLCI 400=Active 3 3 4 GERENCIA OPERACIÓN Y MANTENIMIENTO DE REDES Y SERVICIOS 33 © 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a—1-33
  • 34. Frame Relay Inverse ARP and LMI Operation 1 Frame Relay DLCI=100 DLCI=400 172.168.5.5 172.168.5.7 2 Status Inquiry Status Inquiry 2 Local DLCI 100=Active Local DLCI 400=Active 3 3 4 Hello, I am 172.168.5.5. 4 GERENCIA OPERACIÓN Y MANTENIMIENTO DE REDES Y SERVICIOS 34 © 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a—1-34
  • 35. Frame Relay Inverse ARP and LMI Operation (cont.) Frame Relay DLCI=100 DLCI=400 172.168.5.5 172.168.5.7 Frame Relay Map 5 172.168.5.5 DLCI 400 Active Hello, I am 172.168.5.7. 4 Frame Relay Map 5 172.168.5.7 DLCI 100 Active GERENCIA OPERACIÓN Y MANTENIMIENTO DE REDES Y SERVICIOS 35 © 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a—1-35
  • 36. Frame Relay Inverse ARP and LMI Operation (cont.) Frame Relay DLCI=100 DLCI=400 172.168.5.5 172.168.5.7 Frame Relay Map 5 172.168.5.5 DLCI 400 Active Hello, I am 172.168.5.7. 4 Frame Relay Map 5 172.168.5.7 DLCI 100 Active 6 Hello, I am 172.168.5.5. GERENCIA OPERACIÓN Y MANTENIMIENTO DE REDES Y SERVICIOS 36 © 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a—1-36
  • 37. Frame Relay Inverse ARP and LMI Operation (cont.) Frame Relay DLCI=100 DLCI=400 172.168.5.5 172.168.5.7 Frame Relay Map 5 172.168.5.5 DLCI 400 Active Hello, I am 172.168.5.7. 4 Frame Relay Map 5 172.168.5.7 DLCI 100 Active 6 Hello, I am 172.168.5.5. Keepalives Keepalives 7 7 GERENCIA OPERACIÓN Y MANTENIMIENTO DE REDES Y SERVICIOS 37 © 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a—1-37
  • 38. Configuracion Basica Frame Relay Rel. 11.2 Router Rel. 10.3 Router HQ Branch interface Serial1 interface Serial1 ip address 10.16.0.1 255.255.255.0 ip address 10.16.0.2 255.255.255.0 encapsulation frame-relay encapsulation frame-relay bandwidth 64 bandwidth 64 frame-relay lmi-type ansi GERENCIA OPERACIÓN Y MANTENIMIENTO DE REDES Y SERVICIOS 38 © 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a—1-38
  • 39. Configuracion Basica Frame Relay (cont) Rel. 11.2 Router Rel. 10.3 Router HQ Branch interface Serial1 interface Serial1 ip address 10.16.0.1 255.255.255.0 ip address 10.16.0.2 255.255.255.0 encapsulation frame-relay encapsulation frame-relay bandwidth 64 bandwidth 64 frame-relay lmi-type ansi Inverse ARP • Enabled by default • Does not appear in configuration output GERENCIA OPERACIÓN Y MANTENIMIENTO DE REDES Y SERVICIOS 39 © 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a—1-39
  • 40. Configuring a Static Frame Relay Map DLCI=110 IP address=10.16.0.1/24 p1r1 HQ Branch DLCI=100 IP address=10.16.0.2/24 interface Serial1 ip address 10.16.0.1 255.255.255.0 encapsulation frame-relay bandwidth 64 frame-relay map ip 10.16.0.2 110 broadcast GERENCIA OPERACIÓN Y MANTENIMIENTO DE REDES Y SERVICIOS 40 © 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a—1-40
  • 41. Verificando la operatividad Frame Relay Router#show interface s0 Serial0 is up, line protocol is up Hardware is HD64570 Internet address is 10.140.1.2/24 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 19, LMI stat recvd 20, LMI upd recvd 0, DTE LMI up LMI enq recvd 0, LMI stat sent 0, LMI upd sent 0 LMI DLCI 1023 LMI type is CISCO frame relay DTE FR SVC disabled, LAPF state down Broadcast queue 0/64, broadcasts sent/dropped 8/0, interface broadcasts 5 Last input 00:00:02, output 00:00:02, output hang never Last clearing of "show interface" counters never Queueing strategy: fifo Output queue 0/40, 0 drops; input queue 0/75, 0 drops <Output omitted> • Muestra el estado del protocolo, DLCI, e informacion LMI GERENCIA OPERACIÓN Y MANTENIMIENTO DE REDES Y SERVICIOS 41 © 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a—1-41
  • 42. Verificando la operatividad Frame Relay (cont) ame-relay lmi for interface Serial0 (Frame Relay DTE) LMI TYPE = CISCO bered info 0 Invalid Prot Disc 0 Call Ref 0 Invalid Msg Type 0 s Message 0 Invalid Lock Shift 0 mation ID 0 Invalid Report IE Len 0 t Request 0 Invalid Keep IE Len 0 q. Sent 113100 Num Status msgs Rcvd 113100 atus Rcvd 0 Num Status Timeouts 0 • Muestra infromacion LMI GERENCIA OPERACIÓN Y MANTENIMIENTO DE REDES Y SERVICIOS 42 © 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a—1-42
  • 43. Verificando la operatividad Frame Relay (cont) Router#show frame-relay pvc 100 PVC Statistics for interface Serial0 (Frame Relay DTE) DLCI = 100, DLCI USAGE = LOCAL, PVC STATUS = ACTIVE, INTERFACE = Serial0 input pkts 28 output pkts 10 in bytes 8398 out bytes 1198 dropped pkts 0 in FECN pkts 0 in BECN pkts 0 out FECN pkts 0 out BECN pkts 0 in DE pkts 0 out DE pkts 0 out bcast pkts 10 out bcast bytes 1198 pvc create time 00:03:46, last time pvc status changed 00:03:47 • Muestra estadistica del trafico PVC GERENCIA OPERACIÓN Y MANTENIMIENTO DE REDES Y SERVICIOS 43 © 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a—1-43
  • 44. Verificando la operatividad Frame Relay (cont) how frame-relay map (up): ip 10.140.1.1 dlci 100(0x64,0x1840), dynamic, broadcast,, status defined, active • Muestra el mapa de rutas, estaticas o dinamicas GERENCIA OPERACIÓN Y MANTENIMIENTO DE REDES Y SERVICIOS 44 © 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a—1-44
  • 45. Verificando la operatividad Frame Relay (cont) rame-relay map ip 10.140.1.1 dlci 100(0x64,0x1840), dynamic, broadcast,, status defined, active frame-relay-inarp me map • Clears dynamically created Frame Relay maps GERENCIA OPERACIÓN Y MANTENIMIENTO DE REDES Y SERVICIOS 45 © 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a—1-45
  • 46. Verificando la operatividad Frame Relay (cont) debug Frame lmi elay LMI debugging is on ing all Frame Relay LMI data erial0(out): StEnq, myseq 140, yourseen 139, DTE up atagramstart = 0xE008EC, datagramsize = 13 R encap = 0xFCF10309 0 75 01 01 01 03 02 8C 8B erial0(in): Status, myseq 140 T IE 1, length 1, type 1 A IE 3, length 2, yourseq 140, myseq 140 erial0(out): StEnq, myseq 141, yourseen 140, DTE up atagramstart = 0xE008EC, datagramsize = 13 R encap = 0xFCF10309 0 75 01 01 01 03 02 8D 8C erial0(in): Status, myseq 142 T IE 1, length 1, type 0 A IE 3, length 2, yourseq 142, myseq 142 VC IE 0x7 , length 0x6 , dlci 100, status 0x2 , bw 0 • Displays LMI debug information GERENCIA OPERACIÓN Y MANTENIMIENTO DE REDES Y SERVICIOS 46 © 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a—1-46
  • 47. Selecting a Frame Relay Topology Red completa Red parcial Star (Hub and Spoke) Frame Relay default: nonbroadcast, multiaccess (NBMA) GERENCIA OPERACIÓN Y MANTENIMIENTO DE REDES Y SERVICIOS 47 © 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a—1-47
  • 48. Reachability Issues with Routing Updates B Routing 1 Update B 2 AA C C 3 D Problem: Broadcast traffic must be replicated for each active connection GERENCIA OPERACIÓN Y MANTENIMIENTO DE REDES Y SERVICIOS 48 © 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a—1-48
  • 49. Resolving Reachability Issues Logical Interface Physical Interface Subnet A S0.1 S0 S0.2 Subnet B S0.3 Subnet C Solution: • Split horizon puede causar problemas en ambientes NBMA • Las Subinterfaces pueden resolver los problemas de split horizon • A single physical interface simulates multiple logical interfaces GERENCIA OPERACIÓN Y MANTENIMIENTO DE REDES Y SERVICIOS 49 © 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a—1-49
  • 50. Configurando Subinterfaces • Point-to-Point – Las Subinterfaces actuan como lineas dedicadas – Cada subinterface point-to-point requiere su propia subred. – Applicable to hub and spoke topologies • Multipoint – Subinterfaces act as NBMA network so they do not resolve the split horizon issue – Can save address space because uses single subnet – Aplicable para topologias de Red parcial y Completas. GERENCIA OPERACIÓN Y MANTENIMIENTO DE REDES Y SERVICIOS 50 © 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a—1-50
  • 51. Configurando Subinterfaces Point-to-Point 10.17.0.1 s0.2 DLCI=110 10.17.0.2 A D s0.3 0 LC B 10.18.0.1 I = 12 interface Serial0 no ip address encapsulation frame-relay ! 10.18.0.2 interface Serial0.2 point-to-point ip address 10.17.0.1 255.255.255.0 bandwidth 64 C frame-relay interface-dlci 110 ! interface Serial0.3 point-to-point ip address 10.18.0.1 255.255.255.0 bandwidth 64 frame-relay interface-dlci 120 ! GERENCIA OPERACIÓN Y MANTENIMIENTO DE REDES Y SERVICIOS 51 © 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a—1-51
  • 52. Ejemplo Configuracion Subinterfaces Multipunto 120 B s2.2=10.17.0.1/24 D LC I = s2.1=10.17.0.2/24 DLCI=130 RTR1 RTR3 D LC I = 140 s2.1=10.17.0.3/24 interface Serial2 no ip address RTR4 encapsulation frame-relay s2.1=10.17.0.4/24 ! interface Serial2.2 multipoint ip address 10.17.0.1 255.255.255.0 bandwidth 64 frame-relay map ip 10.17.0.2 120 broadcast frame-relay map ip 10.17.0.3 130 broadcast frame-relay map ip 10.17.0.4 140 broadcast GERENCIA OPERACIÓN Y MANTENIMIENTO DE REDES Y SERVICIOS 52 © 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a—1-52
  • 53. Laboratorio wg_pc_a 10.2.2.12 pod ro’s s0 e0/1 wg_ro_ A 10.140.1.2 e0/2 e0 a B 10.140.2.2 10.2.2.3 s0 C 10.140.3.2 wg_sw_a 10.140.1.2/24 10.2.2.11 D 10.140.4.2 E 10.140.5.2 Frame Relay F 10.140.6.2 wg_pc_l G 10.140.7.2 10.13.13.12 H 10.140.8.2 wg_ro_l I 10.140.9.2 PPP with CHAP e0/1 e0/2 e0 s0 J 10.140.10.2 FR K 10.140.11.2 10.13.13.3 10.140.12.2/24 wg_sw_l L 10.140.12.2 10.13.13.11 ... fa0/24 fa0/23 fa0/0 s2/7.x 10.140.1.1/24 … 10.140.12.1/24 core_ server core_sw_a core_ro 10.1.1.1 10.1.1.2 10.1.1.3 GERENCIA OPERACIÓN Y MANTENIMIENTO DE REDES Y SERVICIOS 53 © 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a—1-53

Editor's Notes

  1. Slide 1 of 2 Purpose: This slide states the course objectives. Emphasize: Read or state each objective so each student has a clear understanding of the chapter objectives.
  2. Purpose: This figure states the chapter objectives. Emphasize: Read or state each objective so each student has a clear understanding of the chapter objectives. Transition: The next section presents an introduction to wide-area services.
  3. Purpose: This figure introduces students to WAN connections. Emphasize: Highlight the interconnected WAN connections between the various company sites. The site graphically present a mobile dial-up user, a telecommuter using a DDR connection, and two office sites with multiple connections. This course teaches students how to configure a WAN. Tell students a WAN is a data communications network that serves users across a broad geographic area. Transition: Following are the various physical connections that will connect these sites.
  4. Purpose: This figure introduces students to various physical WAN connections. Emphasize: Leased lines have point-to-point connections that are indefinitely reserved for transmissions, rather than switched as transmission is required. Typically, a leased connection is made using serial lines. Circuit-switched connections are dedicated physical circuit paths established only during the duration of a call. Physical circuit switched examples are asynchronous serial and Integrated Services Digital Network (ISDN). Packet-switched networks use packet switching technology for data transfer. Evolving physical connections not discussed in this course follow: Digital subscriber line (DSL)—DSL is an emerging technology that delivers high bandwidth over conversational copper lines. There are four varieties of DSL: asymmetric digital subscriber line (ADSL), high-data-rate digital subscriber line (HDSL), single-line digital subscriber line (SDSL), and very-high-data-rate digital subscriber line (VDSL). Because most DSL technologies do not use the whole bandwidth of the twisted pair, there is room left for a voice channel. Cable—Cable is an emerging technology for data transport that uses a coaxial cable medium to transport the data. It is a good choice in emerging markets such as China where copper pairs for telephones are not standardized.
  5. Purpose: This figure identifies the terms of various devices used to complete the WAN connection. Note: CPE includes both devices owned by the subscriber and devices leased to the subscriber by the service provider. The demarc often occurs at a telecommunication closet (a room containing a punch-down block of provider wiring). Usually the local loop extends for a relatively short distance to the nearest telephone company premises. The central office acts as: An entry point to the WAN cloud for calling. An exit point from the WAN for called devices. A switching point for calls that traverse the facility. Inside the long distance toll network are several types of central offices. For example, a calling subscriber’s connection on a local loop can enter an end central office switch and access an interoffice trunk to a toll central office. In most U.S. locations, AT&amp;T, Sprint, and MCI offer toll offices to handle their subscribers’ calls. Within the provider’s cloud, the caller’s traffic may cross a trunk to a primary center, then go to a sectional center, and then to a regional- or international-carrier center as the call goes the long distance to its destination. A called subscriber can receive a call that has traversed the trunks and switches of a similar hierarchy of central offices. The called subscriber receives the call over the local loop from the called subscriber’s end central office. Often, for point-to-point circuits spanning regional or national boundaries, several providers handle a connection in the toll network.
  6. Purpose: This section describes the various serial standards that support leased line connections. Emphasize: The same 60-pin end that attaches to a Cisco device supports all standards illustrated. Note: Data switching equipment (DSE) is an additional term sometimes used to describe the switch components that appear inside the cloud. The DSE adds and removes channels assigned inside the WAN. The DSE connects traffic from various sources to their final destinations through other switches. Transition: The next layer in the stack is the layer 2, the data link layer.
  7. Purpose: This figure introduces students to various encapsulation options to use over the various physical connections. Emphasize: In order to exchange traffic over a WAN link, the packets must be encapsulated into a Layer 2 frame. There are a variety of Layer 2 encapsulation types available that can be used, depending on the WAN connection being used. Some of the types are listed on the figure. Encapsulation must be configured on the router when configuring the interface. Some of these encapsulation types will be seen again in the following chapters. In an ISDN environment, Point-to-Point (PPP) is the B channel’s Layer 2 encapsulation. Link Access Procedure on the D channel (LAPD) is the encapsulation for the D channel. Either the proprietary Cisco or Internet Engineering Task Force (IETF) (defined in RFC 1490) encapsulations are the Layer 2 encapsulations for Frame Relay. Note: Other encapsulations not shown include AppleTalk Remote Access Protocol (ARAP), Compressed Serial Link Internet Protocol (CSLIP), or Synchronous Data Link control (SDLC). Transition: We will first look at the HDLC encapsulation.
  8. Purpose: This figure introduces students to HDLC encapsulation. Emphasize: HDLC is the default layer 2 protocol for Cisco router serial interfaces. Cisco’s proprietary enhancement to HDLC incorporates a protocol or type field to allow multiple protocols to be carried on a single link
  9. Purpose: This figure describes how to configure HDLC on a serial connection. Emphasize: encapsulation hdlc is the default encapsulation on a Cisco router’s serial connection. Transition: If the network consists of Cisco and non-Cisco devices, you should PPP instead of HDLC.
  10. Purpose: This figure presents an overview of PPP. Emphasize: The figure illustrates the multiple protocols NCP supports. The two arrows pointing to the router interfaces is where PPP encapsulation occurs. The first bullet summarizes the role of NCP. The second bullet summarizes the role of LCP options that the administrator can use to set up and control the data link. Several RFCs are used to specify aspects of PPP. RFC 1548 is the major specification for the major PPP NCP and LCP operations.
  11. Purpose: This figure maps the elements of PPP to the OSI model. Emphasize: At the bottom layer, PPP operates using synchronous media such as ISDN or asynchronous media such as basic telephone service dialup. For ISDN, PPP operates over dialup connections like those in a Cisco LAN2LAN Personal Office node, or over a link between two routers. PPP offers data-link services that control access to communication media between devices considered directly connected over the WAN. This ISO/OSI Layer 2 protocol connects a DTE (local router) to another DTE (remote router). Using PPP’s LCP options, an administrator can provide secure access and reliable data transfer. PPP blends with many Layer 3 protocols using PPP NCPs. For example, in the ISDN lab that follows the next chapter, the router will use IP Control Protocol (IPCP) with PPP encapsulation.
  12. Purpose: The figure presents an overview of the most popular PPP features. Emphasize: The table in the figure lists and describes the various LCP options. PPP compression is offered in Cisco’s Compression Control Protocol (CCP). RFC 1548 covers the Internet Engineering Task Force (IETF) approved PPP options in detail. RFC 1717 defines Multilink Protocol. RFC 1990, The PPP Multilink Protocol (MP) , obsoletes RFC 1717. Note: To further enhance security, Cisco IOS Release 11.1 offers callback over PPP. With this LCP option, a Cisco router can act as a callback client or as a callback server. The client makes the initial DDR call requests that it be called back, and terminates its initial call. The callback server answers the initial call and makes the return call to the client based on its configuration statements. This option is described in RFC 1570. Reference: Students will only learn how to configure PAP and CHAP authentication in this course. To learn how to configure the other LCP options, students should attend the Building Cisco Remote Access (BCRAN) course.
  13. Purpose: This graphic presents the PPP authentication overview. Emphasize: A PPP session establishment has three phases: Link establishment phase—In this phase, each PPP device sends LCP packets to configure and test the data link. Authentication phase (optional)—After the link has been established and the authentication protocol decided on, the peer may be authenticated. PPP supports two authentication protocols: PAP and CHAP. Both of these protocols are detailed in RFC 1334, PPP Authentication Protocols. However, RFC 1994, PPP Challenge Handshake Authentication Protocol, obsoletes RFC 1334. Network-layer protocol phase—In this phase, the PPP devices send NCP packets to choose and configure one or more network-layer protocol.
  14. Purpose: This figure presents the PPP authentication protocol, PAP. Emphasize: PPP sets line controls for the call. There are two types of authentication protocols: PAP and CHAP. PAP provides a simple method for a remote node to establish its identity using a two-way handshake. PAP is done only upon initial link establishment. PAP is not a strong authentication protocol. It provides no encryption. It may be fine in DDR environments when the password changes each time one authenticates. CHAP is the preferred protocol.
  15. Purpose: This figure presents the PPP authentication protocol, CHAP. Emphasize: CHAP is done upon initial link establishment and can be repeated any time after the link has been established. CHAP transactions occur only when a link is established. The local access server does not request a password during the rest of the session. (The local access server can, however, respond to such requests from other devices during a session.) CHAP is specified in RFC 1334. It is an additional authentication phase of the PPP Link Control Protocol. Transition: Now that you know how PPP and PPP authentication operates, the following section describes how to configure it on an IOS router.
  16. Purpose: This figure provides a sign post highlighting the tasks to complete to enable PPP and PPP authentication. Emphasize: Highlight the steps the student must take to enable PPP authentication.
  17. Purpose: This figure describes how to encapsulate PPP on an interface.
  18. Purpose: This figure describes how to set the hostname on the local device and a remote device’s username and password. Emphasize: Correct configuration is essential since PAP and CHAP will use these parameters to authenticate. The names and password are case sensitive.
  19. Purpose: This figure continues with the PPP authentication configuration commands. Emphasize: If both PAP and CHAP are enabled, then the first method specified will be requested during link negotiation. If the peer suggests using the second method or simply refuses the first method, then the second method will be tried.
  20. Purpose: This page shows an example of CHAP configuration between two routers. Emphasize: When you configure the usernames and passwords for the local databases, the passwords on both systems must be identical. Usernames and passwords are case sensitive. Transition: The next section shows how to verify that the connection is operating as intended.
  21. Purpose: This graphic presents the show interface command, which is used to verify that PPP encapsulation is configured on the interface. The same command is used to verify proper HDLC configuration.
  22. Purpose: This page shows an example of debug ppp authentication output. The output illustrates of a successful CHAP authentication challenge. Emphasize: The debug ppp authentication command displays the authentication exchange sequence as it occurs.
  23. Objectives: Establish a serial Point-to-Point connection. Enable the PPP data link protocol on the connections. Purpose: Teach students how to enable a point-to-point link. Laboratory Instructions: Refer to the Lab Setup Guide.
  24. Slide 1 of 2 Purpose: This slide states the course objectives. Emphasize: Read or state each objective so each student has a clear understanding of the chapter objectives.
  25. Purpose: This figure states the chapter objectives. Emphasize: Read or state each objective so each student has a clear understanding of the chapter objectives. Transition: The next section presents an overview of Frame Relay.
  26. Purpose: This figure provides a big-picture definition of Frame Relay. Emphasize: Frame Relay is used between the CPE device and the Frame Relay switch. It does NOT affect how packets get routed within the Frame Relay cloud. Frame Relay is a purely Layer 2 protocol. The network providing the Frame Relay service can be either a carrier-provided public network or a network of privately owned equipment serving a single enterprise. Make a clear distinction between DCE, DTE, and CPE. Emphasize that Frame Relay over SVCs is not discussed in this chapter because it is not widely supported by service providers at this time. The service provider must also support SVCs in order for Frame Relay over SVCs to operate. Note: In Cisco IOS Release 11.2, two traffic shaping features were introduced: Generic (adaptive) traffic shaping Frame Relay traffic shaping Both of these features can be used to adjust the rate at which traffic is sent by the router. In addition, these features allow the router to throttle the traffic rate based on BECNs received from the Frame Relay switch. Neither of these features are discussed in this course. Frame Relay traffic shaping is discussed in the Building Cisco Remote Access Networks (BCRAN) course. Information on both can be found in Cisco documentation.
  27. Purpose: This figure compares Frame Relay to the OSI model. Emphasize: The same serial standards that support point-to-point serial connections also support Frame Relay serial connections. Frame Relay operates at the data link layer. Frame Relay supports multiple upper-layer protocols.
  28. Purpose: This figure provides an overview of terminology so that the student is prepared to understand the Frame Relay operation discussion. The terminology used with Frame Relay varies by service provider. These are the commonly used terms. Point out the local access loop and note that the local access rate is different than the rate used within the Frame Relay cloud. The DLCI is of local significance, therefore, point out that the same DLCI can be used in multiple places in the network. The autosensing LMI is a Release 11.2 or later feature. Frame Relay connections are made using PVCs. The circuits are identified by the DLCI assigned by the service provider. Reference: For more information on Frame Relay, including a Frame Relay glossary, refer to the Frame Relay Forum World Wide Web page: http://www.frforum.com/4000/4003.html This course does not discuss Frame Relay traffic flow issues. So terms like BECN, FECN and discard eligible are not discussed in this course. These terms are some of the terms that can be found in the Frame Relay Forum’s glossary. The BCRAN discusses Frame Relay traffic flow issues.
  29. Purpose: This figure illustrates mapping the data-link connection identifier (DLCI) to the network layer address such as IP. Emphasize: The DLCI is of local significance, therefore, point out that the same DLCI can be used in multiple places in the network. Frame Relay connections are made using PVCs. The circuits are identified by the DLCI assigned by the service provider. Explain what Inverse ARP is used for. Static mapping can be configured instead of inverse ARP.
  30. Purpose: This figure describes the Local management Interface (LMI) and shows the key standards. Emphasize: Explain LMI. Note: Other key American National Standards Institute (ANSI) standards are T1.606, which defines the Frame Relay architecture, and T1.618, which describes data transfer. Other key International Telecommunication Union Telecommunication Standardization sector (ITU-T) specifications include I.122, which defines ITU-T Frame Relay architecture, and Q.922, which standardizes data transfer. Use of these LMI standards is especially widespread in Europe. The original “gang of four” no longer exists; StrataCom merged with Cisco and Digital Equipment Corporation was acquired by Compaq Computers.
  31. Layer 1 of 4: Purpose: This figure describes the Inverse ARP and LMI process. Emphasize: Step 1—Indicates that each router must connect to the Frame Relay switch. Note: The status inquiry messages are part of LMI operation. Explain what Inverse ARP is used for.
  32. Layer 2 of 4: Purpose: This figure describes the Inverse ARP and LMI process. Emphasize: Step 1—Indicates that each router must connect to the Frame Relay switch. Step 2—Discusses what information is sent from the router to the Frame Relay switch.
  33. Layer 3 of 4: Purpose: This figure describes the Inverse ARP and LMI process. Emphasize: Step 1—Indicates that each router must connect to the Frame Relay switch. Step 2—Discusses what information is sent from the router to the Frame Relay switch. Step 3—Discusses what the Frame Relay switch does with the received information.
  34. Layer 4 of 4: Purpose: This figure describes the Inverse ARP and LMI process. Emphasize: Step 1—Indicates that each router must connect to the Frame Relay switch. Step 2—Discusses what information is sent from the router to the Frame Relay switch. Step 3—Discusses what the Frame Relay switch does with the received information. Step 4—Discusses the sending of Inverse ARP messages.
  35. Layer 1 of 3: Purpose: This figure describes the Inverse ARP and LMI process (cont...). Emphasize: Step 5—Discusses how the Inverse ARP message is used to create the Frame Relay map table dynamically.
  36. Layer 2 of 3: Purpose: This figure describes the Inverse ARP and LMI process (cont...). Emphasize: Step 5—Discusses how the Inverse ARP message is used to create the Frame Relay map table dynamically. Step 6—Shows how Inverse ARP has a periodic interval.
  37. Layer 3 of 3: Purpose: This figure describes the Inverse ARP and LMI process (cont...). Emphasize: Step 5—Discusses how the Inverse ARP message is used to create the Frame Relay map table dynamically. Step 6—Shows how Inverse ARP has a periodic interval. Step 7—Discusses the periodic interval for keepalive messages. It’s an LMI function. Transition: The next section explains how to configure Frame Relay.
  38. Slide 1 of 2: Purpose: This figure introduces basic Frame Relay configuration over a physical interface. It is important that students understand how configuration occurs in order for them to understand the subinterfaces discussion later in the chapter. These steps assume that LMI and Inverse ARP are supported, therefore no static maps are needed. Regarding step 3: Cisco’s Frame Relay encapsulation uses a 4-byte header, with 2 bytes to identify the DLCI and 2 bytes to identify the packet type. Use the ieft encapsulation to connect to other vendors. The IETF standard is defined in RFCs 1294 and 1490. Regarding step 4: The LMI connection is established by the frame-relay lmi-type [ansi | cisco | q933a] command. The default values established during initial setup are usually sufficient to maintain connectivity with the Frame Relay network. Altering these values would only be required in case of intermittent failures. Changing the default values of the LMI should only be attempted after consulting with your service provider. These configuration steps are the same, regardless of the network-layer protocols operating across the network.
  39. Slide 2 of 2: Purpose: This figure continues the basic Frame Relay configuration over a physical interface. Emphasize: Regarding step 5: This command is used to notify the routing protocol that bandwidth is configured on the link. It is used by IGRP to determine the metric of the link. IGRP uses bandwidth as one of the factors to determine the metric. This command also affects statistics, in particularly statistics in the show interface command.
  40. Purpose: This figure discusses the static map command option: Emphasize: You can use the frame-relay map command to configure multiple DLCIs to be multiplexed over one physical link. Instead of using Inverse ARP, the Frame Relay map tells the Cisco IOS software how to get from a specific protocol and address pair to the correct DLCI. Point out that this command is similar to building a static route. The simplest way to generate a static map is to let the router learn the information dynamically first. Some users let the router learn the information dynamically, then enable static maps for easier network administration. These configuration steps are the same, regardless of the network-layer protocols operating across the network. Although static maps are not needed when Inverse ARP is enabled, it is a good idea to configure them for each connection for easier network administration.
  41. Slide 1 of 6: Purpose: This figure shows how the show interface command is used to verify whether Frame Relay operation and router connectivity to remote routers are working. Emphasize: Describe the highlighted output to the students.
  42. Slide 2 of 6: Purpose: This figure shows how the show frame-relay LMI command is used to verify the LMI type used for signaling. Emphasize: Describe the highlighted output to the students.
  43. Slide 3 of 6: Purpose: This figure shows how the show frame-relay pvc command is used to verify whether Frame Relay operation and router connectivity to remote routers are working. Emphasize: Describe the highlighted output to the students.
  44. Slide 4 of 6: Purpose: This figure shows how the show frame-relay map command is used to verify that Frame Relay has a map entry in the Frame Relay map table. Emphasize: Describe the highlighted output to the students.
  45. Slide 5 of 6: Purpose: This figure shows how the clear frame-relay-inarp command is used to clear dynamically created Frame Relay maps.
  46. Slide 6 of 6: Purpose: This figure shows how the debug frame-relay lmi command is used to debug your Frame Relay signaling.
  47. Purpose: This figure is a transition discussion to illustrate the need for subinterfaces. Now that students are familiar with the concept and configuring of Frame Relay, they are ready to consider the issues and solutions related to broadcast updates in an NBMA Frame Relay network. Emphasize: Compare the different topologies described. Explain that by default interfaces that support Frame Relay are multipoint connection types. This type of connection is not a problem when only one PVC is supported by a single interface; but it is when multiple PVCs are supported by a single interface. In this situation, broadcast routing updates received by the central router cannot be broadcast to the other remote sites. Broadcast routing updates are issued by distance vector protocols. Link-state and hybrid protocols use multicast and unicast addresses.
  48. Purpose: This figure continues the discussion that leads into the need for subinterfaces. Emphasize: Partial mesh Frame Relay networks must deal with the case of split horizon not allowing routing updates to be retransmitted on the same interface from which they were received. Split horizon cannot be disabled for certain protocols such as AppleTalk. Split horizon issues are overcome through the use of logical subinterfaces assigned to the physical interface connecting to the Frame Relay network. A physical interface can be divided into multiple, logical interfaces. Each logical interface is individually configured and is named after the physical interface. A decimal number is included to distinguish it. The logical port names contain a decimal point and another number indicating these are subinterfaces of interface serial 0 (S0). Subinterfaces are configured by the same configuration commands used on physical interfaces. A broadcast environment can be Frame Relay-created by transmitting the data on each individual circuit. This simulated broadcast requires significant buffering and CPU resources in the transmitting router, and can result in lost user data because of contention for the circuits. Reference: Interconnections by Radia Perlman is also a good reference on split horizon. Note: Subinterfaces are particularly useful in a Frame Relay partial-mesh NBMA model that uses a distance vector routing protocol. Instead of migrating to a routing protocol that supports turning off split horizon, subinterfaces can be used to overcome the split horizon problem.
  49. Purpose: This figure defines subinterfaces and how they can resolve NBMA issues. Emphasize: You can have connectivity problems in a Frame Relay network if these conditions exist: You are using an NBMA model. Your configuration is in a partial mesh. You are using a distance vector routing protocol. Split horizon is enabled on the routing protocol. If the routing protocol is configured with split horizon, routing updates from one router connected on the multipoint subinterface are not propagated to other routers connected on this multipoint subinterface. For example, if router C sends a routing update, this split horizon will keep this update from being sent back out the subinterface to router D. To resolve this problem you can: Use Frame Relay subinterfaces to overcome the split horizon problem. Use a routing protocol that supports disabling split horizon. Use this configuration if you want to save IP address space. You can also use this type of configuration with several fully meshed groups. Routing updates will be exchanged between the fully meshed routers. Note: When an interface is assigned “encapsulation frame-relay,” split horizon is disabled for IP and enabled for IPX and AppleTalk, by default.
  50. Purpose: This figure begins the discussion on configuring subinterfaces. Emphasize: The encapsulation frame-relay command is assigned to the physical interface. All other configuration items, such as the network-layer address and DLCIs, are assigned to the subinterface. Multipoint may not save you addresses if you are using VLSMs. Further, it may not work properly given the broadcast traffic and split horizon considerations. The point-to-point subinterface option was created to avoid these issues. Note: Subinterfaces are also used with ATM networks and IPX LAN environments where multiple encapsulations exist on the same medium.
  51. Purpose: This figure continues the discussion of configuring subinterfaces. Emphasize: The Frame Relay service provider will assign the DLCI numbers. These numbers range from 16 to 992. This range will vary depending on the LMI used. Use the frame-relay interface-dlci command on subinterfaces only. Use of the command on an interface, rather than a subinterface, will prevent the device from forwarding packets intended for the DLCI. It is also required for multipoint subinterfaces for which dynamic address resolution is enabled. It is not used for multipoint subinterfaces configured with the frame-relay map command for static address mapping. Using the frame-relay interface-dlci command with subinterfaces provides greater flexibility when configuring Frame Relay networks. On multipoint subinterfaces, the frame-relay interface-dlci command enables Inverse ARP on the subinterface. When this command is used with point-to-point subinterfaces, all traffic for the subinterface’s subnetwork are sent out this subinterface. The ability to change a subinterface from point-to-point to multipoint, or vice versa, is limited by the software architecture. The router must be rebooted for a change of this type to take effect. An alternative exists to rebooting the router and creating a network outage. Create another subinterface in the software and migrate the configuration parameters to the new subinterface using the proper point-to-point or multipoint setting, as required.
  52. Purpose: This graphic illustrates a multipoint subinterface example. Emphasize: In this example, the subinterface is configured to behave as a normal NBMA Frame Relay interface. No IP address is configured on the physical interface. It is important that the physical interface NOT have an address, otherwise routing will not work. The frame-relay map command is used to create the multiple PVC connections from a single interface. All connections are in the same subnet. The DLCIs are provided by your service provider.
  53. Objectives: Enable the Frame Relay on a serial link. Purpose: Teach students how to enable Frame Relay. Laboratory Instructions: Refer to the Lab Setup Guide.