The protocol inbound command specifies the protocols that VTY user interfaces support.
The undo protocol inbound command restores the default protocols that VTY user interfaces support.
By default, VTY user interfaces support SSH.
Parameter | Description | Value |
---|---|---|
all | Indicates that all protocols including SSH and Telnet are supported. | - |
ssh | Indicates that only SSH is supported. | - |
telnet | Indicates that only Telnet is supported. | - |
Usage Scenario
To manage and monitor login users, configure VTY user interfaces for login users and run the protocol inbound command to configure the protocols that the VTY user interfaces support.
Prerequisites
If SSH is configured for a user interface using the protocol inbound ssh command, you must run the authentication-mode aaa command to configure AAA authentication. This ensures that a user can successfully log in to the user interface. If password authentication is configured, the protocol inbound ssh command does not take effect.
Precautions
The configuration takes effect at the next login.
When SSH is specified for the VTY user interface, if the SSH server function is enabled but the RSA, DSA, or ECC key is not configured, a user cannot log in to the SSH server using SSH.