Activation-Key - HP A8800 Series Fundamentals Command Reference

Hide thumbs Also See for A8800 Series:
Table of Contents

Advertisement

After your configuration, user A (with IP address 192.168.1.26) can Telnet to the device while user B (with
IP address 192.168.1.60) cannot Telnet to the device. Upon a connection failure, a message appears,
saying "%connection closed by remote host!"
# Allow the device to only Telnet to the Telnet server with IP address 192.168.1.41.
<Sysname> system-view
[Sysname] acl number 3001
[Sysname-acl-adv-3001] rule permit tcp destination 192.168.1.41 0
[Sysname-acl-adv-3001] quit
[Sysname] user-interface vty 0 15
[Sysname-ui-vty0-15] acl 3001 outbound
[Sysname-ui-vty0-15] return
<Sysname>
After your configuration, if you Telnet to 192.168.1.46, your operation fails.
<Sysname> telnet 192.168.1.46
%Can't access the host from this terminal!
But you can Telnet to 192.168.1.41.
<Sysname> telnet 192.168.1.41
Trying 192.168.1.41 ...
Press CTRL+K to abort
Connected to 192.168.1.41 ...

activation-key

Syntax
activation-key character
undo activation-key
View
User interface view
Default level
3: Manage level
Parameters
character: Shortcut key for starting a terminal session, which specifies a single character or its
corresponding ASCII code value that ranges from 0 to 127. If you enter a string of 1 to 3 characters. only
the first character functions as the shortcut key. For example, if you enter an ASCII code value of 97, the
system uses its corresponding character a as the shortcut key. If you enter 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 by
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.
19

Advertisement

Table of Contents
loading

Table of Contents