C-5
Switch Memory and Configuration
Using the CLI To Implement Configuration Changes
S
w
itch M
e
m
o
ry an
d
Co
nf
ig
u
rat
io
n
Syntax:
write memory
For example, the default port mode setting is
auto
. Suppose that your network
uses Cat 3 wiring and you want to connect the switch to another autosensing
device capable of 100 Mbps operation. Because 100 Mbps over Cat 3 wiring
can introduce transmission problems, the recommended port mode is
auto-10
,
which allows the port to negotiate full- or half-duplex, but restricts speed to
10 Mbps. The following command configures port 5 to auto-10 mode in the
running-config file, allowing you to observe performance on the link without
making the mode change permanent.
HP2512(config)# interface e 5 speed-duplex auto-10
After you are satisfied that the link is operating properly, you can save the
change to the switch’s permanent configuration (the startup-config file) by
executing the following command:
HP2512(config)# write memory
The new mode (
auto-10
) on port 5 is now saved in the startup-config file, and
the startup-config and running-config files are identical. If you subsequently
reboot the switch, the
auto-10
mode configuration on port 5 will remain because
it is included in the startup-config file.
How To Cancel Changes You Have Made to the Running-Config File.
If you use the CLI to change parameter settings in the running-config file, and
then decide that you don’t want those changes to remain, you can use either
of the following methods to remove them:
■
Manually enter the earlier values you had for the changed settings. (This
is recommended if you want to restore a small number of parameter
settings to their previous boot-up values.)
■
Update the running-config file to match the startup-config file by reboot-
ing the switch. (This is recommended if you want to restore a larger
number of parameter settings to their previous boot-up values.)
If you use the CLI to change a parameter setting, and then execute the
boot
command without first executing the
write memory
command to save the
change, the switch prompts you to specify whether to save the changes in the
current running-config file. For example:
Содержание HP ProCurve series 2500
Страница 1: ...hp procurve series 2500 switches management and configuration guide www hp com go procurve ...
Страница 2: ......
Страница 3: ...HP ProCurve Switches 2512 and 2524 Management and Configuration Guide Software Release F 01or Greater ...
Страница 6: ......
Страница 18: ...xvi Contents ...
Страница 42: ...2 16 Using the Menu Interface Where To Go From Here Using the Menu Interface ...
Страница 84: ...4 26 Using the HP Web Browser Interface Status Reporting Features Using the HP Web Browser Interface ...
Страница 306: ...9 112 Configuring Advanced Features Spanning Tree Protocol STP Configuring Advanced Features ...
Страница 382: ......