26
Figure 6 Scheme authentication interface for Telnet login
Setting the maximum number of concurrent Telnet users
1. Enter system view.
system-view
N/A
2. Set the maximum number
of concurrent Telnet
users.
aaa session-limit
telnet
max-sessions
By default, the maximum number of concurrent
Telnet users is 32.
Changing this setting does not affect online
users. If the current number of online Telnet
users is equal to or greater than the new
setting, no additional Telnet users can log in
until online users log out.
For more information about this command, see
Security Command Reference.
Setting the DSCP value for outgoing Telnet packets
The DSCP value is carried in the ToS/Traffic class field of an IP or IPv6 packet, and it indicates the
transmission priority of the packet.
To set the DSCP value for outgoing Telnet packets:
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:
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, the system automatically disconnects the Telnet session.
Before you configure this feature 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:
1. Enter system view.
system-view
N/A
2. Enter VTY line view or
class view.
• Enter VTY line view:
A setting in user line view is applied only to the
user line. A setting in user line class view is