HP 6125G HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 21
auto-execute command, Parameters, Description, Examples, Syntax
View all HP 6125G manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 21 highlights
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. system-view [Sysname] user-interface aux 0 [Sysname-ui-aux0] activation-key s To verify the configuration: 1. Exit the terminal session on the console port. [Sysname-ui-aux0] return quit 2. Log in to the console port again. 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. 3. Press Enter. At this moment, pressing Enter does not start a session. 4. Enter s. A terminal session is started. %Mar 2 18:40:27:981 2011 Sysname SHELL/5/LOGIN: Console login from aux0 auto-execute command Syntax 14