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

AR500, AR510, and AR530 V200R007 Commands Reference

This document describes all the configuration commands of the device, including the command function, syntax, parameters, views, default level, usage guidelines, examples, and related commands.
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).
Entering Command Views

Entering Command Views

The device has many functions; therefore various configuration commands and query commands are provided to facilitate device management and maintenance. Huawei industrial switch router registers commands to different command views based on the functions of the commands so that users can easily use them. To configure a function, enter the corresponding command view and then run corresponding commands.

The device provides various command views. For the methods of entering the command views except the following views, see the Huawei AR Series IOT Gateway Command Reference.

Common Command Views

Name How To Enter Function
User view

When a user logs in to the device, the user enters the user view and the following prompt is displayed:

<Huawei>

In the user view, you can view the running status and statistics of the device.

System view

Run the system-view command and press Enter in the user view. The system view is displayed.

<Huawei> system-view
Enter system view, return user view with Ctrl+Z.
[Huawei]

In the system view, you can set the system parameters of the device, and enter other function views from this view.

Interface view

Run the interface command and specify an interface type and number to enter the interface view.

[Huawei] interface gigabitethernet X/Y/Z
[Huawei-GigabitEthernetX/Y/Z] 

X/Y/Z indicates the number of an interface that needs to be specified. It is in the format of slot number/card number/interface sequence number.

The interface GigabitEthernet is used as an example.

In the interface view, you can configure interface parameters including physical attributes, link layer protocols, and IP addresses.

Routing protocol view

Run a command to activate a routing protocol process in the system view. The corresponding routing protocol view is displayed.

[Huawei] isis
[Huawei-isis-1] 

In routing protocol views, you can configure most routing protocol parameters. The routing protocol views include the IS-IS view, OSPF view, and RIP view.

The command line prompt Huawei is the default host name (sysname). The prompt indicates the current view. For example, <> indicates the user view and [] indicates all other views except the user view.

NOTE:
  • Some commands can be executed in multiple views, but they have different functions after being executed in different views. For example, you can run the lldp enable command in the system view to enable LLDP globally and in the interface view to enable LLDP on an interface.

  • In the system view, you can run the diagnose command to enter the diagnostic view. Diagnostic commands are used for device fault diagnosis. If you run some commands in the diagnostic view, the device may fail to run properly or services may be interrupted. Contact technical support personnel technical support personnel and use these diagnostic commands with caution.

Exiting Command Views

You can run the quit command to return from the current view to an upper-level view.

For example, after you run the quit command to return from the AAA view to the system view, you can run the quit command again to return from the system view to the user view.
[Huawei-aaa] quit
[Huawei] quit
<Huawei>

To return from the AAA view directly to the user view, press Ctrl+Z or run the return command.

# Press Ctrl+Z to return directly to the user view.
[Huawei-aaa]           // Enter Ctrl+Z
<Huawei> 
# Run the return command to return directly to the user view.
[Huawei-aaa] return
<Huawei> 
Translation
Download
Updated: 2019-05-29

Document ID: EDOC1000097293

Views: 88820

Downloads: 121

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