Skip navigation

Working with configuration files, delete all and reset system factory-default

What information is stored in the GigaVUE configuration files?

Answer: When commands are entered in the GigaVUE CLI, they become immediately active in the GigaVUE's temporary RAM memory. Some commands are automatically stored in the permanent flash memory and some commands need to be manually stored in the permanent flash memory using the config save command. This document will defined what parameters get saved automatically and what parameters need to be saved manually.

There are two areas for storage in the flash memory: the System Area (automatic save) and the User Area (manual save). The configuration files (.cfg) are stored in the User Area of the flash memory.

System Area of Flash: In general everything that is shown in the output of the show system command, all the server definitions, the port-aliases and the local user account database are stored in the System Area of flash immediately upon execution without having to execute the config save command. These items are not affected by a delete all command nor by a reset system factory-default command.

Exception: The reset system factory-default command will reset the port-aliases to null.

Here is a sample output of the show system command:
System Configuration
------------------------------------------------------------------------------------
Name            :
Description     :
Shell prompt    : GV420-220
Special banner  : Disabled,  Filename=bannerDISA.txt
Inventory codes : Absent
SW ver/file/d/t : 5.0.06/gvb5006/Oct  1 2008/16:22:14
Boot file       : rbgvs420_2.bin
Log Level       : info
---------------- -------------------------------------------------------------------
Bootup d/t      : 10-02-08/09:29:46
System d/t      : 10-03-08/10:09:09
Time Zone       : UTC-08:00
DST/onset/offset: Enabled/03-11-15:05/11-11-14:10
SNTP            : Enabled
---------------- -------------------------------------------------------------------
Port lock level : Medium
Root account    : Enabled
Main module     : Giga420MB  S/N=1090-0032, rev=H2
Eth Mgmt port   : MAC=00:1D:AC:01:00:20, MTU=1518, link=1
                : autoneg=1, speed=100 Mbps, duplex=full
Chassis         : S/N=10220,     rev=ABC
Midplane        : S/N=1010-0001, rev=C0
---------------- -------------------------------------------------------------------
Slot 1          : GigaMgmt-FO S/N=1150-0010, rev=A0
Slot 2          : GigaPORT    S/N=0020-0001, rev=B0
Slot 3          : GigaPORT    S/N=0020-1030, rev=C0
Slot 4          : Absent
Slot 5          : Absent
Slot x1         : GigaLINK-CU S/N=0013-0276, rev=D0
Slot x2         : GigaLINK-CU S/N=0013-0234, rev=D0
Slot x3         : GigaLINK-XR S/N=1140-0011,  rev=D1
Slot x4         : Absent
---------------- -------------------------------------------------------------------
IP addr/subnet  : 192.168.1.220/255.255.255.0, gateway=192.168.1.1
IPv6            : Enabled
IPv6 addr       : fe80:1::21d:acff:fe01:20
DHCP4           : Disabled,  timeout=10 seconds
---------------- -------------------------------------------------------------------
SSH2            : Disabled (telnet access is enabled)
Host key (DSS)  : Fingerprint=md5 40:f8:88:54:f8:0e:f9:5c:ac:8e:54:5c:68:b9:23:77
Host key (RSA)  : Fingerprint=md5 42:b4:f5:cf:c6:bd:da:19:86:a3:0f:5a:ea:eb:20:ee
---------------- -------------------------------------------------------------------
Remote timeout  : 86400 seconds
AAA (serial)    : Local
AAA (Ethernet)  : Local
Console baud    : 115200
Console width   : 80 characters
---------------- -------------------------------------------------------------------
Stacking mode   : Slave
Stacking info   : Box_ID=4,  x1_bid=1 2 3,  x2_bid=5 6
Active_link     : x1
x1              : Type=GigaLINK-CU  S/N=0013-0276,  rev=D0
x2              : Type=GigaLINK-CU  S/N=0013-0234,  rev=D0

The following items are also stored in the System Area of flash without having to execute the config save command:

TACACS Servers
RADIUS Servers
SNMP Servers
SNMP Trap Settings
SNTP Servers
Syslog Server
Port-Aliases
Local User Accounts
UDA Offsets (GV420 only)

User Area of Flash: The configuration files (.cfg) are stored in the User area of the flash memory. The following items are stored in the configuration (.cfg) file. When the commands listed below are entered into the GigaVUE CLI, they enter the RAM memory of the GigaVUE and are immediately active. To store these settings permanently in the GigaVUE’s flash memory, the config save command must be used.

port-type              
port-params       
connect 
xbconnect            
map       
xbmap
filter     
port-filter            
xbport-filter       
app-filter             
port-appfilter

The system allows for up to five user configuration files to be stored. These may be listed using the show file command:
-------------------------------------------------------------
  Filename           : config1.cfg
  Software version : 5.0.06
  Size             : 64228 (bytes)
  Last restored    : No
  Next boot file   :  No
  Last Modified     : 10-03-08/10:42:21
  Box ID           : 1
  Description      :
-------------------------------------------------------------
  Filename           : config2.cfg
  Software version : 5.0.06
  Size             : 64228 (bytes)
  Last restored    : No
  Next boot file   : No
  Last Modified     : 10-03-08/10:42:38
  Box ID           : 1
  Description      :
-------------------------------------------------------------
  Filename           : config3.cfg
  Software version : 5.0.06
  Size             : 64228 (bytes)
  Last restored    : No
  Next boot file   : No
  Last Modified     : 10-03-08/10:43:05
  Box ID           : 1
  Description      :
-------------------------------------------------------------
  Filename           : config4.cfg
  Software version : 5.0.06
  Size             : 64228 (bytes)
  Last restored    : No
  Next boot file   : No
  Last Modified     : 10-03-08/10:43:22
  Box ID           : 1
  Description      :
-------------------------------------------------------------
  Filename           : config5.cfg
  Software version : 5.0.04
  Size             : 64228 (bytes)
  Last restored    : Yes
  Next boot file   : Yes
  Last Modified     : 10-02-08/09:51:24
  Box ID           : 1
  Description      :

For Support contact Gigamon Systems by email at support@gigamon.com or call 408-263-2024.

What is the Next Boot (NB) flag and how does it work?

Answer: The Next Boot flag indicates which file will be restored into RAM memory the next time the system is rebooted. You cannot delete the file that has the Next Boot flag set to yes. You may move the Next Boot flag to another filename by three methods.

  1. Use the config file  filename.cfg  nb command
  2. Append nb to the end of the config save command, config save  filename.cfg  nb.
  3. Answer y when prompted to set the NB flag to yes during the config restore command.

Example:
config restore config2.cfg

Warning: Current settings for system, ports, connectivity, filters will be removed -   continue (y/n)? y

Set the next boot(NB) flag for this file - continue (y/n)? y

For Support contact Gigamon Systems by email at support@gigamon.com or call 408-263-2024.

What is the Last Restored flag and how does that work?

Answer: The show file command output also displays which file was last restored into memory. The Last Restored flag will be set to yes in one of two ways:

  1. The NB flag was set to yes and the system was rebooted.
  2. The config restore command was used to load the configuration into memory.

For Support contact Gigamon Systems by email at support@gigamon.com or call 408-263-2024.

What items get deleted with the Delete All command?

Answer: The delete all command does not affect what is stored in any of the configuration files. The delete all command only affects what is in the active RAM memory of the GigaVUE. The delete all command will delete all the same items that are stored in the configuration file (User Area) except the port-parameter settings.
port-type        connect           xbconnect       map     xbmap 
filter    port-filter       xbport-filter   app-filter        port-appfilter
The System Area of the flash memory (defined in Question 1 above) is not affected by the delete all command.

For Support contact Gigamon Systems by email at support@gigamon.com or call 408-263-2024.

 

What items get reset with the Reset System Factory Default command?

Answer: The reset system factory-default command is equivalent to executing a delete all, config save and reset system. So the reset system factory-default does affect the configuration file that has the Next Boot flag set to Yes. The only difference in which parameters that are affected between the delete all command and the reset system factory-default command are listed below:

GigaVUE-420 and GigaVUE-MP

 

delete all

reset system factory-default

Medium

no change

changes

Autoneg

no change

no change

Speed

no change

no change

Duplex

no change

no change

ForceLinkUp

no change

changes

ib_cable_len

no change

changes

Port-alias

no change

changes

GigaVUE-2420

 

delete all

reset system factory-default

Medium

no change

changes

Autoneg

no change

changes

Speed

no change

changes

Duplex

no change

changes

ForceLinkUp

changes

changes

ib_cable_len

no change

changes

Port-alias

no change

changes

For Support contact Gigamon Systems by email at support@gigamon.com or call 408-263-2024.

How do I delete the stacking configuration?

Answer: The only way to delete the stacking information is with the delete stack_info command. This command requires a reboot and will reset the bid, x1_bid, x2_bid and active_link settings to the factory default values.

For Support contact Gigamon Systems by email at support@gigamon.com or call 408-263-2024.