HP 6125G HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 123

save, Specifies a file path, where the file extension must be .cfg. If the keyword

Page 123 highlights

Parameters src-addr: Specifies a TFTP server's IPv4 address or name. The address cannot be an IPv6 address. src-filename: Specifies the file name of the configuration file to be downloaded. Description Use restore startup-configuration to download a configuration file from a TFTP server and specify it as the next-startup configuration file. Before restoring the configuration file for the next startup, make sure the server is reachable, the server is enabled with TFTP service, and you have read and write permissions. This command restores only the main next-startup configuration file. This command provides an easy approach to configuration file restoration by automatically performing all operations required for restoring the next-startup configuration file. It downloads the configuration file to the root directory of the storage media on each member device and specifies the file as the next-startup configuration file. This command assumes that all IRF members use the same type of storage medium. If a subordinate device uses a different type of storage medium than the master, the command cannot propagate the configuration file to the subordinate device. Examples # Download the configuration file config.cfg from the TFTP server at 2.2.2.2, and specify the file as the main next-startup configuration file of the device. restore startup-configuration from 2.2.2.2 config.cfg Restore next startup-configuration file from 2.2.2.2. Please wait...finished! Now restore next startup-configuration file from main to slave board. Please wait...finished! save Syntax save file-url [ all | slot slot-number ] View save [ safely ] [ backup | main ] [ force ] Any view Default level 2: System level Parameters file-url: Specifies a file path, where the file extension must be .cfg. If the keyword all slot is specified, the file path cannot include a member ID. If the file path includes a folder name, you must first create the folder on the member device. all: Saves the running configuration with the specified file name to all member devices. slot slot-number: Saves the running configuration with the specified file name to a subordinate device. The slot-number argument represents the IRF member ID of the device. safely: Saves the configuration file in safe mode. If this keyword is not specified, the system saves the configuration file in fast mode. Safe mode is slower than fast mode, but more secure. In safe mode, the 116

  • 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
  • 176
  • 177
  • 178
  • 179
  • 180

116
Parameters
src-addr:
Specifies a TFTP server's IPv4 address or name. The address cannot be an IPv6 address.
src-filename
: Specifies the file name of the configuration file to be downloaded.
Description
Use
restore startup-configuration
to download a configuration file from a TFTP server and specify it as
the next-startup configuration file.
Before restoring the configuration file for the next startup, make sure the server is reachable, the server is
enabled with TFTP service, and you have read and write permissions.
This command restores only the main next-startup configuration file.
This command provides an easy approach to configuration file restoration by automatically performing
all operations required for restoring the next-startup configuration file.
It downloads the configuration file to the root directory of the storage media on each member device and
specifies the file as the next-startup configuration file.
This command assumes that all IRF members use the same type of storage medium. If a subordinate
device uses a different type of storage medium than the master, the command cannot propagate the
configuration file to the subordinate device.
Examples
# Download the configuration file
config.cfg
from the TFTP server at 2.2.2.2, and specify the file as the
main next-startup configuration file of the device.
<Sysname> restore startup-configuration from 2.2.2.2 config.cfg
Restore next startup-configuration file from 2.2.2.2. Please wait...finished!
Now restore next startup-configuration file from main to slave board. Please
wait...finished!
save
Syntax
save
file-url
[
all
|
slot
slot-number
]
save
[
safely
] [
backup
|
main
] [
force
]
View
Any view
Default level
2: System level
Parameters
file-url
: Specifies a file path, where the file extension must be .cfg. If the keyword
all
slot is specified, the
file path cannot include a member ID. If the file path includes a folder name, you must first create the
folder on the member device.
all
: Saves the running configuration with the specified file name to all member devices.
slot
slot-number
: Saves the running configuration with the specified file name to a subordinate device.
The
slot-number
argument represents the IRF member ID of the device.
safely
: Saves the configuration file in safe mode. If this keyword is not specified, the system saves the
configuration file in fast mode. Safe mode is slower than fast mode, but more secure. In safe mode, the