SlideShare ist ein Scribd-Unternehmen logo
1 von 7
Downloaden Sie, um offline zu lesen
Basic Router and Switch Instructions (Cisco Devices)
Basic Device Connection
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
Write Erasing Configurations (Switches and Routers)
1. Connect to the device as listed in Basic Device Connection
2. At the prompt, type enable and press <Enter>
3. Type write erase and press <Enter> twice (Once to enter the command and a second time to
confirm). This will remove the startup configuration from the device, but a restart will be
required to load the defaults in after the write erase.
a. For 2950 & 3560 Switches, an additional step to remove the vlan.dat file is necessary to
remove any VLAN configurations located on the flash memory.
i. type show flash: <Enter>
ii. delete flash:vlan.dat <Enter>
4. Finally, reload the default information to the device.
a. At the prompt: reload <Enter><Enter> and select no when asked to save the
configuration.
Password Recovery
Router Password Recovery (2800, 2600, 1200)
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.
1. Power off the device.
2. Power the device back on and use the break command <CTRL> + <C> to stop the boot process
3. You should see a rommon prompt (‘<’). If you do not, repeat steps 1 and 2.
4. At the prompt, type confreg 0x2142 <ENTER>. This tells the router to ignore the startup
configuration.
5. Now boot the router, type boot <ENTER>
6. Once booted, complete the Write Erase instructions.
7. Final step, after reload, the device will enter rommon mode again.
However when it reload enter rommon again using the break sequence and type confreg
0x2102, then boot.
Router Password Recovery (2514)
1. Power off the device.
2. Power the device back on and use the break command <CTRL> + <C> to stop the boot process
3. You should see a rommon prompt (‘<’). If you do not, repeat steps 1 and 2.
4. Type o <Enter> to see the current configuration register
5. Type o/r 0x2142 <Enter>
6. Type i to reboot the router and load the IOS
7. Type enable and then write erase
8. This step may require multiple reboots. From the putty or terminal window, and send a special
command of break to the session. This should put you in configure terminal mode (i.e.
rommon). If it does not, reboot and send the break again. Once in the correct mode, type
config-register 0x2102 <Enter>.
9. Save the configuration and reload by issuing the commands:
Copy running-config startup-config <Enter>
Reboot <Enter>
Switch Password Recovery (2950, 3560)
1. Connect to the device via the console port.
2. Push in and hold the mode button to power cycle the switch until you see the switch: prompt.
3. Issue the flash_init command.
4. Use the dir flash command to see all the files on the switch. To remove the configuration and
vlans (and thus the password), remove the following files: config.text, and vlan.dat.
Issue the commands: delete flash:config.text <Enter>
Next, enter: delete flash:vlan.dat <Enter>
5. Finally, type boot <Enter> and the switch will reset with a default configuration.
More information on the password recovery can be found at
http://cisco.com/en/US/products/sw/iosswrel/ps1831/products_tech_note09186a00801746e6.shtml
Switch Password Recovery (3500XL)
1. Power off the device.
2. Power the device on, while holding the button on the front left of the device. This will put you
in rommon mode (switch:)
3. Type flash_init <Enter>
4. Type dir flash: to find the name of the config file
5. Type rename flash:config.text flash:config.old
6. Type boot
Switch VLAN Creation
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
Saving Configuration to TFTP Server (configuration backup)
A backup copy of a configuration for a device can be made to allow the saving of a configuration for
reloading or use on a compatible device. You must have a TFTP Server setup and configured for this
option and know the IP address of the TFTP server. On the selected device:
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.
Loading an IOS to a device from a TFTP Server
This option will be used to restore an IOS version to a device or to load a new IOS to a device. A TFTP
server must be configured and the DNS name / IP address known.
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.
Determining the VLAN ports of a switch
You may need to determine what ports on a switch are in specific vlans.
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)
Creation and Setup of a TFTP Server
A TFTP server can easily be created on any Windows Server or desktop using the following
instructions. You will need to download a free program called TFTPD32 to accomplish this task.
1. Download Tftpd32 3.35
2. Install Tftpd32 using the default options and start it running.
3. As shown in the screen shot, all you will need to do, is configure the following:
a. Where the files are stored on the computer / server
b. The IP address of your computer that the device will attempt to contact
4. Once configured, you’re TFTP server is ready to send and receive IOS and configuration files.

