Router R2 Configuration

 

R2(config)#username R1 password <chappassword>

 

R2(config)#int s0/0

R2(config-if)#encapsulation ppp

R2(config-if)#ppp authentication [chap | pap]

R2(config-if)#ppp compress [stacker | Predictor]

R2(config-if)#ppp quality <1 100>

R2(config-if)#multilink

R2(config-if)#ip address <ip addr> <subnet mask>

R2(config-if)#clock rate [ 56000 | 64000 ]

 

R2(config)#int s0/1

R2(config-if)#encapsulation frame-relay [ cisco | ietf ] (Cisco is the default)

R2(config-if)#ip address <ip addr> <subnet mask> (if not using subinterface)

R2(config-if)#bandwidth <bandwidth > (in K, eg 64 to change from default. Eg serial - 1544K, Eth 10M, Fa 100M)

 

The following line is only required for Release 11.1 or earlier, as later versions have LMI Autosensing.

R2(config-if)#frame-relay lmi-type [ cisco | ansi | q933a ] (Cisco is the default)

R2(config-if)#frame-relay map ip <ip addr> <dlci number> [ broadcast ]

R2(config-if)#frame-relay keepalive <seconds> (Default is 10)

 

If using subinterface (eg 102 to match with hyperthetical dlci 102)

R2(config-if)#int s0/1.102 [ point-to-point | multipoint ]

R2(config-subif)#ip address <ip addr> <subnet mask>

R2(config-subif)#frame-relay interface-dlci 102

 

R2(config)#Router RIP

R2(config-router)#network <ip addr> (IP of R1 network)

R2(config-router)#network <ip addr> (IP of R3 network)

 

R2(config)ip route 0.0.0.0 0.0.0.0 <ip addr> (IP of next hop to outside world, eg R12)

 

 

Router show and debug commands

show run

show controllers

show controllers s0/0

show interfaces serial

debug ppp [ authentication | packet | negotiation | error | chap | tasks ]

 

Frame Relay Displays

show frame-relay lmi (Displays LMI statistics)

show frame-relay pvc (Displays status of all the PVCs and DLCIs)

show frame-relay map (Displays current map entries and information about them, eg DLCI, IP of remote, PVC status)

show running-config (Shows DLCIs under each interface and all configured PVCs)

show interface (Displays information about the DLCI and the LMI, and the encapsulation Layer 1 & 2 status)

 

debug frame-relay lmi (Shows packets in/out and status messages)

 

Notes on Multipoint and Point-to-point for subinterfaces

The benefits of sharing a single physical connection for multiple PVCs have an issue.

 

LMI Status Messages (Sent in reply to first status enquiry, and after a set number of status change replies)

Type = 0 for full status message. Possible values are: