CLI Reference Guide LINE Configuration Commands
Global configuration mode.
When you need to increase or decrease the number of available VTY
connections, use the above commands.
Increase the number of available VTY connections to 20. The
available VTY connections are numbered 0--19.
Ruijie(config)# line vty 19
Decrease the number of available VTY connections to 10. The
available VTY connections are numbered 0-9.
Ruijie(config)# line vty 10
transport input
To set the specified protocol under Line that can be used for communication, use the transport input command.
Use default transport input to restore the protocols under Line that can be used for communication to the
default value.
transport input {all | ssh | telnet | none}
default transport input
Allow all the protocols under Line to be used for
communication
Allow only the SSH protocol under Line to be used
for communication
Allow only the Telnet protocol under Line to be
used for communication
Allow none of protocols under Line to be used for
communication
By default, VTY allows all the protocols to be used for
communication. The default value of other types of TTYs is NONE,
indicating that no protocols are allowed for communication. After
some protocols are set to be available for communication, use the
default transport input command to restore the setting to the default
value.