Basic Operation Guide 2013/06
Table Of Contents
- Switch Software
- Contents
- 1 Commands found in the Basic Operation Guide
- 2 Getting started
- 3 Using the Menu Interface
- 4 Using the Command Line Interface (CLI)
- Overview
- Accessing the CLI
- Using the CLI
- Return message types with CLI commands
- CLI interactive commands
- CLI control and editing
- 5 Using the HP WebAgent
- 6 Switch memory and configuration
- Overview
- Configuration file management
- Using the CLI to implement configuration changes
- Creating a custom default configuration
- Using the menu and WebAgent to implement configuration changes configuration file
- Zeroization
- Using Primary and Secondary flash image options
- Multiple configuration files
- Display configuration of selected interface
- Automatic configuration update with DHCP Option 66
- 7 Interface access and system information
- 8 Configuring IP addressing
- Overview
- IP configuration
- Loopback interfaces
- IP Preserve: retaining VLAN-1 IP addressing across configuration file downloads
- Configuring a single source IP address
- 9 Software management
- Downloading switch documentation and software from the web
- Viewing or downloading the software manual set
- Downloading software updates for your switch
- Software signing and verification
- Saving configurations while using the CLI
- Important: Best Practices for software updates
- Updating the switch: overview
- Updating the switch: detailed steps
- Rolling back switch software
- Viewing or transferring alternate configuration files
- Downloading switch documentation and software from the web
- Index

Syntax:
repeat [cmdlist] [count] [delay]
Repeats execution of a previous command. Repeats the last command by default
until a key is pressed.
cmdlist: If a number or range of numbers is specified, the command repeats the
nth most recent commands (where "n" is the position in the history list).
count: Repeats the command for the number of times specified.
delay: The command repeats execution after a delay for the number of seconds
specified.
For example:
HP Switch(config)# repeat 1-4,7-8,10 count 2 delay 3
Example 24 The repeat command using a range
HP Switch(config)# show history
3 show ver
2 show ip
1 show arp
HP Switch(config)# repeat 1-2
IP ARP table
IP Address MAC Address Type Port
-------------- ---------------- -------- ----
15.255.128.1 000000-000000 dynamic
Internet (IP) Service
IP Routing : Disabled
Default Gateway :
Default TTL : 64
Arp Age : 20
Domain Suffix :
DNS server :
VLAN | IP Config IP Address Subnet Mask Proxy ARP
------------------ + ----------- --------------- -------------- ---------
DEFAULT_VLAN | DHCP/Bootp 15.255.131.90 255.255.248.0 No No
Using a command alias
You can create a simple command alias to use in place of a command name and its options.
Choose an alias name that is not an existing CLI command already. Existing CLI commands are
searched before looking for an alias command; an alias that is identical to an existing command
will not be executed.
The alias command is executed from the current configuration context (operator, manager, or
global). If the command that is aliased has to be executed in the global configuration context, you
must execute the alias for that command in the global configuration context as well. This prevents
bypassing the security in place for a particular context.
HP recommends that you configure no more than 128 aliases.
Syntax:
[no] alias <name> <command>
CLI control and editing 41










