Faelin Landy
    • Create new note
    • Create a note from template
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Write
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
      • Invitee
    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Engagement control
    • Transfer ownership
    • Delete this note
    • Save as template
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
Versions and GitHub Sync Engagement control Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
Invitee
Publish Note

Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

Your note will be visible on your profile and discoverable by anyone.
Your note is now live.
This note is visible on your profile and discoverable online.
Everyone on the web can find and read all notes of this public team.
See published notes
Unpublish note
Please check the box to agree to the Community Guidelines.
View profile
Engagement control
Commenting
Permission
Disabled Forbidden Owners Signed-in users Everyone
Enable
Permission
  • Forbidden
  • Owners
  • Signed-in users
  • Everyone
Suggest edit
Permission
Disabled Forbidden Owners Signed-in users Everyone
Enable
Permission
  • Forbidden
  • Owners
  • Signed-in users
Emoji Reply
Enable
Import from Dropbox Google Drive Gist Clipboard
   owned this note    owned this note      
Published Linked with GitHub
Subscribed
  • Any changes
    Be notified of any changes
  • Mention me
    Be notified of mention me
  • Unsubscribe
Subscribe
--- title: Device Initialization tags: Cisco IOS, networking, manual, reference, router, switch, technical --- <header> <h6>Device Initialization</h6> > [toc] </header> --- # Onboard LED Indicators <div class="inline"> <div class="container"> <img style="min-width:380px;" src="https://i.imgur.com/RQagApq.png" title="Switch LED Diagram" alt="Switch LED Diagram"/> <img style="max-height:250px;" src="https://i.imgur.com/bZ2hPUq.png" title="Switch LED Photo" alt="Switch LED Photo"/> </div> <div>Status LEDs and the Mode button for a Cisco Catalyst 2960 Switch.</div> </div> <dl class='ref-list'> <dt> – System (SYST)</dt> <dd>Shows whether the system is receiving power and is functioning properly. <ul> <li>If the LED is <span class='off'>off</span>, it means the system is not powered on.</li> <li>If the LED is <span class='green'>green</span>, the system is operating normally.</li> <li>If the LED is <span class='amber'>amber</span>, the system is receiving power but is not functioning properly.</li> </ul> </dd> <dt> – Redundant Power System (RPS)</dt> <dd>Shows the RPS status. <ul> <li>If the LED is <span class='off'>off</span>, the RPS is off, or it is not properly connected.</li> <li>If the LED is <span class='green'>green</span>, the RPS is connected and ready to provide backup power.</li> <li>If the LED is <span class='green blink'>blinking green</span>, the RPS is connected but is unavailable because it is providing power to another device.</li> <li>If the LED is <span class='amber'>amber</span>, the RPS is in standby mode, or in a fault condition.</li> <li>If the LED is <span class='amber blink'>blinking amber</span>, the internal power supply in the switch has failed, and the RPS is providing power.</li> </ul> </dd> <dt> – Port Status (STAT)</dt> <dd>Indicates that the port status mode is selected when the LED is <span class='green'>green</span>. This is the default mode. When selected, the port LEDs will display colors with different meanings: <ul> <li>If the LED is <span class='off'>off</span>, there is no link, or the port was administratively shut down.</li> <li>If the LED is <span class='green'>green</span>, a link is present. If the LED is <span class='green blink'>blinking green</span>, there is activity and the port is sending or receiving data.</li> <li>If the LED is alternating <span class='green-amber'>green-amber</span>, there is a link fault.</li> <li>If the LED is <span class='amber'>amber</span>, the port is blocked to ensure that a loop does not exist in the forwarding domain and is not forwarding data (typically, ports will remain in this state for the first 30 seconds after being activated). </li> <li>If the LED is <span class='amber blink'>blinking amber</span>, the port is blocked to prevent a possible loop in the forwarding domain.</li> </ul> </dd> <dt> – Port Duplex (DUPLX)</dt> <dd>Indicates that the port duplex mode is selected when the LED is <span class='green'>green</span>. When selected, the port LEDs will display colors with different meanings: <ul> <li>If the LED is <span class='off'>off</span>, the port is in half-duplex mode.</li> <li>If the LED is <span class='green'>green</span>, the port is in full-duplex mode.</li> </ul> </dd> <dt> – Port Speed (SPEED)</dt> <dd>Indicates that the port speed mode is selected. When selected, the port LEDs will display colors with different meanings. <ul> <li>If the LED is <span class='off'>off</span>, the port is operating at 10 Mbps.</li> <li>If the LED is <span class='green'>green</span>, the port is operating at 100 Mbps.</li> <li>If the LED is <span class='green blink'>blinking green</span>, the port is operating at 1000 Mbps.</li> </ul> </dd> <dt> – Power over Ethernet Mode (PoE)</dt> <dd>If PoE is supported, a PoE mode LED will be present. <ul> <li>If the LED is <span class='off'>off</span>, it indicates the PoE mode is not selected and that none of the ports have been denied power or placed in a fault condition.</li> <li>If the LED is <span class='amber blink'>blinking amber</span>, the PoE mode is not selected but at least one of the ports has been denied power or has a PoE fault.</li> </ul> </dd> <dd>When the LED is <span class='green'>green</span>, it indicates the PoE mode is selected and the port LEDs will display colors with different meanings. <ul> <li>If the port LED is <span class='off'>off</span>, the PoE is off.</li> <li>If the port LED is <span class='green'>green</span>, the PoE is on.</li> <li>If the port LED is alternating <span class='green-amber'>green-amber</span>, PoE is denied because providing power to the powered device will exceed the switch power capacity.</li> <li>If the port LED is <span class='amber blink'>blinking amber</span>, PoE is off because of a fault.</li> <li>If the port LED is solid <span class='amber'>amber</span>, PoE for the port has been disabled.</li> </ul> </dd> </dl> :::info The <span class='emphasis'>mode</span> button (**7**) is used to toggle through port status, port duplex, port speed, and if supported, the Power over Ethernet (PoE) status of the port LEDs (**8**). ::: # Boot Sequence After a Cisco switch is powered on, it goes through the following five-step boot sequence: <dl class='step-list'> <dt>Power-On Self-Test program (POST)</dt> <dd>POST tests the CPU, DRAM, and the portion of the flash device that makes up the flash file system.</dd> <dt>Boot-loader software initializes</dt> <dd>The boot-loader is a small program stored in ROM that is run immediately after POST successfully completes.</dd> <dt>Boot-loader performs low-level CPU initialization</dt> <dd>The boot-loader initializes the switch's CPU registers, which control where physical memory is mapped, the quantity of memory, and its speed.</dd> <dt>Boot-loader initializes the flash file system on the system board</dt> <dt>Boot-loader starts IOS</dt> <dd>The default IOS operating system software image is located and loaded into memory, after which control of the switch is handed over to the IOS.</dd> </dl> 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 find. The IOS operating system then initializes the interfaces using the Cisco IOS commands found in the startup-config file. The startup-config file is called config.text and is located in flash. ## Boot System Command the BOOT environment variable is set using the **`boot system`** global configuration mode command. ```pug S1(config)# boot system flash:/c2960-lanbasek9-mz.150-2.SE/c2960-lanbasek9-mz.150-2.SE.bin ``` The following table defines each part of the **`boot system`** command: | Command | Definition | | ------- | ---------- | | <div class='mono'>**boot system**</div> | The main command | | <div class='mono'>**flash:**</div> | The storage device | | <div class='mono'>**c2960-lanbasek9-mz.150-2&#46;SE/**</div> | The path to the file system | | <div class='mono'>**c2960-lanbasek9-mz.150-2&#46;SE.bin**</div> | The IOS file name | :::success Use the command **`show boot`** to see what the current IOS boot file is set to. ::: # Recovering from a System Crash The boot loader provides access into the switch if the operating system cannot be used because of missing or damaged system files. The boot loader has a command-line interface that provides access to the files stored in flash memory. The boot loader can be accessed through a console connection following these steps: <ol class='step-list'> <li>Connect a PC by console cable to the switch console port. Configure terminal emulation software to connect to the switch.</li> <li>Unplug the switch power cord.</li> <li>Reconnect the power cord and, within 15 seconds, press and hold down the Mode button while the System LED is still flashing green.</li> <li>Continue holding the <span class='emphasis'>mode</span> button until the System LED turns briefly amber and then solid green; then release the <span class='emphasis'>mode</span> button.</li> <li>The boot loader <code><b>switch:</b></code> prompt appears in the terminal emulation software on the PC.</li> </ol> <br> Type the **`help`** or **`?`** at the boot loader prompt to view a list of available commands. By default, the switch attempts to automatically boot up by using information in the BOOT environment variable. To view the path of the switch BOOT environment variable type the **`set`** command. Then, initialize the flash file system using the **`flash_init`** command to view the current files in flash, as shown in the output. ```cmake switch: set # BOOT=flash:/c2960-lanbasek9-mz.122-55.SE7/c2960-lanbasek9-mz.122-55.SE7.bin # <...output omitted...> switch: flash_init # Initializing Flash... # flashfs[0]: 2 files, 1 directories # flashfs[0]: 0 orphaned files, 0 orphaned directories # flashfs[0]: Total bytes: 32514048 # flashfs[0]: Bytes used: 11838464 # flashfs[0]: Bytes available: 20675584 # flashfs[0]: flashfs fsck took 10 seconds. # ...done Initializing Flash. ``` After flash has finished initializing you can enter the dir flash: command to view the directories and files in flash, as shown in the output. ```cmake switch: dir flash: # Directory of flash:/ # 2 -rwx 11834846 c2960-lanbasek9-mz.150-2.SE8.bin # 3 -rwx 2072 multiple-fs ``` Enter the **`BOOT=flash`** command to change the BOOT environment variable path the switch uses to load the new IOS in flash. To verify the new BOOT environment variable path, issue the set command again. Finally, to load the new IOS type the **`boot`** command without any arguments, as shown in the output. ```cmake switch: BOOT=flash:c2960-lanbasek9-mz.150-2.SE8.bin switch: set # BOOT=flash:c2960-lanbasek9-mz.150-2.SE8.bin # <...output omitted...> switch: boot ``` :::info The boot loader commands support initializing flash, formatting flash, installing a new IOS, changing the BOOT environment variable and recovery of lost or forgotten passwords. ::: --- --- {%hackmd 7PGmjAHeTXak2VUM3iw5Wg %} <head> <style> /*/ * ANIMATIONS / COLOR EFFECTS /*/ .off { color: DimGrey; font-weight: bold; } .green { color: Green; font-weight: 700; } .amber { color: Orange; font-weight: 600; } .green-amber { color: Green; font-weight: 600; } .blink { animation-name: blink; animation-duration: 200ms; animation-timing-function: cubic-bezier(.8,0,.8,1); animation-iteration-count: infinite; animation-direction: alternate; } @keyframes blink { from { opacity: 1; } to { opacity: 0.7; } } .green-amber { animation-name: fade; animation-duration: 750ms; animation-timing-function: cubic-bezier(1,0,0,1); animation-iteration-count: infinite; animation-direction: alternate; } @keyframes fade { from { color: Green; } to { color: Orange; } } </style> </head>

