The shell command enables an administrator to start terminal services on an administrator interface of a FW.
The undo shell command disables terminal services on an administrator interface of a FW.
By default, the terminal service is enabled on all administrator interfaces.
# Disable the terminal service on VTY0 to VTY4.
<sysname> system-view [sysname] user-interface vty 4 [sysname-ui-vty4] undo shell Warning: Ui-vty4 will be disabled. Continue? [Y/N]:y
# When you attempt to log in to a VTY interface using Telnet, the FW displays the following message:
The connection was closed by the remote host!