Cisco router configuration template
Configuring TCP/IP over Frame Relay on a Cisco router

(These are the minimum configs for setting up a Cisco router to connect to Frame Relay)
The parentheses in the configs are descriptions. Replace them with what they're describing.

boot system flash
boot system rom

hostname (customername-gw, like "logic-gw")
enable password (something cryptic)
enable secret (same as above)

interface ethernet 0
description Local LAN at (customer location)
ip address (first available IP address) (subnet mask)
no ip directed-broadcast
no ip redirects
no ip proxy-arp
no shutdown

interface Serial0
encapsulation frame-relay IETF
no fair-queue
frame-relay lmi-type ansi
no shutdown

interface Serial 0.1 point-to-point
description Frame Relay to Logic
frame-relay interface-dlci 16 IETF
ip address (the IP address) 255.255.255.252
no ip route-cache
no ip directed-broadcast
no ip redirects
no ip proxy-arp
cdp enable
no shutdown

interface Serial 0.2 point-to-point
description A second Frame Relay circuit to another site
frame-relay interface-dlci 17 IETF
ip address (some other IP address-range) 255.255.255.252
no ip directed-broadcast
no ip redirects
no ip proxy-arp
no shutdown

ip domain-name ibl.bm
ip name-server 199.172.192.1
ip name-server 199.172.192.2
ip route 0.0.0.0 0.0.0.0 (IP address of upstream Frame Relay port)

ip classless
ip subnet-zero
ip tcp synwait-time 5

service password-encryption
no service udp-small-servers
no service tcp-small-servers
no ip source-route
no service finger
no service config

line vty 0 4
login
password (something cryptic)


Explanation:

Cisco routers have 5 areas of memory: FLASH, Nonvolatile RAM, Operating RAM, I/O Memory, and Boot ROMs.

When the router turns on, the operating system, or "IOS", is loaded from the FLASH, which is only used for storing the IOS. This IOS is loaded into the Operating RAM. Then the configuration paramaters are loaded into this same Operating RAM from the Nonvolatile RAM, which is where the various configuration commands are stored. The I/0 RAM is used for buffers and cache for moving packets in and out of the router. When you configure a router, you are entering commands into the Operating RAM. These commands take effect as soon as you enter them, but in order for them to survive a router reboot you need to save them to Nonvolatile RAM.

The 5th area of memory are the Boot ROMs. This isn't really memory as such, but are ROM's on the circuit board that contain a basic version of IOS that the router can boot from, in the event of a corrupted IOS image in the FLASH. The version of IOS in the Boot ROMs is almost always older than the version if IOS in FLASH.

Click here to see how much memory a router has.

To log into a Cisco, type enable then enter the password. Monitoring commands are issued at the main router-prompt with show commands. Type show ? to see a list of commands. To configure the router, type configure and select terminal from the list of options. When you're done entering your configurations, hit Ctrl-z which will throw you out to the main prompt. Type write memory to save the cofiguration to Nonvolatile RAM. Type show config to see the contents of this saved RAM, and show running-config to see the contents of the currently running config in the Operating RAM. If you just saved the config, and haven't made any changes, both the saved and running configs will be the same. If you haven't saved the config, the contents of Operating RAM and Nonvolatile RAM will be different.

The following list explains what each line in the configuration means:


Testing Router Connections

When you're done configuring your router, and all the network connections are in place, test your connections with these commands, which are all issued from the main router-name# prompt: