Lecture

Week 22 Lesson Plan Addendum

Networking

Miscellaneous Router Commands and Configuration


Connection to a router console port. Connect using a dumb terminal setup to serial Port speed 9600

Stop bits 1

Data bits 8

Mode hardware control

Parity none

Or connect through HyperTerminal using same connection settings.


Two modes of user on Cisco routers. Prompt indicates the level of user permission. > prompt indicates user mode and can change nothing – just look see. # prompt indicates executive control and you can change it all. When the router is first powered on, it enters user mode. To get to Exec mode, type enable, followed by the password. Prompt will change from > to # Prompt will change from > to #.


Separate commands


To see commands and syntax on a router type the command followed by a question mark.

This will list all commands and switches available. Below is just a sample of available commands of interest to us here.


For initial configuration type setup at the exec prompt.

(An example configuration is included as a separate document.)


To enter configuration mode type configure terminal

Prompt changes to router(config)


To configure a device, type the name of the device followed by its number such as

Interface serial 0 or line console 0


To change hostname type hostname ________

To change prompt type prompt _________

To change description of port, from the (config-if) prompt type description “xxxx”

To add or change a banner, from (config-line) type banner motd “xxxxxxxxx”

To load an ACSII file for configuration from an TFTP server, type boot syste, tftp ip addressfilename.bin

To copy a file or save the configuration type copy flash tftp ipaddress filename.bin

To copy and save after initial configuration type copy running-configuration startup-configuration

To set up static router from (config) ip route destination ipaddress destination subnet mask direct neighbor interface i.e ip route xxx.xxx.xxx.0 255.255.255.0 xxx.xxx.xxx.xxx


To change from RIP to ICMP, from (config) type router rip or icmp

Then type Network xxx.xxx.xxx.0 for each Ethernet and serial port.

To add an ip helper address  from (config-if) type ip helper-address xxx.xxx.xxx (address of DNS or DHCP server)(see chapter 4-30 on page 4-34 about relay device of switch manual for more information)

Ping – Packet Internet Groper – test tool for connectivity type ping ipaddress


Show version

ppp

setup

running-config

startup-config

ip route

ip arp

ipaddress

ip protocol

trace ipaddress


remote access through telnet from exec level type telnet ip address or host name

then add password of other router


The students are to perform the lab found in the Cisco Network Academy Program Lab Companion manual page 200.