telnet server

Configures the Telnet server on the device.

Syntax

telnet server use-vrf name [ shutdown ]
no telnet server use-vrf name [ shutdown ]

Command Default

The Telnet service is enabled by default.

Parameters

use-vrf name
Specifies a user-defined VRF.
shutdown
Disables the Telnet server.

Modes

Global configuration mode

Usage Guidelines

Use the no form of the command to re-enable the Telnet service on the device.

Shutting down the Telnet service forcibly disconnects all Telnet sessions running on a device.

Telnet services are associated and started on mgmt-vrf and default-vrf.

Telnet server can be enabled on a maximum number of 32 VRFs.

Examples

The following example shuts down the Telnet server on the default VRF.

device# configure terminal
device(config)# telnet server use-vrf default-vrf shutdown