Switch Memory and Configuration
Using the CLI To Implement Configuration Changes
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 config
— Displays a listing of the current startup-config file.
■
show running-config —
Displays a listing of the current running-config file.
■
write terminal
— Displays a listing of the current running-config file.
■
show config status
— Compares the startup-config file to the running
config 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 configurations are different, you will see:
– Running configuration has been changed and needs
to be saved.
N o t e
Show config
,
show running-config
, and
write terminal
commands display the
configuration settings that differ from the switch’s factory-default configura
tion.
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.
6-6
Summary of Contents for PROCURVE 2520
Page 2: ......
Page 3: ...HP ProCurve 2520 Switches November 2009 S 14 03 Management and Configuration Guide ...
Page 60: ...Using the Menu Interface Where To Go From Here 3 16 ...
Page 82: ...Using the Command Line Interface CLI CLI Editing Shortcuts 4 22 ...
Page 146: ...Switch Memory and Configuration Automatic Configuration Update with DHCP Option 66 6 40 ...
Page 164: ...Interface Access and System Information System Information 7 18 ...
Page 292: ...Port Trunking Outbound Traffic Distribution Across Trunked Links 12 30 ...
Page 374: ...Configuring for Network Management Applications LLDP Link Layer Discovery Protocol 13 82 ...
Page 434: ...Monitoring and Analyzing Switch Operation Locating a Device B 30 ...
Page 514: ...Troubleshooting DNS Resolver C 80 ...
Page 524: ...Daylight Savings Time on ProCurve Switches E 4 ...
Page 542: ...16 Index ...
Page 543: ......