HP MSR2000/3000/4000 Router Series Fundamentals Configuration Guide

55
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Set the DSCP value for
outgoing Telnet
packets.
For a Telnet server running IPv4:
telnet server dscp dscp-value
For a Telnet server running IPv6:
telnet server ipv6 dscp dscp-value
By default, the DSCP value is 48.
Configuring common VTY line settings
For a VTY line, you can specify a command that is to be automatically executed when a user logs in.
After executing the specified command and performing the incurred task, the system automatically
disconnects the Telnet session. Before you configure this function and save the configuration, make sure
you can access the CLI through a different user line.
Typically, you configure the auto-execute command telnet X.X.X.X command on the device so the device
redirects a Telnet user to the host at X.X.X.X. In this case, the connection to the current device is closed
when the user terminates the Telnet connection to X.X.X.X.
To configure common settings for VTY lines:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Enter VTY line view or
class view.
To enter VTY line view:
line vty first-number
[ last-number ]
To enter VTY line class
view:
line class vty
Use either command.
Settings configured in a user line class view are
applied as user-defined default settings to all
user lines of the line class. Settings configured in
a user line view are applied to only the user line
and take precedence over the user-defined
default settings. If a parameter is not configured
in user line view or user line class view, the
factory default setting is used.
Settings in a user line view take effect
immediately and affect the online user. Settings
in the line class view do not affect online users
and take effect only for users who log in after the
configuration is completed.
3. Enable the terminal
service.
shell By default, terminal service is enabled.
4. Specify the protocols
for the user lines to
support.
protocol inbound { all | pad
| ssh | telnet }
By default, Telnet and SSH are supported.
This configuration is effective only for users who
log in to the user lines after the configuration is
completed.
5. Define a shortcut key
for terminating tasks.
escape-key { character |
default }
By default, pressing Ctrl+C terminates a task.
6. Specify the terminal
display type.
terminal type { ansi |
vt100 }
By default, the terminal display type is ANSI.
7. Set the maximum
number of lines to be
displayed on a screen.
screen-length screen-length
By default, up to 24 lines is displayed on a
screen.
A value of 0 disables the function.