Enabling and disabling inbound Telnet access
In the default configuration, inbound Telnet access is enabled.
Enabling and disabling inbound Telnet access
To enable inbound Telnet access, do one of the following:
Before you enable or disable inbound Telnet access on a switch, you must insure that the switch has a separate out-of-band management port if you want to use an out-of-band management port for Telnet access. See Appendix I, "Network Out-of-Band Management" in this guide for more information about out-of-band management.
To disable inbound Telnet access, do one of the following:
Use the
no telnet-server
command to disable inbound Telnet access through the data ports.Use the following command to disable inbound Telnet access through specific ports:
no telnet-server [ listen < oobm | data | both > ]
Data ports (listen data option), out-of-band management ports (listen oobm option), or both data and out-of-band management ports (listen both) can be specified.
Examples
To disable inbound Telnet access:
switch(config)# no telnet-server
To re-enable inbound Telnet access:
switch(config)# telnet-server