Weitere ähnliche Inhalte

Was ist angesagt?

Nat mikrotik
Nat mikrotikNat mikrotik
Nat mikrotiklouisraj
 
How to access the Netapp cluster mode 8.2 through CLI (command mode)
How to access the Netapp cluster mode 8.2 through CLI (command mode)How to access the Netapp cluster mode 8.2 through CLI (command mode)
How to access the Netapp cluster mode 8.2 through CLI (command mode)Saroj Sahu
 
managing your network environment
managing your network environmentmanaging your network environment
managing your network environmentscooby_doo
 
Saad baig practical file
Saad baig practical fileSaad baig practical file
Saad baig practical fileSaadBaig33
 
DVR Networking: How to Connect Your DVR to the LAN
DVR Networking: How to Connect Your DVR to the LANDVR Networking: How to Connect Your DVR to the LAN
DVR Networking: How to Connect Your DVR to the LANChristian Watson
 
How to shutdown the Netapp SAN 8.3 and 9.2 version
How to shutdown the Netapp SAN 8.3 and 9.2 versionHow to shutdown the Netapp SAN 8.3 and 9.2 version
How to shutdown the Netapp SAN 8.3 and 9.2 versionSaroj Sahu
 
How to shutdown and power up of the netapp cluster mode storage system
How to shutdown and power up of the netapp cluster mode storage systemHow to shutdown and power up of the netapp cluster mode storage system
How to shutdown and power up of the netapp cluster mode storage systemSaroj Sahu
 
Setting up port forwarding on a router
Setting up port forwarding on a routerSetting up port forwarding on a router
Setting up port forwarding on a routerKim Harvey
 
Use of administrative privilege levels in netapp cluster 8.x
Use of administrative privilege levels in netapp cluster 8.xUse of administrative privilege levels in netapp cluster 8.x
Use of administrative privilege levels in netapp cluster 8.xSaroj Sahu
 
Chapter5ccna
Chapter5ccnaChapter5ccna
Chapter5ccnarobertoxe
 
NetSim Technology Library - Emulator
NetSim Technology Library - EmulatorNetSim Technology Library - Emulator
NetSim Technology Library - EmulatorVishal Sharma
 

Was ist angesagt? (17)

test
testtest
test
 
Nat mikrotik
Nat mikrotikNat mikrotik
Nat mikrotik
 
How to access the Netapp cluster mode 8.2 through CLI (command mode)
How to access the Netapp cluster mode 8.2 through CLI (command mode)How to access the Netapp cluster mode 8.2 through CLI (command mode)
How to access the Netapp cluster mode 8.2 through CLI (command mode)
 
managing your network environment
managing your network environmentmanaging your network environment
managing your network environment
 
Saad baig practical file
Saad baig practical fileSaad baig practical file
Saad baig practical file
 
DVR Networking: How to Connect Your DVR to the LAN
DVR Networking: How to Connect Your DVR to the LANDVR Networking: How to Connect Your DVR to the LAN
DVR Networking: How to Connect Your DVR to the LAN
 
How to shutdown the Netapp SAN 8.3 and 9.2 version
How to shutdown the Netapp SAN 8.3 and 9.2 versionHow to shutdown the Netapp SAN 8.3 and 9.2 version
How to shutdown the Netapp SAN 8.3 and 9.2 version
 
How to shutdown and power up of the netapp cluster mode storage system
How to shutdown and power up of the netapp cluster mode storage systemHow to shutdown and power up of the netapp cluster mode storage system
How to shutdown and power up of the netapp cluster mode storage system
 
