R2511-HP MSR Router Series Terminal Access Command Reference(V5)
35
[Sysname-rta-template-temp1]terminal type vt220
testkey
Use testkey to configure the terminal connectivity test hotkey.
Use undo testkey to cancel the hotkey configured.
Syntax
testkey ascii-code&<1-3>
undo testkey
Default
No hotkey is configured for connectivity test.
Views
Terminal template view
Default command level
2: System level
Parameters
ascii-code&<1-3>: Sets the ASCII value of the hotkey, in the range of 1 to 255. The &<1-3> means that
you can provide up to three ASCII values.
Usage guidelines
With the terminal connectivity test hotkey configured on the router, you can press the hotkey to test the
TCP connectivity between the terminal and the router and that between the terminal and the FEP.
When you configure this command, follow these guidelines:
• This command takes effect only in Telnet terminal access and TTY terminal access.
• The ASCII value of the hotkey configured must be different from that of any other hotkey configured
on the device. Otherwise, hotkey conflicts will occur. For example, the hotkey value cannot be 17 or
19 because these values are used for flow control.
• Using the hotkey may not get a fast response when the terminal display is busy.
Examples
# Configure the terminal connectivity test hotkey as <Alt+A> by setting the ASCII values 1 96 13.
<Sysname> system-view
[Sysname] rta template abc
[Sysname-rta-template-abc] testkey 1 96 13
update changed-config
Use update changed-config to update template configurations.
Syntax
update changed-config
Views
Terminal template view










