Auto-Execute Command - HP A7500 Series Command Reference Manual

Fundamentals
Hide thumbs Also See for A7500 Series:
Table of Contents

Advertisement

Parameters
character: Shortcut key for starting a terminal session, a single character (or its corresponding ASCII
code value that ranges from 0 to 127) or a string of 1 to 3 characters. However, only the first character
functions as the shortcut key. For example, if you input an ASCII code value of 97, the system uses its
corresponding character a as the shortcut key. If you input string b@c, the system uses the first character
b as the shortcut key.
Description
Use the activation-key command to define a shortcut key for starting a terminal session.
Use the undo activation-key command to restore the default.
By default, pressing the Enter key starts a terminal session. However, if a new shortcut key is defined with
the activation-key command, the Enter key no longer functions. To display the shortcut key you have
defined, use the display current-configuration | include activation-key command.
NOTE:
The activation-key command is not supported by the VTY user interface.
Examples
# Configure character s as the shortcut key for starting a terminal session on the console port.
<Sysname> system-view
[Sysname] user-interface aux 0
[Sysname-ui-aux0] activation-key s
To verify the configuration:
Exit the terminal session on the console port.
[Sysname-ui-aux0] return
<Sysname> quit
Log in to the console port again. The following message appears.
******************************************************************************
* Copyright (c) 2010-2011 Hewlett-Packard Development Company, L.P.
* Without the owner's prior written consent,
* no decompiling or reverse-engineering shall be allowed.
******************************************************************************
User interface aux0 is available.
Please press ENTER.
At this moment, pressing Enter does not start a session. To start the terminal session, enter s.
<Sysname>
%Mar
2 18:40:27:981 2005 Sysname SHELL/5/LOGIN: Console login from aux0

auto-execute command

Syntax
auto-execute command command
15
*
*
*

Advertisement

Table of Contents
loading

Table of Contents