Dell PowerConnect B - MLXe 16 Hardware Installation Guide - Page 161

Copying a configuration file to or from a TFTP server

Page 161 highlights

Loading and saving configuration files 6 Copying a configuration file to or from a TFTP server To copy the startup-config or running-config file to or from a TFTP server, use one of the following methods. NOTE You can name the configuration file when you copy it to a TFTP server. However, when you copy a configuration file from the server to a device, the file is always copied as "startup-config" or "running-config", depending on which type of file you saved to the server. To copy configuration files to or from a TFTP server, enter one of the following commands: copy startup-config tftp - Use this command to upload a copy of startup-config from the device to a TFTP server. copy running-config tftp - Use this command to upload a copy of the running configuration from the device to a TFTP server. copy tftp startup-config - Use this command to download a copy of the startup-config from a TFTP server to the device. copy tftp running-config [overwrite] - Use this command to download the running configuration from the system runtime memory to a TFTP server. The running configuration is then appended to the current configuration of the device. Making local copies of the startup configuration file You can copy the startup-config file in flash memory to a TFTP server or to a PCMCIA flash card inserted in management module slot 1 or 2. For example, to make a backup copy of the startup-config file and save the backup file to a TFTP server, enter a command such as the following at the Privileged EXEC level in the CLI: PowerConnect# copy startup-config tftp 10.28.40.21 startup-config.bak Syntax: Syntax: copy startup-config tftp The variable specifies the IP address of the TFTP server that you want to save the startup configuration to. The specifies the name of the file you copied to a new destination. For example, to make a backup copy of the startup-config file and save the backup file on a flash card in slot 2, enter a command such as the following at the Privileged EXEC level in the CLI: PowerConnect# copy startup-config slot2 /backups/startup-config.bak Syntax: Syntax: copy startup-config [slot1 | slot2] [/]/ Specify the parameter to copy the source file to a file system that does not have current management focus. The specifies the name of the file you copied to a new destination. PowerConnect B-MLXe Hardware Installation Guide 149 53-1002111-01

  • 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
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190
  • 191
  • 192
  • 193
  • 194
  • 195
  • 196
  • 197
  • 198
  • 199
  • 200
  • 201
  • 202
  • 203
  • 204
  • 205
  • 206
  • 207
  • 208
  • 209
  • 210
  • 211
  • 212

PowerConnect B-MLXe Hardware Installation Guide
149
53-1002111-01
Loading and saving configuration files
6
Copying a configuration file to or from a TFTP server
To copy the startup-config or running-config file to or from a TFTP server, use one of the following
methods.
NOTE
You can name the configuration file when you copy it to a TFTP server. However, when you copy a
configuration file from the server to a device, the file is always copied as “startup-config” or
“running-config”, depending on which type of file you saved to the server.
To copy configuration files to or from a TFTP server, enter one of the following commands:
copy startup-config tftp
<
ip-address
> <
filename
> – Use this command to upload a copy of
startup-config from the device to a TFTP server.
copy running-config tftp
<
ip-address
> <
filename
> – Use this command to upload a copy of the
running configuration from the device to a TFTP server.
copy tftp startup-config
<
ip-address
> <
filename
> – Use this command to download a copy of the
startup-config from a TFTP server to the device.
copy tftp running-config
<
ip -address
> <
filename
> [
overwrite
] – Use this command to download
the running configuration from the system runtime memory to a TFTP server. The running
configuration is then appended to the current configuration of the device.
Making local copies of the startup configuration file
You can copy the startup-config file in flash memory to a TFTP server or to a PCMCIA flash card
inserted in management module slot 1 or 2.
For example, to make a backup copy of the startup-config file and save the backup file to a TFTP
server, enter a command such as the following at the Privileged EXEC level in the CLI:
PowerConnect# copy startup-config tftp 10.28.40.21 startup-config.bak
Syntax: Syntax
:
copy startup-config tftp
<
ip-address
> <
dest-file-name
>
The <
ip-address
> variable specifies the IP address of the TFTP server that you want to save the
startup configuration to.
The <
dest-file-name
> specifies the name of the file you copied to a new destination.
For example, to make a backup copy of the startup-config file and save the backup file on a flash
card in slot 2, enter a command such as the following at the Privileged EXEC level in the CLI:
PowerConnect# copy startup-config slot2 /backups/startup-config.bak
Syntax:
Syntax: copy startup-config
[
slot1
|
slot2
] [/<
dest-dir-path
>]/<
dest-file-name
>
Specify the <
dest-dir-path
> parameter to copy the source file to a file system that does not have
current management focus.
The <
dest-file-name
> specifies the name of the file you copied to a new destination.