FTP

Frame-Relay LMI

What is LMI?

LMI stands for Local Management Interface.

LMI messages are exchanged between routers(DTE) and frame-relay(DCE) switches.  At its very basic we can say the LMI messages act as keepalives between the router and frame-relay switch.  LMI messages also contain information which allows routers to detect new PVCs dynamically.  Cisco IOS currently supports 3 types of LMI Cisco, ANSI Annex D and Q.933-A.  In order for LMI to work you must use the same LMI type on both the router and frame-relay switch.

All three LMI types listen for LMI messages on reserverd DLCIs.

ANSI and q.933 listen for messages on DLCI 0 and Cisco LMI listens for messages on DLCI 1023.

Consider the topology below.

lmi

As you can see the LMI needs to match between the local DTE and the DCE ie they need to be speaking the same language.

Cisco IOS actually supports an LMI autosense feature which allows a router(DTE) to dynamically detect the LMI type configured on the connected frame-relay switch.

Also worth noting on the diagram.  I preconfigured a PVC on the frame-relay switch with a DLCI if 102 facing R1.  From the debug information you can see that this DLCI is passed to R1.

Using FTP to upload an IOS image to a router

The ftp client in IOS will default to using the first username and password in the startup-config.  You therefore do not need to explicitly define an ftp username and password.  Make sure your FTP server is configured to accept the username and password configured on your router.

————————————————————————————-

conf t

username cisco password cisco

copy ftp: sup-bootdisk:

address or name of remote host []? 1.1.1.1

source filename []? s72033-ipservicesk9_wan-mz.122-18.SXF13.bin

destination filename [s72033-ipservicesk9_wan-mz.122-18.SXF13.bin]?

loading s72033-ipservicesk9_wan-mz.122-18.SXF13.bin !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

[OK - 80102916/4096 bytes]

————————————————————————————-

its probably not a good idea to use the above username and password:-)