Enabling or disabling inbound or outbound Telnet access
Syntax:
telnet-server
no telnet-server
This command is used at the global config level to enable (the default) or disable all (IPv4 and IPv6) inbound or outbound Telnet access to the switch.
For example, to disable IPv4 and IPv6 Telnet access to the switch, you would use this command:
Switch(config)# no telnet-server