Page 2
All other trademarks and trade names mentioned in this document are the property of their respective holders. Notice The purchased products, services and features are stipulated by the contract made between Huawei and the customer. All or part of the products, services and features described in this document may not be within the purchase scope or the usage scope.
1 Logging In to the System for the First Time Figure 1-3 Communication parameter setting Step 4 Press Enter. A command line prompt such as <HUAWEI> appears, and the user view is displayed for you to configure the router. ----End 1.3 Logging In to the router That Supports the Plug-and-Play...
Page 24
Chapter 4 "Basic Configuration" Configuring Command Levels in the HUAWEI NetEngine80E/40E Configuration Guide - Basic Configurations. NOTE l The default command level may be higher than the command level defined according to the command rules in application.
The following part uses the user, system, and BFD views as an example: # Establish connection to the router. If the router adopts the default configuration, you can enter the user view with the prompt of <HUAWEI>. <HUAWEI> # Run the system-view command to enter the system view.
NOTE The command prompt "HUAWEI" is the default host name. The prompt indicates a specific view. For example, "<HUAWEI>" indicates the user view, and "[HUAWEI-ui-console0]" indicates the console user interface view. Some commands can be used in both system and other views, but have different effects. For example, the mpls command can be run in the system view to enable MPLS globally or in the interface view to enable MPLS only on this interface.
2 CLI Overview Specifying a Filtering Mode in Command CAUTION The HUAWEI NetEngine80E/40E uses a regular expression to implement the filtering function of the pipe character. A display command supports the pipe character only when there is excessive output information.
No double quotation marks are required for single-word commands. Step 2 Press Ctrl_U when the prompt [HUAWEI] appears. [HUAWEI] display ip routing-table Route Flags: R - relay, D - download to fib...
Step 2 Run: sysname host-name The equipment name is set. By default, the equipment name of the router is HUAWEI. You can change the name of the router that appears in the command prompt. ----End 3.1.4 Setting the System Clock You need to set the system time properly to ensure the cooperation between the NE80E/40E and other devices.
<HUAWEI> system-view [HUAWEI] user-interface maximum-vty 15 [HUAWEI] user-interface vty 5 14 [HUAWEI-ui-vty5-14] authentication-mode password [HUAWEI-ui-vty5-14] set authentication password cipher huawei ----End 4.4.3 (Optional)Setting Limit on Incoming and Outgoing Calls of VTY User Interfaces This section describes how to configure an ACL to limit incoming and outgoing calls of the VTY user interface.
In the console user interface view, the user priority is set to 15, and the password authentication mode is set (the password is huawei). After a user logs in, if the user takes no action on the router for more than 30 minutes, the connection between the user and the router is torn down.
Page 75
Timeout period for disconnecting from the console user interface: 30 minutes Number of lines that a terminal screen displays: 30 Size of the history command buffer: 20 User priority: 15 User authentication mode: password (password: huawei) Procedure Step 1 Set physical attributes of the console user interface. <HUAWEI> system-view...
In the AUX user interface, the user priority is set to 15, and the authentication mode is set to AAA, with the user name of user123 and the password of huawei. After a user logs in, if the user takes no action on the router for more than 30 minutes, the connection between the user and the router is torn down.
Page 77
[HUAWEI-ui-aux0] authentication-mode aaa [HUAWEI-ui-aux0] quit [HUAWEI] aaa [HUAWEI-aaa] local-user user123 password simple huawei [HUAWEI-aaa] quit After the AUX user interface is configured, a user in AAA authentication mode can log in to the router through an AUX port, implementing maintenance of the router. For details on how a...
In the VTY user interface, the user priority is set to 15, the authentication mode is set to password, with the password of "huawei", and the user with the IP address of 10.1.1.1 is prohibitted from logging in to the router.
Page 79
HUAWEI NetEngine80E/40E Router Configuration Guide - Basic Configurations 4 Configuring User Interface User priority: 15 User authentication mode: password, password: huawei Procedure Step 1 Set the maximum number of VTY user interfaces. <HUAWEI> system-view [HUAWEI] user-interface maximum-vty 15 Step 2 Set the limit on call-in and call-out in the VTY user interface.
Step 4 Press Dialing. If user authentication is needed, input the corresponding authentication information, and wait till the command line prompt of the user view appears, such as <HUAWEI>. This indicates that the user view is entered and relevant configurations can be input.
Step 2 Run the telnet ip-address command to telnet the router. Input the IP address of the Telnet server. Press "Enter" to display the command line prompt of the system view, such as <HUAWEI>. This indicates that you have accessed the Telnet server. Issue 02 (2011-09-10) Huawei Proprietary and Confidential...
HUAWEI NetEngine80E/40E Router Configuration Guide - Basic Configurations 5 Configuring User Login Wait till the prompt (mostly the <HUAWEI>) appears, and then you can use a command to view the running status of the router or configure the router. ----End 5.7.2 Example for Logging In Through the AUX Port...
Step 4 Log in to the router. Enter the user name and password in the remote terminal emulation program. After authentication succeeds, a command line prompt such as <HUAWEI> appears. Enter the command to check the running status of the router or configure the router.
Page 114
Number of lines that a terminal screen displays: 30 Size of the history command buffer: 20 Telnet user information (authentication mode: AAA, user name: huawei, password: hello) Procedure Step 1 Respectively connection the PC and the router to the network.
Page 117
[SSH Server-ui-vty0-4] quit NOTE If SSH is configured as the login protocol, the NE80E/40E automatically disables Telnet. Step 3 Configure the password of the SSH user Client001 to huawei. [SSH Server] aaa [SSH Server-aaa] local-user client001 password cipher huawei [SSH Server-aaa] local-user client001 level 3...
SSH1.X, SSH2.0 is extended in structure and supports more compatibility authentication modes and key exchange methods. SSH2.0 also supports more advanced services such as SFTP. The HUAWEI NetEngine80E/40E supports SSH versions ranging from 1.3 to 2.0. Listening port The default listening port number of an SSH server is 22. Users can log in to number of an the device by using the default listening port number.
Page 148
IP address of the FTP server, that is, 10.137.217.221 Timeout period for the FTP connection, that is, 30 minutes FTP username as huawei and password as huawei on the server The destination file name and its position in the FTP client Procedure Step 1 Configure the IP address of the FTP server.
Page 151
Enable SFTP services on the SSH server and configure a user service type. Data Preparation To complete the configuration, you need the following data: SSH user authentication mode: password, user name: client001, password: huawei User level of client001: 3 IP address of the SSH server: 10.137.217.225 Procedure Step 1 Configure a local key pair on the SSH server.
Page 205
Users Client001 and Client002 log in to the SSH server through STelnet. Data Preparation To complete the configuration, you need the following data: Client001 with the password as huawei and adopt the password authentication. Client002, adopt the RSA authentication and assign the public key RsaKey001 to Client002.
Page 206
# Configure the password authentication for the SSH user Client001. [SSH Server] ssh user client001 [SSH Server] ssh user client001 authentication-type password # Configure the password of the SSH user Client001 to huawei. [SSH Server] aaa [SSH Server-aaa] local-user client001 password cipher huawei...
Page 208
The server's public key will be saved with the name 10.10.1.1. Please wait... Enter password: Enter the password huawei. It shows that the login is successful, as follows: Info: The max number of VTY users is 20, and the number of current VTY users on line is 6.
Page 213
The display may be different depending on different TFTP server applications run in the computer. Step 2 Log in to the router from the computer HyperTerminal and enter the following command to download the file. <HUAWEI>tftp 10.111.16.160 public-net get V600R003C00SPC300.cc cfcard:/ V600R003C00SPC300.cc Info: Transfer file in binary mode.
8-15, the route between Router A that functions as the FTP client and the FTP server is reachable. A user needs to download system software and configuration software from the FTP server. The Huawei router functions as an FTP server. Figure 8-15 Networking diagram for accessing files on another device by using FTP...
Page 215
Target file and its location on Router A Procedure Step 1 Configure an FTP user on the FTP server. <HUAWEI> system-view [HUAWEI] aaa [HUAWEI-aaa] local-user huawei password simple 123 [HUAWEI-aaa] local-user huawei service-type ftp [HUAWEI-aaa] local-user huawei ftp-directory cfcard: [HUAWEI-aaa] quit Step 2 Enable the FTP server.
Data Preparation To complete the configuration, you need the following data: IP address of the FTP server is 1.1.1.1 User name huawei and password huawei The destination file name and its position in the router Procedure Step 1 Log in to the FTP server from the router.
SSH server with the password, RSA, password-rsa, or all authentication. In this example, the Huawei router functions as an SSH server. Two users client001 and client002 are configured to log in to the SSH server in the authentication mode of password and RSA respectively.
Page 218
Data Preparation To complete the configuration, you need the following data: Client001 with the password as huawei and adopt the password authentication. Client002, adopt the RSA authentication and assign the public key RsaKey001 to Client002. IP address of the SSH server is 10.10.1.1.
Page 219
8 Accessing Another Device [SSH Server] ssh user client001 [SSH Server] ssh user client001 authentication-type password # Set huawei as the password for the Client001 of the SSH user. [SSH Server] aaa [SSH Server-aaa] local-user client001 password simple huawei [SSH Server-aaa] local-user client001 service-type ssh [SSH Server-aaa] quit l Create Client002 for the SSH user.
SFTP server on the public network, you need to connect the router to the SFTP server on the public network. The Huawei router functions as an SSH server. Two users client001 and client002 are configured to access the SSH server in the authentication mode of password and RSA respectively.
Page 224
# Create an SSH user with the name Client001. The authentication mode is password. [SSH Server] ssh user client001 [SSH Server] ssh user client001 authentication-type password # Set huawei as the password for the Client001 of the SSH user. [SSH Server] aaa [SSH Server-aaa] local-user client001 password simple huawei...
Page 229
The Huawei router functions as an SSH server. The client client001 is configured to log in to the SSH server by using STelnet in the authentication mode of password; the client client002 is configured to log in to the SSH server by using SFTP in the authentication mode of RSA.
Page 231
# Create an SSH user with the name Client001. The authentication mode is password. [SSH Server] ssh user client001 [SSH Server] ssh user client001 authentication-type password # Set huawei as the password toSSH user Client001. [SSH Server] aaa [SSH Server-aaa] local-user client001 password simple huawei...
Page 232
10.10.1.1. Please wait... Enter password: Enter the password Huawei and view as follows: Info: The max number of VTY users is 10, and the number of current VTY users on line is 1.
CE1 on the private network through PE1. The Huawei router functions as an SSH server. The client client001 is configured to log in to the SSH server by using STelnet in the authentication mode of password; the client client002 is configured to log in to the SSH server by using SFTP in the authentication mode of RSA.
Page 235
VPN-target on PE is 111:1 IP address 10.1.1.2 of PE1; IP address 10.1.2.2 of PE2 Client001 with the password as huawei and adopt the password authentication Client002, adopt the RSA authentication and assign the public key RsaKey001 to Client002 IP address of the SSH server CE1 on the private network, that is, 10.1.1.1...
Page 239
# Create an SSH user with the name Client001. The authentication mode is password. [CE1] ssh user client001 [CE1] ssh user client001 authentication-type password # Set huawei as the password for the Client001 of the SSH user. [CE1] aaa [CE1-aaa] local-user client001 password simple huawei...
Page 240
The server's public key will be saved with the name:10.1.1.1. Please wait... Enter password: Enter the password huawei. The following information is displayed: Info: The max number of VTY users is 10, and the current number of VTY users on line is 1.
Step 2 Run: clock bits-type An external BITS clock source and its signal type are configured. For information about clock source IDs and signal types, refer to the HUAWEI NetEngine80E/ 40E Router - Command Reference. ----End 9.3.4 Checking the Configuration Context Run the following commands to check the previous configuration.
Enter slot-id to view information about the electronic label of the board in the specified slot. NOTE For the range of numbers of the slots on the router, refer to the HUAWEI NetEngine80E/40E Router Hardware Description. Information displayed includes the type of the board and PIC card, bar code, BOM, English description, production date, supplier name, issuing number, CLEI (Common Language Equipment Identification) code, and sales BOM.
If this command is run to reset a master MPU and no slave MPU exists, the master MPU is reset with the CPU being powered on. If a slave MPU exists, this command performs master/slave MPU switchover. l If the board is still abnormal after being reset, contact the Huawei technical support personnel. ----End 10.12.2 Clearing the Maximum CPU Usage To recalculate the maximum CPU usage, you can clear the original statistics.
Page 303
17 Caution!!! This command may affect operation by wrong use, please carefully use it with HUAWEI engineer's direction. Are you sure to do this operation?[Y/N]?y Step 3 Verify the configuration. # Check the registration status of the MPU. You can view that the MPU in slot 17 is in the unregistered and abnormal state.
19 Caution!!! This command may affect operation by wrong use, please carefully use it with HUAWEI engineer's direction. Are you sure to do this operation?[Y/N]?y Step 2 Verify the configuration. # Check the registration status of the SRU in slot 19. You can view that the SRU is in the unregistered and abnormal state.
<HUAWEI> power off slot 5 Caution!!! This command may affect operation by wrong use, please carefully use it with HUAWEI engineer's direction. Are you sure to do this operation?[Y/N]?y Step 2 Verify the configuration. Issue 02 (2011-09-10) Huawei Proprietary and Confidential...
When upgrading the NE80E/40E at the site, prepare a spare part for each board. Obtain the new system software, the Product Adaptive File (PAF) or license file, and the corresponding documents of the new version from Huawei. Back up configuration files, and collect and save service configurations.
12-3shows that some urgent bug occurs to the system software at the Provider Edge (PE) connected to the Internet. Huawei provides the patch file to remove the bug. The patch in this patch file must be installed to remove the bug.
Page 334
Configuration Guide - Basic Configurations A Glossary HGMPv2 Huawei Group Management Protocol Version 2. A protocol with which the discovery, topology collection, centralized management and remote maintenance are implemented on Layer 2 devices of a cluster that are connected with the router.
Page 335
239.255.255.255. Each multicast address represents a multicast group rather than a host. Neighbor Discovery Protocol. A protocol that is used to discover the information of the neighboring Huawei device that is connected with the local device. Network Management System. A system that sends various query packets and receives the response packet and trap packet from the managed devices and displays all the information.
Page 337
Versatile Routing Platform. A versatile routing operating system platform developed for all data communication products of Huawei. With the IP service as its core, the NE80E/40E adopts the componentized architecture. The NE80E/40E realizes rich functions and provides tailorability and scalability based on applications.