Access an ONTAP cluster using Telnet requests
You can issue Telnet requests to the cluster to perform administrative tasks. Telnet is disabled by default.
Telnet and RSH are not secure protocols; you should consider using SSH to access the cluster. SSH provides a secure remote shell and interactive network session. For more information, refer to Access the cluster using SSH.
The following conditions must be met before you can use Telnet to access the cluster:
- 
You must have a cluster local user account that is configured to use Telnet as an access method.
The
-applicationparameter of thesecurity logincommands specifies the access method for a user account. Learn more aboutsecurity loginin the ONTAP command reference. 
- 
ONTAP supports a maximum of 50 concurrent Telnet sessions per node.
If the cluster management LIF resides on the node, it shares this limit with the node management LIF.
If the rate of in-coming connections is higher than 10 per second, the service is temporarily disabled for 60 seconds.
 - 
If you want to access the ONTAP CLI from a Windows host, you can use a third-party utility such as PuTTY.
 - 
RSH commands require advanced privileges.
 
- 
Confirm that the Telnet security protocol is enabled:
security protocol show- 
If the Telnet security protocol is enabled, continue to the next step.
 - 
If the Telnet security protocol is not enabled, use the following command to enable it:
security protocol modify -application telnet -enabled true 
Learn more about
security protocol showandsecurity protocol modifyin the ONTAP command reference. - 
 - 
Confirm that the
management-telnet-serverservice exists on the management LIFs:network interface show -services management-telnet-serverLearn more about
network interface showin the ONTAP command reference.- 
If the
management-telnet-serverservice exists, continue to the next step. - 
If the
management-telnet-serverservice does not exist, use the following command to add it:network interface service-policy add-service -vserver cluster1 -policy default-management -service management-telnet-serverLearn more about
network interface service-policy add-servicein the ONTAP command reference. 
 - 
 
The following conditions must be met before you can use Telnet to access the cluster:
- 
Telnet must already be enabled in the management firewall policy that is used by the cluster or node management LIFs so that Telnet requests can go through the firewall.
By default, Telnet is disabled. The
system services firewall policy showcommand with the-service telnetparameter displays whether Telnet has been enabled in a firewall policy. Learn more aboutsystem services firewall policyin the ONTAP command reference. - 
If you use IPv6 connections, IPv6 must already be configured and enabled on the cluster, and firewall policies must already be configured with IPv6 addresses.
The
network options ipv6 showcommand displays whether IPv6 is enabled. Learn more aboutnetwork options ipv6 showin the ONTAP command reference. Thesystem services firewall policy showcommand displays firewall policies. 
- 
From an administration host, enter the following command:
telnet hostname_or_IPhostname_or_IPis the host name or the IP address of the cluster management LIF or a node management LIF. Using the cluster management LIF is recommended. You can use an IPv4 or IPv6 address. 
The following example shows how the user named "joe", who has been set up with Telnet access, can issue a Telnet request to access a cluster whose cluster management LIF is 10.72.137.28:
admin_host$ telnet 10.72.137.28 Data ONTAP login: joe Password: cluster1::>