Setting the SGOS default system on the Edge Secure Gateway using the CLI
search cancel

Setting the SGOS default system on the Edge Secure Gateway using the CLI

book

Article ID: 274049

calendar_today

Updated On:

Products

ProxySG Software - SGOS Advanced Secure Gateway Software - ASG

Issue/Introduction

Steps to change the default SGOS image to load in the next upgrade through the command line interface CLI.

Resolution

To change the default system open an SSH or Serial Console session and go to configuration mode.

ProxySG>en
Enable Password:

ProxySG#conf t

 

Once in configuration mode, enter the following commands to view all installed systems: 

ProxySG#(config)installed-systems

ProxySG#(config installed-systems)view
ProxySG Appliance Systems
1. Version: SGOS 7.4.1.1, Release ID: 287291
   Thursday June 29 2023 22:57:31 UTC,
   Attributes: Signed, FIPS capable
   Boot Status: Last boot succeeded, Last Successful Boot: Tuesday September 19 2023 13:33:21 UTC
   Disk Layout: Compatible
2. Version: SGOS 7.3.14.2, Release ID: 286370
   Wednesday June 7 2023 21:36:18 UTC,
   Attributes: Locked, Signed
   Boot Status: Last boot succeeded, Last Successful Boot: Friday September 29 2023 13:43:40 UTC
   Disk Layout: Compatible
3. Version: N/A, Release ID: N/A ( EMPTY )
   No Timestamp,
   Attributes: None
   Boot Status: Unknown, Last Successful Boot: Unknown
   Disk Layout: Unknown
4. Version: N/A, Release ID: N/A ( EMPTY )
   No Timestamp,
   Attributes: None
   Boot Status: Unknown, Last Successful Boot: Unknown
   Disk Layout: Unknown
5. Version: N/A, Release ID: N/A ( EMPTY )
   No Timestamp,
   Attributes: None
   Boot Status: Unknown, Last Successful Boot: Unknown
   Disk Layout: Unknown
Default system to run on next hardware restart: 2
Default replacement being used. (oldest unlocked system)
Current running system: 2
Enforce signed: Enabled
Boot_chain Signature: f285306149a55c4b3d97cfcb8227d223953690592de1d8754106fc65285e6445
Boot_chain Version: v5.31

 

Use the default command to change the system from 2 to 1 in this case

ProxySG#(config installed-systems)default 1
  ok

ProxySG#(config installed-systems)view
ProxySG Appliance Systems
1. Version: SGOS 7.4.1.1, Release ID: 287291
   Thursday June 29 2023 22:57:31 UTC,
   Attributes: Signed, FIPS capable
   Boot Status: Last boot succeeded, Last Successful Boot: Tuesday September 19 2023 13:33:21 UTC
   Disk Layout: Compatible
2. Version: SGOS 7.3.14.2, Release ID: 286370
   Wednesday June 7 2023 21:36:18 UTC,
   Attributes: Locked, Signed
   Boot Status: Last boot succeeded, Last Successful Boot: Friday September 29 2023 13:43:40 UTC
   Disk Layout: Compatible
3. Version: N/A, Release ID: N/A ( EMPTY )
   No Timestamp,
   Attributes: None
   Boot Status: Unknown, Last Successful Boot: Unknown
   Disk Layout: Unknown
4. Version: N/A, Release ID: N/A ( EMPTY )
   No Timestamp,
   Attributes: None
   Boot Status: Unknown, Last Successful Boot: Unknown
   Disk Layout: Unknown
5. Version: N/A, Release ID: N/A ( EMPTY )
   No Timestamp,
   Attributes: None
   Boot Status: Unknown, Last Successful Boot: Unknown
   Disk Layout: Unknown
Default system to run on next hardware restart: 1
Default replacement being used. (oldest unlocked system)
Current running system: 2
Enforce signed: Enabled
Boot_chain Signature: f285306149a55c4b3d97cfcb8227d223953690592de1d8754106fc65285e6445
Boot_chain Version: v5.31