CISCO 2950 ROUTER SETUP BASIC 1 =============================== 1. INTRODUCTION 2. SERIAL CONSOLE 3. COLD BOOT 4. [clock set] 5. [clock timezone] 6. [show running-config] 7. SAVING YOUR CHANGES 8. WARM BOOT 9. AUTHOR SUMMARY #1 10. MODES 11. MORE MODES 12. [Switch>] 13. [Switch#] 14. OUR TECHNICAL DATA 1. INTRODUCTION =============== The author is fresh to the Cisco IOS and Catalyst systems. At the time of the current sentence, many concepts are either misunderstood or unknown. This document will attempt to convey the learning curve to the reader. It acts as both a reference and a working guide. 2. SERIAL CONSOLE ================= PORT : 9600, 8, 1, n, X LINUX : Miniterm, CuteCom, Gtkterm, Putty. WINDOWS : Putty, HyperTerminal The correct 'blue' serial cable for the 2950 is required. A serial port on the host machine is required. The cable is an RJ45 type flat cable. It can be extended with standard CAT5E/6 straight cables and a coupler. 9600 RS232 is certainly good for some 50-feet with conventional cable, with this distance being increased substantially through the use of modern twisted pair. The cable could actually be patched through to a network outlet at a SysAdmin's desk for convenience. 3. COLD BOOT ============ The system is simply switched on and then left to complete the entire boot process. Output is recorded and displayed in the following file. +-----------------------------------------+ | DESCRIPTION : We Start Here! | | FILENAME : coldboot1.txt | +-----------------------------------------+ 4. [clock set] ============== Switch#clock set 00:05:00 02 Feb 2010 Switch#show clock 00:05:14.235 UTC Tue Feb 2 2010 Switch# 5. [clock timezone] =================== Switch#conf t Enter configuration commands, one per line. End with CNTL/Z. Switch(config)#clock timezone GMT 0 Switch(config)#end Switch# 00:59:14: %SYS-5-CONFIG_I: Configured from console by console Switch# 6. [show running-config] ======================== Switch#show running-config Building configuration... +-----------------------------------------+ | DESCRIPTION : We Start Here! | | FILENAME : runningconfig1.txt | +-----------------------------------------+ 7. SAVING YOUR CHANGES ====================== The following command copies the current state configuration that you have right now, and places it into NVRAM. When the router is cold booted, it accesses NVRAM. Switch#copy running-config startup-config Building configuration... [OK] Switch# 8. WARM BOOT ============ You would think that the author would know what is going to happen here. It is suspected that our latest configuration will be lost, despite having saved it. Switch>reload Translating "reload"...domain server (255.255.255.255) % Unknown command or computer name, or unable to find computer address Switch>en Password: Switch#reload Proceed with reload? [confirm]y 01:24:23: Bootstrap Emulator called with code 45 01:24:23: %SYS-5-RELOAD: Reload requested +-----------------------------------------+ | DESCRIPTION : We Start Here! | | FILENAME : warmboot1.txt | +-----------------------------------------+ 9. AUTHOR SUMMARY #1 ==================== Well that was straight forward. There are a number of different modes it would appear; Switch>en Switch# There is also a help system too. Although it doesn't always list every available command, but only the most common ones. We will therefore conclude with three more chapters. Which soon becomes four. 10. MODES ========= It would appear that some commands exist in some modes, while others exist in other modes. This is initially confusing, and the author has still not fully grasped the concept. The author will return shortly. Unprivilidged and Privilidged are the two main modes of the system. When you first connect to the router, you do so in EXEC mode. Unprivilidged commands such as [ping] are executed from within this mode. A greater-than symbol '>' indicates that we are in this mode; Switch> Privilidged mode is entered by issuing the [enable] command. This can be shortened to [en]. A hash indicates that we are within Privilidged Mode. Switch>en Switch# 11. MORE MODES ============== From within Privilidged Mode it would appear that there are many more sub-modes. It is known so far that there is a Cisco hierarchy of modes, just that we don't know what they are. It would appear that these additional modes follow the format of; Router(arguments)# The command [conf t] would appear to be one of these sub-modes. It was seen before when setting up the time zone. Go and have a look at the output. 12. [Switch>?] ============== Switch>? Exec commands: access-enable Create a temporary Access-List entry clear Reset functions connect Open a terminal connection disable Turn off privileged commands disconnect Disconnect an existing network connection enable Turn on privileged commands exit Exit from the EXEC help Description of the interactive help system lock Lock the terminal login Log in as a particular user logout Exit from the EXEC name-connection Name an existing network connection ping Send echo messages rcommand Run command on remote switch resume Resume an active network connection set Set system parameter (not config) show Show running system information systat Display information about terminal lines telnet Open a telnet connection terminal Set terminal line parameters traceroute Trace route to destination tunnel Open a tunnel connection where List active connections Switch> 13. [Switch#?] ============== Switch#? Exec commands: access-enable Create a temporary Access-List entry access-template Create a temporary Access-List entry archive manage archive files cd Change current directory clear Reset functions clock Manage the system clock cluster cluster exec mode commands configure Enter configuration mode connect Open a terminal connection copy Copy from one file to another debug Debugging functions (see also 'undebug') delete Delete a file dir List files on a filesystem disable Turn off privileged commands disconnect Disconnect an existing network connection enable Turn on privileged commands erase Erase a filesystem exit Exit from the EXEC format Format a filesystem fsck Fsck a filesystem help Description of the interactive help system lock Lock the terminal login Log in as a particular user logout Exit from the EXEC mkdir Create new directory more Display the contents of a file name-connection Name an existing network connection no Disable debugging functions ping Send echo messages pwd Display current working directory rcommand Run command on remote switch reload Halt and perform a cold restart rename Rename a file resume Resume an active network connection rmdir Remove existing directory rsh Execute a remote command send Send a message to other tty lines set Set system parameter (not config) setup Run the SETUP command facility show Show running system information systat Display information about terminal lines telnet Open a telnet connection terminal Set terminal line parameters test Test subsystems, memory, and interfaces traceroute Trace route to destination tunnel Open a tunnel connection udld UDLD protocol commands undebug Disable debugging functions (see also 'debug') verify Verify a file vlan Configure VLAN parameters where List active connections write Write running configuration to memory, network, or terminal Switch# 14. OUR TECHNICAL DATA ====================== MANUFACTURER : CISCO SERIES : 2950 MODEL : WS-C2950-24 OS : Cisco Internetwork Operating System Software VERSION : IOS (tm) C2950 Software (C2950-C3H2S-M), Version 12.0(5.3)WC(1), MAINTENANCE INTERIM SOFTWARE BOOT IMAGE : flash:c2950-c3h2s-mz.120-5.3.WC.1.bin MEMORY1 : 32K bytes of flash-simulated non-volatile configuration memory. MEMORY2 : flashfs[0]: Total bytes: 7741440