No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Fit AP V200R010C00 Command Reference

Rate and give feedback :
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
shell

shell

Function

The shell command enables terminal services on a user interface.

The undo shell command disables terminal services on a user interface.

By default, terminal services are enabled on all user interfaces.

Format

shell

undo shell

Parameters

None

Views

User interface view

Default Level

3: Management level

Usage Guidelines

Usage Scenario

To log in to a device through a console, or Virtual Type Terminal (VTY), you can use the shell command to enable terminal services on the user interface. Otherwise, you will fail in logging in to the device through the user interface.

To configure or maintain the parameters of a user interface, the undo shell command can be used to disable terminal services on the user interface. During this period, you cannot log in to the device using the interface. After completing the configuration for the parameters of the user interface, the shell command must be used to enable terminal services on the user interface. Otherwise, authorized users may fail to log in to the device through the interface.

Implementation Procedure

When the undo shell command is executed, determine whether to disable terminal services on the user interface when the system displays a message like Warning: ui-vty0-4 will be disabled. Continue? [Y/N]:. Users may fail to log in to the device through the port after the terminal services are disabled. Exercise caution before disabling terminal interfaces on a user interface.

Precautions

After the undo shell command is executed in the VTY user interface view to disable terminal services on the VTY user interface, users cannot log in to the device using Telnet, Stelnet, and SFTP through the VTY user interface.

The undo shell command cannot be used in the interface view through which the user logs in.

The console user interface does not support this command.

Example

# Disable terminal services on VTY 0 to VTY 4.

<Huawei> system-view
[Huawei] user-interface vty 0 4
[Huawei-ui-vty0-4] undo shell
Warning: ui-vty0-4 will be disabled. Continue? [Y/N]:y
Translation
Download
Updated: 2019-07-18

Document ID: EDOC1100064353

Views: 90534

Downloads: 61

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next