I have disabled telnet on Cisco 2960G switch by putting:
line vty 04
transport input ssh
but now when I try telnet to the switch I get message saying,password required but not set
I am wondering if there is way to stop the switch totally from listing to the telnet port
Best Answer
If you actually configured
Then you have something like:
This is because you configured only the fifth VTY line (04=4).
The correct command is:
or rather:
since most (all?) modern Cisco switches have 16 vty lines and not 5.
You may also want to add access lists (ACLs) to allow only SSH traffic (and maybe SNMP and ICMP) destined to the switch.