1. Check the original configuration.
acl name test 2995
rule 5 permit source 192.168.2.55 0
local-user xxxx password irreversible-cipher qqqq
local-user xxxx privilege level 15
local-user xxxx service-type telnet
telnet server enable
user-interface vty 0 4
acl 2995 inbound
2. Delete the trusted host to remove the restriction on the source host address for login.
Run the following commands:
undo rule 5
Then the device cannot be accessed through Telnet using the source address 192.168.2.55.
3. Delete acl 2995 inbound from vty 0 4. The fault is rectified.
If an ACL is configured on the VTY interface, only the permitted addresses defined in the ACL can be used to log in to the device through Telnet. If the IP address used to log in to the device is not a permitted address, the login is denied.