SWITCH-Boot Process
SWITCH-Boot Process
SWITCH-CONFIG MODES
TRAINER : RAMU CH
SWITCH EXTERNAL (VISIBLE) HARDWARE
• CONSOLE PORT
• POWER CONNECTIVITY
SWITCH PORTS & CONVENTION
• 10Gig Port
• SYST
• RPS
• STAT
• DUPLEX
• SPEED
• POE
• UTIL
• MASTER
INTERNAL HARDWARE
https://www.youtube.com/watch?v=v88Y9x_Owyo
https://www.youtube.com/watch?v=_7Oq52yDNv0
Network Racks
Console connection to Switch
SWITCH INTERNAL COMPONENTS
Types of memory
Generally Cisco routers and switches contain four types of
memory:
• Configuration Files
- Startup configuration File
- Running configuration File
• VLAN Database
Types of memory
Read-Only Memory (ROM):
ROM stores the Switch’s
• bootstrap startup program,
• Mini operating system software, and
• power-on diagnostic test programs (POST).
Types of memory
Flash Memory:
Generally referred to simply as “flash”,
• the IOS images are held here.
• Flash is erasable and reprogrammable ROM.
• Flash memory content is retained by the router/Switch on reload.
• Flash memory is read / writable , permanent storage.
• The bootstrap program (ROMmon) in ROM runs Power-On Self Test (POST)
• POST checks the CPU subsystem. It tests the CPU, DRAM, and the portion of the flash device that makes up the flash file system.
• The boot loader is a small program stored in ROM and is run immediately after POST successfully completes.
• The boot loader initializes the flash file system on the system board
• The bootstrap (Boot Loader) checks the Configuration Register value to specify where to load the IOS.
• The switch attempts to automatically boot by using information in the BOOT environment variable. If this variable is not set, the switch attempts to loadin
hexadecimal),
• the router/switch first looks for “boot system” commands in startup-config file.
• If it finds these commands, it will run boot system commands in order they appear in startup-config to locate the IOS.
• If not, the IOS image is loaded from Flash . If the IOS is not found in Flash, the bootstrap can try to load the IOS from TFTP server or from ROM (mini-IOS).
• Step 1. First, the switch loads a power-on self-test (POST) program stored in ROM. POST checks the CPU subsystem. It tests the CPU, DRAM, and the portion of
the flash device that makes up the flash file system.
• Step 2. Next, the switch loads the boot loader software. The boot loader is a small program stored in ROM and is run immediately after POST successfully
completes.
• Step 3. The boot loader performs low-level CPU initialization. It initializes the CPU registers that control where physical memory is mapped, the quantity of
memory, and memory speed.
• Step 4. The boot loader initializes the flash file system on the system board.
• Step 5. Finally, the boot loader locates and loads a default IOS operating system software image into memory and hands control of the switch over to the IOS.
• The boot loader finds the Cisco IOS image on the switch using the following process:
• The switch attempts to automatically boot by using information in the BOOT environment variable.
• If this variable is not set, the switch attempts to load and execute the first executable file it can by performing a recursive, depth-first search throughout the
flash file system.
• In a depth-first search of a directory, each encountered subdirectory is completely searched before continuing the search in the original directory.
• On Catalyst 2960 Series switches, the image file is normally contained in a directory that has the same name as the image file (excluding the .bin file extension).
• The IOS operating system then initializes the interfaces using the Cisco IOS commands found in the configuration file, startup configuration, which is stored in
NVRAM.
Boot Process
• After the IOS is found, it is loaded into RAM.