Basic Operation Guide 2014/02

write terminal— Displays a listing of the current running-config file.
show default–config— Displays a listing of a custom default config file.
show config status— Compares the startup-config file to the runningconfig file and lists one
of the following results:
If the two configurations are the same you will see:
Running configuration is the same as the startup configuration.
If the two needs to be configurations are different, you will see:
Running configuration has been changed and saved.
NOTE: show config, show running–config, and write terminal commands display the configuration
settings that differ from the switch’s factory-default configuration.
How to use the CLI to reconfigure switch features. Use this procedure 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
Saves the running configuration file to the startup-config. The saved configuration
becomes the boot-up configuration of the switch on the next boot.
When using redundant management, saves the running configuration of the switch
to flash on the active management module. The saved configuration becomes the
boot-up configuration of the switch the next time it is booted. The saved configuration
file is sync’d to the standby management module.
Note: If the active management module and the standby management module are
running on different operating systems because the boot set-default command was
executed and then the standby module was rebooted, the write memory command
displays this warning: "Warning: The next reboot or failover is set to boot from a
different software image. These config changes may be incompatible or not used
after a reboot or failover."
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 A5 to auto-10 mode in the running-config file,
allowing you to observe performance on the link without making the mode change permanent.
HP Switch(config)# interface e a5 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:
HP Switch(config)# write memory
Using the CLI to implement configuration changes 49