Setting up port forwarding on a router
Setting up port forwarding on a routerSetting up port forwarding on a router
Setting up port forwarding on a router
 
Pfsense%20%20note
Pfsense%20%20notePfsense%20%20note
Pfsense%20%20note
 
Read me17
Read me17Read me17
Read me17
 
Use of administrative privilege levels in netapp cluster 8.x
Use of administrative privilege levels in netapp cluster 8.xUse of administrative privilege levels in netapp cluster 8.x
Use of administrative privilege levels in netapp cluster 8.x
 
Microcontroller part 3
Microcontroller part 3Microcontroller part 3
Microcontroller part 3
 
Elastix installation
Elastix installationElastix installation
Elastix installation
 
Chapter5ccna
Chapter5ccnaChapter5ccna
Chapter5ccna
 
NetSim Technology Library - Emulator
NetSim Technology Library - EmulatorNetSim Technology Library - Emulator
NetSim Technology Library - Emulator
 
Pws altboot
Pws altbootPws altboot
Pws altboot
 

Ähnlich wie Router and switch basics configuration

Fcm rapid-install-11122-1634210
Fcm rapid-install-11122-1634210Fcm rapid-install-11122-1634210
Fcm rapid-install-11122-1634210raman pattanaik
 
operating and configuring cisco a cisco IOS device
operating and configuring cisco a cisco IOS deviceoperating and configuring cisco a cisco IOS device
operating and configuring cisco a cisco IOS devicescooby_doo
 
Ccna cheat sheet
Ccna cheat sheetCcna cheat sheet
Ccna cheat sheetaromal4frnz
 
Day 6 - Manage CISCO IOS
Day 6 - Manage CISCO IOSDay 6 - Manage CISCO IOS
Day 6 - Manage CISCO IOSanilinvns
 
Manage CISCO IOS
Manage CISCO IOSManage CISCO IOS
Manage CISCO IOSanilinvns
 
Ccna icnd1-labs - exercices
Ccna icnd1-labs - exercicesCcna icnd1-labs - exercices
Ccna icnd1-labs - exercicessaqrjareh
 
Interconnecting cisco networking devices part-1
Interconnecting cisco networking devices part-1Interconnecting cisco networking devices part-1
Interconnecting cisco networking devices part-1DAVID RAUDALES
 
Configuring a cisco 2901 router
Configuring a cisco 2901 routerConfiguring a cisco 2901 router
Configuring a cisco 2901 routerIT Tech
 
manual vvtk camera_st7501
manual vvtk camera_st7501manual vvtk camera_st7501
manual vvtk camera_st7501TSOLUTIONS
 
How to replace Cisco 2960 Switch and up
How to replace Cisco 2960 Switch and upHow to replace Cisco 2960 Switch and up
How to replace Cisco 2960 Switch and upRouter Switch
 
General lab documentation~cisco router configuration
General lab documentation~cisco router configurationGeneral lab documentation~cisco router configuration
General lab documentation~cisco router configurationsayedatif
 
How to recover password on the cisco catalyst fixed configuration layer 2&lay...
How to recover password on the cisco catalyst fixed configuration layer 2&lay...How to recover password on the cisco catalyst fixed configuration layer 2&lay...
How to recover password on the cisco catalyst fixed configuration layer 2&lay...IT Tech
 
Esp8266 wi fi_module_quick_start_guide_v_1.0.4
Esp8266 wi fi_module_quick_start_guide_v_1.0.4Esp8266 wi fi_module_quick_start_guide_v_1.0.4
Esp8266 wi fi_module_quick_start_guide_v_1.0.4Melvin Gutiérrez Rivero
 
Cisco IOS (internetworking operating system)
Cisco IOS (internetworking operating system)Cisco IOS (internetworking operating system)
Cisco IOS (internetworking operating system)Netwax Lab
 

Ähnlich wie Router and switch basics configuration (20)

