This is a website I've put together to help explain some of the Cisco IOS commands used by networking techs. Some of the commands will be pretty obvious, others not so much. Hopefully, this will be helpful to those getting started in working with Cisco switches and routers and maybe a memory refresher for the more seasoned networker.
Wednesday, November 30, 2011
Let's Get Started
To get started, we are going to begin with a new switch, in this case a Cisco 3750-24TS, power it up and see what the output looks like.
Initial Power Up
Before plugging in the power cord to power up your switch, be sure to have the blue console cable plugged into the console port on the back of the switch. Plug the other end into the serial port of your computer and launch your favorite serial communications application. Make sure it is configured for 9600 baud, 8 data bits, no parity and 1 stop bit. Terminal emulation can be set for VT100.
When your console cable is connected to the switch and your computer and your terminal application is open and configured correctly, plug in the power cord to the switch. After a few seconds you’ll see something like the following output:
Base ethernet MAC Address: 00:0a:b8:01:25:80
Xmodem file system is available.
The password-recovery mechanism is enabled.
Initializing Flash...
flashfs[0]: 447 files, 7 directories
flashfs[0]: 0 orphaned files, 0 orphaned directories
flashfs[0]: Total bytes: 15998976
flashfs[0]: Bytes used: 8788480
flashfs[0]: Bytes available: 7210496
flashfs[0]: flashfs fsck took 9 seconds.
...done Initializing Flash.
Boot Sector Filesystem (bs) installed, fsid: 3
done.
Loading "flash:c3750-ipbase-mz.122-25.SEE1/c3750-ipbase-mz.122-25.SEE1.bin"...@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@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@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
File "flash:c3750-ipbase-mz.122-25.SEE1/c3750-ipbase-mz.122-25.SEE1.bin" uncompr
essed and installed, entry point: 0x3000
executing...
Restricted Rights Legend
Use, duplication, or disclosure by the Government is
subject to restrictions as set forth in subparagraph
(c) of the Commercial Computer Software - Restricted
Rights clause at FAR sec. 52.227-19 and subparagraph
(c) (1) (ii) of the Rights in Technical Data and Computer
Software clause at DFARS sec. 252.227-7013.
cisco Systems, Inc.
170 West Tasman Drive
San Jose, California 95134-1706
Cisco IOS Software, C3750 Software (C3750-IPBASE-M), Version 12.2(25)SEE1, RELEA
SE SOFTWARE (fc1)
Copyright (c) 1986-2006 by Cisco Systems, Inc.
Compiled Mon 22-May-06 04:34 by yenanh
Image text-base: 0x00003000, data-base: 0x00EE3668
Initializing flashfs...
flashfs[1]: 447 files, 7 directories
flashfs[1]: 0 orphaned files, 0 orphaned directories
flashfs[1]: Total bytes: 15998976
flashfs[1]: Bytes used: 8788480
flashfs[1]: Bytes available: 7210496
flashfs[1]: flashfs fsck took 1 seconds.
flashfs[1]: Initialization complete....done Initializing flashfs.
Checking for Bootloader upgrade.. not needed
POST: CPU MIC register Tests : Begin
POST: CPU MIC register Tests : End, Status Passed
POST: PortASIC Memory Tests : Begin
POST: PortASIC Memory Tests : End, Status Passed
POST: CPU MIC PortASIC interface Loopback Tests : Begin
POST: CPU MIC PortASIC interface Loopback Tests : End, Status Passed
POST: PortASIC RingLoopback Tests : Begin
POST: PortASIC RingLoopback Tests : End, Status Passed
Waiting for Stack Master Election (around 30 seconds)...
POST: PortASIC CAM Subsystem Tests : Begin
POST: PortASIC CAM Subsystem Tests : End, Status Passed
POST: No Cable found on stack port 1
POST: No Cable found on stack port 2
POST: PortASIC Stack Port Loopback Tests : Begin
POST: PortASIC Stack Port Loopback Tests : End, Status Passed
POST: PortASIC Port Loopback Tests : Begin
POST: PortASIC Port Loopback Tests : End, Status Passed
Election Complete
Switch 1 booting as Master
Waiting for Port download...Complete
cisco WS-C3750-24TS (PowerPC405) processor (revision L0) with 118784K/12280K byt
es of memory.
Processor board ID CAT1025ZL4K
Last reset from power-on
1 Virtual Ethernet interface
24 FastEthernet interfaces
2 Gigabit Ethernet interfaces
The password-recovery mechanism is enabled.
512K bytes of flash-simulated non-volatile configuration memory.
Base ethernet MAC Address : 00:0A:B8:01:25:80
Motherboard assembly number : 73-9677-10
Power supply part number : 341-0034-01
Motherboard serial number : CAT10250T7G
Power supply serial number : DTH101903NJ
Model revision number : L0
Motherboard revision number : A0
Model number : WS-C3750-24TS-S
System serial number : CAT1025ZL4K
Top Assembly Part Number : 800-25857-02
Top Assembly Revision Number : D0
Version ID : V05
CLEI Code Number : CNMV100CRE
Hardware Board Revision Number : 0x01
Switch Ports Model SW Version SW Image
------ ----- ----- ---------- ----------
* 1 26 WS-C3750-24TS 12.2(25)SEE1 C3750-IPBASE-M
Press RETURN to get started!
00:00:43: %STACKMGR-4-SWITCH_ADDED: Switch 1 has been ADDED to the stack
00:00:44: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed state t
o down
00:00:45: %SPANTREE-5-EXTENDED_SYSID: Extended SysId enabled for type vlan
00:01:05: %STACKMGR-5-SWITCH_READY: Switch 1 is READY
00:01:05: %STACKMGR-4-STACK_LINK_CHANGE: Stack Port 1 Switch 1 has changed to st
ate DOWN
00:01:05: %STACKMGR-4-STACK_LINK_CHANGE: Stack Port 2 Switch 1 has changed to st
ate DOWN
00:01:06: %STACKMGR-5-MASTER_READY: Master Switch 1 is READY
00:01:06: %SYS-5-RESTART: System restarted --
Cisco IOS Software, C3750 Software (C3750-IPBASE-M), Version 12.2(25)SEE1, RELEA
SE SOFTWARE (fc1)
Copyright (c) 1986-2006 by Cisco Systems, Inc.
Compiled Mon 22-May-06 04:34 by yenanh
Would you like to terminate autoinstall? [yes]: yes
--- System Configuration Dialog ---
Would you like to enter the initial configuration dialog? [yes/no]: no
Switch>
You’ll notice that I answered ‘yes’ to the question asking me if I wanted to terminate autoinstall and ‘no’ to the question asking if we wanted to enter the initial configuration dialog. Autoinstall and the menu driven initial configuration dialog allow for retrieving configuration files stored on a central tftp server. For now, we’ll skip this feature and manually configure the switch as if it were an addition to our current network infrastructure.
Subscribe to:
Post Comments (Atom)


No comments:
Post a Comment