Import from clipboard

Paste your markdown or webpage here...

Advanced permission required

Your current role can only read. Ask the system administrator to acquire write and comment permission.

This team is disabled

Sorry, this team is disabled. You can't edit this note.

This note is locked

Sorry, only owner can edit this note.

Reach the limit

Sorry, you've reached the max length this note can be.
Please reduce the content or divide it to more notes, thank you!

Import from Gist

Import from Snippet

or

Export to Snippet

Are you sure?

Do you really want to delete this note?
All users will lose their connection.

Create a note from template

Create a note from template

Oops...
This template has been removed or transferred.
Upgrade
All
  • All
  • Team
No template.

Create a template

Upgrade

Delete template

Do you really want to delete this template?
Turn this template into a regular note and keep its content, versions, and comments.

This page need refresh

You have an incompatible client version.
Refresh to update.
New version available!
See releases notes here
Refresh to enjoy new features.
Your user state has changed.
Refresh to load new user state.

Sign in

Forgot password

or

By clicking below, you agree to our terms of service.

Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
Wallet ( )
Connect another wallet

New to HackMD? Sign up

Help

  • English
  • 中文
  • Français
  • Deutsch
  • 日本語
  • Español
  • Català
  • Ελληνικά
  • Português
  • italiano
  • Türkçe
  • Русский
  • Nederlands
  • hrvatski jezik
  • język polski
  • Українська
  • हिन्दी
  • svenska
  • Esperanto
  • dansk

