The Telnet service is enabled by default. Disabling Telnet service forcibly disconnects all Telnet sessions running on a device.
device# configure terminal
device(config)# telnet server use-vrf ? Possible completions: <VRF Name> Provide the vrf (mgmt-vrf,default-vrf or <user defined vrf>) on which to start/stop telnet server device# telnet server use-vrf red shutdown
device(config)# no telnet server use-vrf red shutdown
Note
The shutdown option for a given VRF is displayed only when the Telnet server was configured and then shutdown on that VRF. Otherwise, the VRF name and shutdown option are not displayed for the no form of the command.