Auto-Execute Command - HP 6125G Command Reference Manual

6125 blade switch series fundamentals command reference
Hide thumbs Also See for 6125G:
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 activation-key to define a shortcut key for starting a terminal session.
Use undo activation-key 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.
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.
1.
[Sysname-ui-aux0] return
<Sysname> quit
Log in to the console port again.
2.
The following message appears.
******************************************************************************
* Copyright (c) 2010-2012 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.
Press Enter.
3.
At this moment, pressing Enter does not start a session.
Enter s.
4.
A terminal session is started.
<Sysname>
%Mar

auto-execute command

Syntax
2 18:40:27:981 2011 Sysname SHELL/5/LOGIN: Console login from aux0
14
*
*
*

Advertisement

Table of Contents
loading

This manual is also suitable for:

6125g/xg

Table of Contents