explanation on the switch sw configuration

  • 0
  • 1
  • Question
  • Updated 1 year ago
  • Answered

Hi All,

I am new to the extreme switch configuration. Can u pls help in understanding the sh switch command ,

Current State:    OPERATIONAL            
Image Selected:   primary                
Image Booted:     primary                
Primary ver:               
Secondary ver:   

Config Selected:  secondary.cfg                                       
Config Booted:    secondary.cfg                                       

secondary.cfg     Created by ExtremeXOS version

What's the difference between Image Selected/Image booted and config selected/config booted.



Photo of Mayur Rakthe

Mayur Rakthe

  • 40 Points

Posted 1 year ago

  • 0
  • 1
Photo of Ronald Dvorak

Ronald Dvorak, Embassador

  • 50,114 Points 50k badge 2x thumb
Hi Mayur,

Image Selected = the image/software that is used the next time i.e. after a reboot
Image Booted - the image that was used during the last reboot/boot of the device = currently loaded software

The same goes for the configuration files.

For example you'd now load a newer software in the secondary image slot and in a week choose the image slot as the primary and reboot the device to upgrade the switch.
Photo of Narayanan, Karthikeyan

Narayanan, Karthikeyan, Employee

  • 912 Points 500 badge 2x thumb
Hi Mayur,

EXOS store two versions of code in RAM. The two versions are Primary and Secondary.
The show switch command lets you see what versions of software are loaded into the switch,

version the switch is running on (Image Booted) and what version will be loaded the next time the switch boots (Image Selected).

Photo of Mayur Rakthe

Mayur Rakthe

  • 40 Points

thanks marayanan for the reply.

Photo of Mayur Rakthe

Mayur Rakthe

  • 40 Points

Thanks a lot Ronald for the quick reply:).

Just a follow up question, as I am popped with lots of query, eager to learn more on the subject:)

Config Selected:  secondary.cfg  --->  . This means that the current configuration is being read from the secondary sw ver files. Even though the sw is being used is of primary(i mean the image). Am I right


Photo of Karthik Mohandoss

Karthik Mohandoss, Employee

  • 6,058 Points 5k badge 2x thumb
Hi Mayur,

The .CFG file is the configuration file it is just that the name is secondary it can be primary, Test,etc...
Regardless of the partition the switch booted the same configuration will be used. 

I hope this helps!