CCNA CheatSheet
CCNA CheatSheetCCNA CheatSheet
CCNA CheatSheet
 
Fcm rapid-install-11122-1634210
Fcm rapid-install-11122-1634210Fcm rapid-install-11122-1634210
Fcm rapid-install-11122-1634210
 
operating and configuring cisco a cisco IOS device
operating and configuring cisco a cisco IOS deviceoperating and configuring cisco a cisco IOS device
operating and configuring cisco a cisco IOS device
 
Ccna cheat sheet
Ccna cheat sheetCcna cheat sheet
Ccna cheat sheet
 
Cisco CCENT Cram Notes
Cisco CCENT Cram NotesCisco CCENT Cram Notes
Cisco CCENT Cram Notes
 
Day 6 - Manage CISCO IOS
Day 6 - Manage CISCO IOSDay 6 - Manage CISCO IOS
Day 6 - Manage CISCO IOS
 
Manage CISCO IOS
Manage CISCO IOSManage CISCO IOS
Manage CISCO IOS
 
Ccna icnd1-labs - exercices
Ccna icnd1-labs - exercicesCcna icnd1-labs - exercices
Ccna icnd1-labs - exercices
 
Interconnecting cisco networking devices part-1
Interconnecting cisco networking devices part-1Interconnecting cisco networking devices part-1
Interconnecting cisco networking devices part-1
 
Fire Eye Appliance Quick Start
Fire Eye Appliance Quick StartFire Eye Appliance Quick Start
Fire Eye Appliance Quick Start
 
Configuring a cisco 2901 router
Configuring a cisco 2901 routerConfiguring a cisco 2901 router
Configuring a cisco 2901 router
 
manual vvtk camera_st7501
manual vvtk camera_st7501manual vvtk camera_st7501
manual vvtk camera_st7501
 
How to replace Cisco 2960 Switch and up
How to replace Cisco 2960 Switch and upHow to replace Cisco 2960 Switch and up
How to replace Cisco 2960 Switch and up
 
Chapter5ccna
Chapter5ccnaChapter5ccna
Chapter5ccna
 
General lab documentation~cisco router configuration
General lab documentation~cisco router configurationGeneral lab documentation~cisco router configuration
General lab documentation~cisco router configuration
 
Presentation1
Presentation1Presentation1
Presentation1
 
computing networks and operating system
computing networks and operating system computing networks and operating system
computing networks and operating system
 
How to recover password on the cisco catalyst fixed configuration layer 2&lay...
How to recover password on the cisco catalyst fixed configuration layer 2&lay...How to recover password on the cisco catalyst fixed configuration layer 2&lay...
How to recover password on the cisco catalyst fixed configuration layer 2&lay...
 
Esp8266 wi fi_module_quick_start_guide_v_1.0.4
Esp8266 wi fi_module_quick_start_guide_v_1.0.4Esp8266 wi fi_module_quick_start_guide_v_1.0.4
Esp8266 wi fi_module_quick_start_guide_v_1.0.4
 
Cisco IOS (internetworking operating system)
Cisco IOS (internetworking operating system)Cisco IOS (internetworking operating system)
Cisco IOS (internetworking operating system)
 

Kürzlich hochgeladen

ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MIND CTI
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesBoston Institute of Analytics
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyKhushali Kathiriya
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businesspanagenda
 
Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024SynarionITSolutions
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodJuan lago vázquez
 

Kürzlich hochgeladen (20)

ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 

