Basic Router and Switch Instructions (Cisco Devices)
Basic Router and Switch Instructions (Cisco Devices)
Basic Router and Switch Instructions (Cisco Devices)
1. Connect to the device via the console cable (light blue cable) and the use of a terminal
program (Windows Hyperterminal, Putty)
2. Start the selected program
3. Set the serial communications port (normally com2)
4. Connection settings are default:
Bits per second: 9600
Data Bits: 8
Parity: None
Stop Bits: 1
Flow Control: None
5. Once connected, you will see a connection prompt
Password Recovery
At times, a student will place a password on a router and not remove it. In this case, a password
recovery must be completed to allow the device to be used again.
5. Finally, type boot <Enter> and the switch will reset with a default configuration.
3500XL Switches
On the 3500 switches you must create vlans at the interface level, as there is no direct method to
create a vlan.
1. Type Enable
2. Type Configure Terminal
3. Type Interface Fa0/1
4. Type Switchport access vlan # (# is the number of the vlan you are trying to create)
5. Type End
6. Type Show Vlan to confirm your VLAN was created
Saving Configuration to Flash
Depending upon the device, the following commands will be used:
1. Write
2. Copy Run Start
3. Write Memory
1. Type Enable
2. Type Copy Run Tftp
3. Type in the IP Address or DNS name of the TFTP Server in this case: ex. 192.168.1.150
4. Type in the name that you wish to save this configuration with (default is switch-config), in
this case: Test-Config
5. Press Enter and it will upload it to your tftp server.
Saving an IOS Image to a TFTP Server
There are times the main operating system for a device may need to be restored or modified to a new version.
The current IOS can be saved to a TFTP server for future use or backup in case of failure. A TFTP server and its
IP address must be configured before this option will be available.
1. Type Enable
2. Type Show Version, find the .bin file listed in the output. (Example Below).
3. Hit the Escape key to exit out of the Show version output.
4. Type Copy flash:c3500xl-c3h2s-mz.120-5.WC3b.bin Tftp (Replace c3500xl-c3h2s-mz.120-
5.WC3b.bin with the name of your IOS Image)
5. Type in the IP Address or DNS name of the TFTP Server in this case: 192.168.1.150
6. Type the file name that you wish to save it with (default are shown in [ ] after the question, if
you want the default just hit Enter), in this case: c3500xl-c3h2s-mz.120-5.WC3b.bin
7. Press Enter and it will upload it to your tftp server.
1. Type Enable
2. Type Copy Tftp Run
3. Type in the IP Address or DNS name of the TFTP Server in this case: 192.168.1.150
4. Type in the file name that you wish to pull down, in this case: c3500xl-c3h2s-mz.120-
5.WC3b.bin
5. Press Enter and it will download it to your flash.
Creating Room on the Device for the IOS (Not Enough Space Error)
When loading a new IOS, the error of Not Enough Space may be received. In this case, the current
image must be removed to provide the space for the new IOS to be installed. Before beginning this,
you will want to save the current IOS to the TFTP server as a precaution. At any time during the
delete process before step 6, the <CTRL>+ <C> combination may be used to cancel the process.
1. Type Enable
2. Type Dir flash:
3. Look for the name of a .bin file
4. Type delete flash:c3500xl-c3h2s-mz.120-5.WC3b.bin
5. Hit Enter twice to confirm the name to delete and to confirm the actual deletion.
1. Type Enable
2. Type Show vlan , the vlans will be listed along the left side and the ports that are associated
with them are directly to the right. Notice in the diagram the Vlan is circled in red and the
ports associated to that vlan are circled in blue.
Creating a Monitor (Mirrored) Port on a switch
Using a monitor port eleviates the need for using a hub to capture traffic. When setting up a monitor
port you can choose to monitor the traffic going over a specific port or a specific VLAN. Which ever
you choose will be used in step X.
1. Type Enable
2. Type Configure Terminal
3. Type Interface FastEthernet 0/1 where FastEthernet 0/1 is the interface you want the traffic
to be sent to. Make sure that the interface your monitoring on is in the same vlan of
whatever port or vlan you are going to be monitoring. Then proceed to either step 4 or 5.
4. Type in Port Monitor FastEthernet 0/5 to monitor the traffic going over port FastEthernet 0/5
5. Type Port Monitor vlan # (where # is the vlan number you want to monitor)