HP GbE2c HP GbE2c Ethernet Blade Switch for c-Class BladeSystem Command Refere - Page 159

Restoring the active switch configuration, Command, gtcfg, apply, Configuration

Page 159 highlights

Restoring the active switch configuration Command: /cfg/gtcfg When the gtcfg command is used, the active configuration will be replaced with the commands found in the specified configuration file. The file can contain a full switch configuration or a partial configuration. The configuration loaded using gtcfg is not activated until the apply command is used. If the apply command is found in the configuration script file loaded using this command, the apply action will be performed automatically. To start the switch configuration download, at the Configuration# prompt, enter: Configuration# gtcfg Where is the FTP/TFTP server IP address or hostname and is the name of the target script configuration file. NOTE: The switch supports three configuration files: active, backup, and factory. See the "Selecting a configuration block" section in the "Boot Options Menu" chapter for information on how to set which configuration file to use upon boot up. Configuration Menu 159

  • 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
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175

Configuration Menu 159
Restoring the active switch configuration
Command:
/cfg/gtcfg <FTP/
TFTP server
> <
filename
>
When the
gtcfg
command is used, the active configuration will be replaced with the commands found in the specified
configuration file. The file can contain a full switch configuration or a partial configuration. The configuration loaded
using
gtcfg
is not activated until the
apply
command is used. If the
apply
command is found in the configuration script
file loaded using this command, the apply action will be performed automatically.
To start the switch configuration download, at the
Configuration#
prompt, enter:
Configuration#
gtcfg <FTP/
TFTP server
> <
filename
>
Where
<FTP/TFTP server>
is the FTP/TFTP server IP address or hostname and
<filename>
is the name of the target
script configuration file.
NOTE:
The switch supports three configuration files: active, backup, and factory. See the “Selecting a
configuration block” section in the “Boot Options Menu” chapter for information on how to set which
configuration file to use upon boot up.