Router and switch basics configuration

  • 1. Basic Router and Switch Instructions (Cisco Devices) Basic Device Connection 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 Write Erasing Configurations (Switches and Routers) 1. Connect to the device as listed in Basic Device Connection 2. At the prompt, type enable and press <Enter> 3. Type write erase and press <Enter> twice (Once to enter the command and a second time to confirm). This will remove the startup configuration from the device, but a restart will be required to load the defaults in after the write erase. a. For 2950 & 3560 Switches, an additional step to remove the vlan.dat file is necessary to remove any VLAN configurations located on the flash memory. i. type show flash: <Enter> ii. delete flash:vlan.dat <Enter> 4. Finally, reload the default information to the device. a. At the prompt: reload <Enter><Enter> and select no when asked to save the configuration. Password Recovery Router Password Recovery (2800, 2600, 1200) 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. 1. Power off the device. 2. Power the device back on and use the break command <CTRL> + <C> to stop the boot process 3. You should see a rommon prompt (‘<’). If you do not, repeat steps 1 and 2. 4. At the prompt, type confreg 0x2142 <ENTER>. This tells the router to ignore the startup configuration. 5. Now boot the router, type boot <ENTER> 6. Once booted, complete the Write Erase instructions. 7. Final step, after reload, the device will enter rommon mode again.
  • 2. However when it reload enter rommon again using the break sequence and type confreg 0x2102, then boot. Router Password Recovery (2514) 1. Power off the device. 2. Power the device back on and use the break command <CTRL> + <C> to stop the boot process 3. You should see a rommon prompt (‘<’). If you do not, repeat steps 1 and 2. 4. Type o <Enter> to see the current configuration register 5. Type o/r 0x2142 <Enter> 6. Type i to reboot the router and load the IOS 7. Type enable and then write erase 8. This step may require multiple reboots. From the putty or terminal window, and send a special command of break to the session. This should put you in configure terminal mode (i.e. rommon). If it does not, reboot and send the break again. Once in the correct mode, type config-register 0x2102 <Enter>. 9. Save the configuration and reload by issuing the commands: Copy running-config startup-config <Enter> Reboot <Enter> Switch Password Recovery (2950, 3560) 1. Connect to the device via the console port. 2. Push in and hold the mode button to power cycle the switch until you see the switch: prompt. 3. Issue the flash_init command. 4. Use the dir flash command to see all the files on the switch. To remove the configuration and vlans (and thus the password), remove the following files: config.text, and vlan.dat. Issue the commands: delete flash:config.text <Enter> Next, enter: delete flash:vlan.dat <Enter> 5. Finally, type boot <Enter> and the switch will reset with a default configuration. More information on the password recovery can be found at http://cisco.com/en/US/products/sw/iosswrel/ps1831/products_tech_note09186a00801746e6.shtml Switch Password Recovery (3500XL) 1. Power off the device. 2. Power the device on, while holding the button on the front left of the device. This will put you in rommon mode (switch:) 3. Type flash_init <Enter> 4. Type dir flash: to find the name of the config file 5. Type rename flash:config.text flash:config.old 6. Type boot
  • 3. Switch VLAN Creation 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
  • 4. Saving Configuration to Flash Depending upon the device, the following commands will be used: 1. Write 2. Copy Run Start 3. Write Memory Saving Configuration to TFTP Server (configuration backup) A backup copy of a configuration for a device can be made to allow the saving of a configuration for reloading or use on a compatible device. You must have a TFTP Server setup and configured for this option and know the IP address of the TFTP server. On the selected device: 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.
  • 5. 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. Loading an IOS to a device from a TFTP Server This option will be used to restore an IOS version to a device or to load a new IOS to a device. A TFTP server must be configured and the DNS name / IP address known. 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.
  • 6. 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. Determining the VLAN ports of a switch You may need to determine what ports on a switch are in specific vlans. 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.
  • 7. 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) Creation and Setup of a TFTP Server A TFTP server can easily be created on any Windows Server or desktop using the following instructions. You will need to download a free program called TFTPD32 to accomplish this task. 1. Download Tftpd32 3.35 2. Install Tftpd32 using the default options and start it running. 3. As shown in the screen shot, all you will need to do, is configure the following: a. Where the files are stored on the computer / server b. The IP address of your computer that the device will attempt to contact 4. Once configured, you’re TFTP server is ready to send and receive IOS and configuration files.