Hi,
After the acl xxxx inbound command is configured in the VTY user interface view. When the IP addresses that are not allowed by the ACL log in to the device, the command can not prevent the device from displaying the user and entering the password.
There are two solutions.
1. Configure the ACL on the SSH server.
ssh server acl 2000
2.Limiting traffic on the interface
#
traffic classifier Deny_SSH
if-match acl 2000
#
traffic behavior Deny_SSH
quit
#
traffic policy Deny_SSH
classifier Deny_SSH behavior Deny_SSH
quit
#
interface Gx/x/x
traffic-policy Deny_SSH inbound
#