no transport input telnet

Use this command to prevent new Telnet sessions from being established.

Format no transport input telnet
Mode Line Config