HP 6125XLG R2306-HP 6125XLG Blade Switch Fundamentals Configuration Guide - Page 88

Managing configuration files, Overview, Configuration types, Startup configuration

Page 88 highlights

Managing configuration files You can use the CLI or the BootWare menus to manage configuration files. This chapter explains how to manage configuration files from the CLI. Overview A configuration file saves a set of commands for configuring software features on the device. You can save any configuration to a configuration file so they can survive a reboot. You can also back up configuration files to a host for future use. Configuration types The configuration loaded at startup is called "startup configuration" and the configuration that is running on the device is called "running configuration." Startup configuration The device uses startup configuration to configure software features during startup. The following are sources of startup configuration: • Initial settings-Initial values or states for parameters. If the device starts up with empty configuration, all parameters are set to their initial settings at startup. • Default configuration file-Contains factory defaults, which are product-specific default settings that are different from initial settings. The file is included in the .ipe software image file. If you do not configure the device to start up with empty configuration or a startup configuration file, the device loads the default configuration file to configure features at startup. If a parameter is not included in the file, the device uses its initial settings. • Startup configuration file-Configuration file you specify in the BootWare menus or CLI for startup. The file is called the "next-startup configuration file." After the file is loaded at startup, it is also called the "current startup configuration file." For high availability, you can specify two next-startup configuration files, one main and one backup (see "Specifying a next-startup configuration file"). No commands are available to display the initial settings. For more information about these settings, see the "Default" sections in the command references. To display the product-specific default settings, use the display default-configuration command. To display the current startup configuration file and the next-startup configuration files, use the display startup command. To display the contents of the main next-startup configuration file, use the display saved-configuration command. This command does not display settings that have not been saved to the main next-startup configuration file. Running configuration The running configuration includes startup settings that have not been changed and new settings you made. Running configuration is stored in the memory and is cleared at a device reboot or power off. To use the running configuration after a power cycling or reboot, save it to a configuration file. 81

  • 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
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155

81
Managing configuration files
You can use the CLI or the BootWare menus to manage configuration files. This chapter explains how to
manage configuration files from the CLI.
Overview
A configuration file saves a set of commands for configuring software features on the device. You can
save any configuration to a configuration file so they can survive a reboot. You can also back up
configuration files to a host for future use.
Configuration types
The configuration loaded at startup is called "startup configuration" and the configuration that is running
on the device is called "running configuration."
Startup configuration
The device uses startup configuration to configure software features during startup.
The following are sources of startup configuration:
Initial settings
—Initial values or states for parameters. If the device starts up with empty
configuration, all parameters are set to their initial settings at startup.
Default configuration file
—Contains factory defaults, which are product-specific default settings
that are different from initial settings. The file is included in the .ipe software image file. If you do not
configure the device to start up with empty configuration or a startup configuration file, the device
loads the default configuration file to configure features at startup. If a parameter is not included in
the file, the device uses its initial settings.
Startup configuration file
—Configuration file you specify in the BootWare menus or CLI for startup.
The file is called the "next-startup configuration file." After the file is loaded at startup, it is also
called the "current startup configuration file." For high availability, you can specify two next-startup
configuration files, one main and one backup (see "
Specifying a next-startup configuration file
").
No commands are available to display the initial settings. For more information about these settings, see
the "Default" sections in the command references.
To display the product-specific default settings, use the
display default-configuration
command.
To display the current startup configuration file and the next-startup configuration files, use the
display
startup
command.
To display the contents of the main next-startup configuration file, use the
display saved-configuration
command. This command does not display settings that have not been saved to the main next-startup
configuration file.
Running configuration
The running configuration includes startup settings that have not been changed and new settings you
made. Running configuration is stored in the memory and is cleared at a device reboot or power off. To
use the running configuration after a power cycling or reboot, save it to a configuration file.