5-5
Switch Memory and Configuration
Using the CLI To Implement Configuration Changes
S
w
itc
h Me
m
o
ry
an
d
Co
nf
igur
at
io
n
How To Use the CLI To Reconfigure Switch Features.
Use this proce-
dure to permanently change the switch configuration (that is, to enter a change
in the startup-config file).
1.
Use the appropriate CLI commands to reconfigure the desired switch
parameters. This updates the selected parameters in the running-config
file.
2.
Use the appropriate
show
commands to verify that you have correctly
made the desired changes.
3.
Observe the switch’s performance with the new parameter settings to
verify the effect of your changes.
4.
When you are satisfied that you have the correct parameter settings, use
the
write memory
command to copy the changes to the startup-config file.
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.
HP4108(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:
HP4108(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:
Summary of Contents for ProCurve 4108gl Bundle
Page 1: ...hp procurve switch 4108gl management and configuration guide www hp com go hpprocurve ...
Page 2: ......
Page 40: ...2 16 Using the Menu Interface Where To Go From Here Using the Menu Interface ...
Page 154: ...8 24 Time Protocols SNTP Messages in the Event Log Time Protocols ...
Page 350: ...14 44 Port Based Virtual LANs VLANs and GVRP GVRP Port Based Virtual LANs VLANs and GVRP ...
Page 383: ...16 13 Spanning Tree Protocol STP How STP Operates Spanning Tree Protocol STP ...
Page 384: ...16 14 Spanning Tree Protocol STP How STP Operates Spanning Tree Protocol STP ...
Page 442: ...18 30 Troubleshooting Restoring a Flash Image Troubleshooting ...
Page 466: ...B 6 MAC Address Management Determining MAC Addresses MAC Address Management ...
Page 470: ......
Page 481: ...Index 11 Index write memory effect on menu interface 2 13 X Xmodem OS download A 6 ...
Page 482: ......