mac

Commands for Basic Switch Configuration
58
Parameters: <max-connection-number>: the max connection number supported by the
Telnet service, ranging from 5 to 16. The default option will restore the default
configuration.
Default: The system default value of the max connection number is 5.
Command Mode: Global Mode
Usage Guide: None.
Example: Set the max connection number supported by the Telnet service as 10.
Switch(config)#telnet-server max-connection 10
1.2.15 ssh-server authentication-retries
Command: ssh-server authentication-retries <authentication-retries>
no ssh-server authentication-retries
Function: Configure the number of times for retrying SSH authentication; the “no
ssh-server authentication-retriescommand restores the default number of times for
retrying SSH authentication.
Parameter: < authentication-retries > is the number of times for retrying authentication;
valid range is 1 to 10.
Command mode: Global Mode
Usage Guide: None.
Default: The number of times for retrying SSH authentication is 3 by default.
Example: Set the time for retrying SSH authentication to 5.
Switch(config)#ssh-server authentication-retries 5
1.2.16 ssh-server enable
Command: ssh-server enable
no ssh-server enable
Function: Enable SSH function on the switch; the no ssh-server enablecommand
disables SSH function.
Command mode: Global Mode
Default: SSH function is disabled by default.
Usage Guide: In order that the SSH client can log on the switch, the users need to
configure the SSH user and enable SSH function on the switch.
Example: Enable SSH function on the switch.
Switch(config)#ssh-server enable
1.2.17 ssh-server host-key create rsa