< Home

shell

Function

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.

Format

shell

undo shell

Parameters

None

Views

Administrator interface view

Default Level

3: Management level

Usage Guidelines

The console interface does not support the shell command.

Example

# 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!
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >