HP 6125G HP 6125G & 6125G/XG Blade Switches Fundamentals Configuration - Page 96

Managing configuration files, Overview, Configuration types, Factory defaults, Startup configuration

Page 96 highlights

Managing configuration files You can manage configuration files at the CLI or by using the Boot menu of the device. This chapter describes the CLI approach. Overview A configuration file saves configurations as a set of text commands. You can save the running configuration to a configuration file so the configuration takes effect after you reboot the device. You can also back up the configuration file to a host and download the file to the device as needed. Configuration types The device has the following types of configurations: factory defaults, startup configuration, and running configuration. Factory defaults The device is shipped with some basic settings called "factory defaults." These default settings make sure the device can start up and run normally when it has no configuration file or the configuration file is corrupted. Factory defaults vary with device models and might differ from the default settings of commands. To view the factory defaults, use the display default-configuration command. Startup configuration The device uses startup configuration to configure software features during startup. After the device starts up, you can specify a different configuration file for the next startup. This configuration file is called the "next-startup configuration file." The configuration file that has been loaded is called the "current startup configuration file." If no next-startup configuration file exists, the device boots with the factory defaults. To view the current startup configuration, use either of the following ways: • Execute the display startup command. To view detailed file contents, use the more command. • After the device reboots, execute the display current-configuration command before making any configuration. Running configuration Running configuration is stored in a volatile storage media and takes effect while the device is operating. It includes startup settings that have not been changed and new settings you have made. A new setting takes effect immediately after it is made but must be saved to a configuration file to survive a reboot. To view the running configuration, use the display current-configuration command. 90

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135

90
Managing configuration files
You can manage configuration files at the CLI or by using the Boot menu of the device. This chapter
describes the CLI approach.
Overview
A configuration file saves configurations as a set of text commands. You can save the running
configuration to a configuration file so the configuration takes effect after you reboot the device. You can
also back up the configuration file to a host and download the file to the device as needed.
Configuration types
The device has the following types of configurations: factory defaults, startup configuration, and running
configuration.
Factory defaults
The device is shipped with some basic settings called "factory defaults." These default settings make sure
the device can start up and run normally when it has no configuration file or the configuration file is
corrupted.
Factory defaults vary with device models and might differ from the default settings of commands.
To view the factory defaults, use the
display default-configuration
command.
Startup configuration
The device uses startup configuration to configure software features during startup. After the device starts
up, you can specify a different configuration file for the next startup. This configuration file is called the
"next-startup configuration file." The configuration file that has been loaded is called the "current startup
configuration file."
If no next-startup configuration file exists, the device boots with the factory defaults.
To view the current startup configuration, use either of the following ways:
Execute the
display startup
command. To view detailed file contents, use the
more
command.
After the device reboots, execute the
display current-configuration
command before making any
configuration.
Running configuration
Running configuration is stored in a volatile storage media and takes effect while the device is operating.
It includes startup settings that have not been changed and new settings you have made.
A new setting takes effect immediately after it is made but must be saved to a configuration file to survive
a reboot.
To view the running configuration, use the
display current-configuration
command.