Switch from the user view to the system view on an AR router


Run the system-view command in the user view to enter the system view.

Other related questions:
How to view login information on the AR router
You can run the display users command to check login information on each user interface. The login information including user names and IP address and user authorization information is displayed. Example: [Huawei] display users User-Intf Delay Type Network Address AuthenStatus AuthorcmdFlag 129 VTY 0 00:00:00 TEL pass Username : user1 + 130 VTY 1 00:00:00 TEL pass Username : user2

How to configure a user level on an AR router
Methods of configuring user levels vary with specific scenarios (command lines):
- Configure a user level for a user.
[Huawei] aaa
[Huawei-aaa] local-user user1 privilege level 15  //Set the user level of user 1 to 15.  
-  Configure a user level for all users under a domain.
[Huawei] aaa
[Huawei-aaa] service-scheme sch1
[Huawei-aaa-service-sch1] admin-user privilege level 15  //Set the user level of all users under a domain to 15.  
-  Configure a user level for all users who log in through a page (take the VTY view as an example).
[Huawei] user-interface maximum-vty 15
[Huawei] user-interface vty 0 14
[Huawei-ui-vty0-14] user privilege level 15  //Set the user level in the VTY 0 to VTY 14 views to 15.
The preceding command is used to modify a user level as well. This command overwrites preceding operation results. Therefore, if this command is run multiple times, the last-time operation prevails.
If the user level configured on a page conflicts with the corresponding operation permission of a user, the operation permission prevails.

Configure a user level in web mode.
1.  Choose User Management > User Management.
2.  Click an icon of a desired local user from the user list.
3.  Enter corresponding content.
  a.  The super administrator enters Access level in order to modify the access level of other users.
  b.  To change Access level from the common user to the administrator (common administrator, enterprise administrator, or super administrator), enter New password and confirm Confirm password.

How to view log information of an AR
Log information of an AR is stored in the log buffer first. When the log buffer is full, the system automatically saves log information in the log buffer to a storage medium of the AR. The log file is automatically generated by the system, with the file name extension *.log or *.dblg.
1. The following describes how to view a log file and log buffer using commands.
- To check the log file name, run the dir command in the user view.
 <Huawei>dir /all                                                        
Directory of flash:/                                                            
  Idx  Attr     Size(Byte)  Date        Time(LMT)  FileName                     
    0  -rw-        516,885  Feb 14 2009 02:13:14   2009-02-14.02-13-00.dblg.zip
    1  -rw-        479,440  Jan 17 2009 04:10:43   2009-01-17.04-10-30.dblg.zip
    2  -rw-        484,459  Jan 25 2009 19:35:59   2009-01-25.19-35-45.dblg.zip
    3  -rw-        160,660  Mar 17 2009 14:27:58   2009-03-17.12-27-52.dblg.zip  
- To view log information saved in the log file, run the following command:display logfile file-name //file-name indicates the name of a log file.
- To view log information in the log buffer, run the following command:display logbuffer

2. To view a log file and log buffer in the web management system, perform the following operations:
Log in to the web management system, choose System Management > Log Management, and you can view and operate logs.

How do I view the OSPF cost and Preference on the AR router
The display ospf lsdb command displays OSPF LSDB information. The display ospf brief command displays brieft OSPF information.

How do I view login records of L2TP VPN users on the AR router
You cannot view login records of L2TP VPN users on the AR router.

If you have more questions, you can seek help from following ways:
To iKnow To Live Chat
Scroll to top