5-4
Switch Memory and Configuration
Using the CLI To Implement Configuration Changes
S
w
it
ch
Me
m
o
ry
an
d
Co
nf
igur
at
io
n
"permanent". When you are satisfied that the change is satisfactory, you can
make it permanent by executing the
write memory
command. For example,
suppose you use the following command to disable port 5:
HP4108(config)# interface ethernet 5 disable
The above command disables port 5 in the running-config file, but not in the
startup-config file. Port 5 remains disabled only until the switch reboots. If
you want port 5 to remain disabled through the next reboot, use
write memory
to save the current running-config file to the startup-config file in flash
memory.
HP4108(config)# write memory
Storing and Retrieving Configuration Files.
You can store or retrieve a
backup copy of the startup-config file on another device. For more informa-
tion, see appendix A, "Transferring an Operating System or Startup-Config
File"
Using the CLI To Implement
Configuration Changes
The CLI offers these capabilities:
■
Access to the full set of switch configuration features
■
The option of testing configuration changes before making them perma-
nent
How To Use the CLI To View the Current Configuration Files.
Use
show
commands to view the configuration for individual features, such as port
status or Spanning Tree Protocol. However, to view either the entire startup-
config file or the entire running-config file, use the following commands:
■
show startup-config
: Displays the current startup-config file.
■
write terminal
: Displays the current running-config file.
N o t e
The
show startup-config
and
write terminal
commands display the configuration
settings that differ from the switch’s factory-default configuration.
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: ......