Router R3 Configuration

 

R3(config)#int f 0/0                              (Configure VLAN1 and VLAN number)

R3(config)#int f 0/0.1

R3(config-subif)#encapsulation dot1q 1 native

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

 

R3(config)#int f 0/0.2

R3(config-subif)#encapsulation dot1q <vlan number>

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

 

R3(config)#int s0/0

R3(config-if)#encapsulation frame-relay [ cisco | ietf ]

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

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

R3(config-if)#frame-relay lmi-type [ cisco | ansi | q933a ]

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

 

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

R3(config-if)#int s0/1.103 point-to-point

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

R3(config-subif)#frame-relay interface-dlci 103

 

R3(config)#Router RIP

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

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

 

R3(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 s0/0

 

Frame Relay Displays                                                                                                                                                                                         

show frame-relay lmi            (Displays LMI statistics)

show frame-relay pvc          (Displays status of all the PVC’s and DLCI’s)

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

show running-config           (Shows DLCI’s under each interface and all configured PVC’s)

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)