Documents

Help & Tutorial

How to use Book mode

Slide Example

API Docs

Edit in VSCode

Install browser extension

Contacts

Feedback

Discord

Send us email

Resources

Releases

Pricing

Blog

Policy

Terms

Privacy

Cheatsheet

Syntax Example Reference
# Header Header 基本排版
- Unordered List
  • Unordered List
1. Ordered List
  1. Ordered List
- [ ] Todo List
  • Todo List
> Blockquote
Blockquote
**Bold font** Bold font
*Italics font* Italics font
~~Strikethrough~~ Strikethrough
19^th^ 19th
H~2~O H2O
++Inserted text++ Inserted text
==Marked text== Marked text
[link text](https:// "title") Link
![image alt](https:// "title") Image
`Code` Code 在筆記中貼入程式碼
```javascript
var i = 0;
```
var i = 0;
:smile: :smile: Emoji list
{%youtube youtube_id %} Externals
$L^aT_eX$ LaTeX
:::info
This is a alert area.
:::

This is a alert area.

Versions and GitHub Sync
Get Full History Access

  • Edit version name
  • Delete

revision author avatar     named on  

More Less

Note content is identical to the latest version.
Compare
    Choose a version
    No search result
    Version not found
Sign in to link this note to GitHub
Learn more
This note is not linked with GitHub
 

Feedback

Submission failed, please try again

Thanks for your support.

On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

Please give us some advice and help us improve HackMD.

 

Thanks for your feedback

Remove version name

Do you want to remove this version name and description?

Transfer ownership

Transfer to
    Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

      Link with GitHub

      Please authorize HackMD on GitHub
      • Please sign in to GitHub and install the HackMD app on your GitHub repo.
      • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
      Learn more  Sign in to GitHub

      Push the note to GitHub Push to GitHub Pull a file from GitHub

        Authorize again
       

      Choose which file to push to

      Select repo
      Refresh Authorize more repos
      Select branch
      Select file
      Select branch
      Choose version(s) to push
      • Save a new version and push
      • Choose from existing versions
      Include title and tags
      Available push count

      Pull from GitHub

       
      File from GitHub
      File from HackMD

      GitHub Link Settings

      File linked

      Linked by
      File path
      Last synced branch
      Available push count

      Danger Zone

      Unlink
      You will no longer receive notification when GitHub file changes after unlink.

      Syncing

      Push failed

      Push successfully