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

Loading configuration information into the running-config file

Page 166 highlights

6 Using SNMP to save and load configuration information • Always use the end command at the end of the file. The end command must appear on the last line of the file, by itself. Loading configuration information into the running-config file You can load configuration information from a TFTP server using either of the following commands: • copy tftp running-config file [overwrite] • ncopy tftp running-config file Using SNMP to save and load configuration information NOTE If you are using SNMP to manage your router and you have installed NI-MLX-1Gx48-T-A interface modules, information about the number of indexes available per module can be found in the "Configuring SNMP ifIndex" section of the "Configuring Basic Parameters" chapter in the PowerConnect B-MLXe Configuration Guide. You can use a third-party SNMP management application to save and load a configuration to your router using this procedure. 1. Enable the SNMP agent on the router by entering the snmp-server command from the global CONFIG level of the CLI. 2. On the router, enter the no snmp-server pw-check command from the global CONFIG level of the CLI. This command disables password checking for SNMP set requests. If a third-party SNMP management application does not add a password to the password field when it sends SNMP set requests to a router, by default the router rejects the request. 3. From a management station, send the following SNMP PDU to the agent. SnmpSet(1.3.6.1.4.1.1191.1.1.2.1.5.0 = 1.3.6.1.4.1.1991.1.1.2.1.8.0 = 1.3.6.1.4.1.1991.1.1.2.1.9.0 = • is the IP address of the TFTP server. • is the name of the configuration file. • is one of the following: - 20 - Upload the startup-config file from the router flash memory to the TFTP server. - 21 - Download a startup-config file from a TFTP server to the router flash memory. - 22 - Upload the running-config file from the router flash memory to the TFTP server. - 23 - Download a configuration file from a TFTP server into the router running-config file. - 30 - Download the config to DRAM from a TFTP server, clear the running-config file, and overwrite with the new configuration. 154 PowerConnect B-MLXe Hardware Installation Guide 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

154
PowerConnect B-MLXe Hardware Installation Guide
53-1002111-01
Using SNMP to save and load configuration information
6
Always use the
end
command at the end of the file. The
end
command must appear on the last
line of the file, by itself.
Loading configuration information into
the running-config file
You can load configuration information from a TFTP server using either of the following commands:
copy tftp running-config file
<
ip-addr
> <
filename
> [
overwrite
]
ncopy tftp
<
ip-addr
> <
filename
>
running-config file
Using SNMP to save and load configuration
information
NOTE
If you are using SNMP to manage your router and you have installed NI-MLX-1Gx48-T-A interface
modules, information about the number of indexes available per module can be found in the
“Configuring SNMP ifIndex” section of the “Configuring Basic Parameters” chapter in the
PowerConnect B-MLXe Configuration Guide
.
You can use a third-party SNMP management application to save and load a configuration to your
router using this procedure.
1.
Enable the SNMP agent on the router by entering the
snmp-server
command from the global
CONFIG level of the CLI.
2.
On the router, enter the
no snmp-server pw-check
command from the global CONFIG level of
the CLI.
This command disables password checking for SNMP set requests. If a third-party SNMP
management application does not add a password to the password field when it sends SNMP
set requests to a router, by default the router rejects the request.
3.
From a management station, send the following SNMP PDU to the agent.
SnmpSet(1.3.6.1.4.1.1191.1.1.2.1.5.0
=
<
tftp-ip-address
>
1.3.6.1.4.1.1991.1.1.2.1.8.0 =
<
config-file-name
>
1.3.6.1.4.1.1991.1.1.2.1.9.0
=
<
command-integer
>
<
tftp-ip-addr
> is the IP address of the TFTP server.
<
config-file-name
> is the name of the configuration file.
<
command-integer
> is one of the following:
-
20
– Upload the startup-config file from the router flash memory to the TFTP server.
-
21
– Download a startup-config file from a TFTP server to the router flash memory.
-
22
– Upload the running-config file from the router flash memory to the TFTP server.
-
23
– Download a configuration file from a TFTP server into the router running-config
file.
-
30
– Download the config to DRAM from a TFTP server, clear the running-config file,
and overwrite with the new configuration.