What should I do if the configuration of an AR router is lost

24

Restore the configuration file from the storage.
1. Restore the configuration file in the router sd as the configuration file for the current system.

<Huawei> copy sd1:/backup.cfg sd1:/config.cfg
2. Restart the router to complete the configuration restoration.
<Huawei> reboot
Info: The system is comparing the configuration, please wait.
Warning: All the configuration will be saved to the next startup configuration. Continue? [y/n]: n
System will reboot! Continue? [y/n]: y
Info: system is rebooting ,please wait...

Other related questions:
What should I do if the license activation code is lost
If your license activation code is lost, use either of the following methods to obtain it: 1. If you have a license authorization certificate, obtain the license activation code from the certificate, as shown in the right figure. Note: A license authorization certificate is an available PDF or printed file, and made in compliance with a sales contract. Printed certificates are delivered with the products. Electronic certificates are sent to customers' email boxes by the license management system. 2. If you do not have a license authorization certificate, send an email that contains the Huawei contract number of the purchased device to license@huawei.com to seek technical support. Note: If you do not have the Huawei contract number, contact your upper-level dealer.

How to configure a sub-interface on an AR router
A sub-interface is a virtual interface configured on a physical interface. It is generally used for the communication between a physical link and multiple remote ends. Sub-interfaces include: Ethernet sub-interfaces, Eth-Trunk sub-interfaces, PON sub-interfaces, ATM sub-interfaces, and FR sub-interfaces. Configure a sub-interface as follows: [Huawei] interface ethernet 2/0/0 [Huawei-Ethernet2/0/0] undo portswitch //Switch the current interface to a Layer-3 interface. [Huawei-Ethernet2/0/0] quit [Huawei] interface ethernet 2/0/0.1 //Enter the view of the sub-interface.

What should I do if the configuration is lost after a WLAN device is restarted
The loss of configuration after AC restart is generally caused by either of the following: the configuration file is not saved successfully, or the specified startup file is incorrect. Perform the following operations for different problems: Scenario 1: The configuration is not saved or fails to be saved. save The current configuration will be written to the device. Are you sure to continue?[Y/N]Y Info: Please input the file name(*.cfg,*.zip)[vrpcfg.zip]:Y If it is a new AC, the system will ask you to enter the file name (vrpcfg.zip by default, which can also be created with the file name extension .zip or .cfg) when you save the configuration for the first time. If you do not need to save the configuration to another file, press Enter directly. (You must press Enter or enter a new configuration file name. Otherwise, the configuration cannot be saved and the AC is unconfigured after restart.) If the system shows "Info: Save the configuration successfully.", the configuration file is successfully saved. You are advised to run the display saved-configuration command to verify that the configuration is properly saved. Scenario 2: The configuration file is not specified, or the configuration file specified for the next startup is different from the saved configuration file. a. Check the configuration file. dir /all b. Check the startup file. Check whether the name of the next startup saved-configuration file is the same as that of the saved configuration file. If the file name is null or is different from that of the saved configuration file, specify the configuration file for next startup again. display startup c. Specify the configuration file for the next startup startup saved-configuration vrpcfg.zip Scenario 3: WLAN service configurations on the AC are not delivered to Fit APs and therefore do not take effect. After WLAN services are configured on the AC, run the commit { all | ap ap-id } command in the WLAN view to deliver the configuration.

What should I do if the configuration of an S series switch is lost after restart
If the configuration of an S series switch (except the S1700) is lost after restart, the possible reasons are as follows: the configuration fails to be saved or the specified startup file is incorrect. Handle the problem as follows:
1. If the configuration fails to be saved, run the following command to save the configuration:
<HUAWEI> save
The current configuration will be written to the device. Are you sure to continue?[Y/N]Y
Info: Please input the file name(*.cfg,*.zip)[vrpcfg.zip]:Y
When the configuration of a new switch is saved for the first time, the system asks you to enter the name of the configuration file to which the configuration is to be saved, which is vrpcfg.zip by default or a created file with name extension .zip or .cfg. If the configuration does not need to be saved to other files separately, press Enter. (Press Enter or enter the new configuration file name. Otherwise, the configuration cannot be written to the configuration file and the switch still restarts with no configuration.)
If the message Info: Save the configuration successfully. is displayed, the configuration is saved successfully. You are advised to run the display saved-configuration command to verify that the configuration is successfully written to the configuration file.
2. If the configuration file for the next startup is not specified or the name of the specified file is different from that of the saved configuration file, perform the following operations:
a. Check the configuration file.
<HUAWEI> dir /all
b. Check whether the name of the configuration file for the next startup (represented by the Next startup saved-configuration file field) is the same as that of the saved configuration file. If the field is empty or specifies another file name, run a command to specify the saved configuration file for the next startup.
<HUAWEI> display startup
c. Specify the configuration for the next startup. startup saved-configuration vrpcfg.zip
3. If DHCP-related configurations are lost after DHCP is configured and saved on a new switch that is started for the first time, the possible cause is as follows:
If a switch starts without any configuration, the switch automatically starts the auto-config process. This process triggers the DHCP function for the switch to automatically obtain an IP address and the configuration file from a DHCP on the network. When DHCP is manually configured, the auto-config process is automatically disabled, so the DHCP function is also automatically disabled. Therefore, DHCP-related commands are lost after the DHCP configuration is saved.

How to configure remote traffic mirroring on AR series routers
Remote traffic mirroring is only supported in V200R005C32 and earlier versions. By configuring remote traffic mirroring, you can replicate specific packets transmitted through an interface to remote monitoring devices for analysis and surveillance. Before configuring remote traffic mirroring, ensure that the routing protocol and GRE tunnels are configured. 1. Configure the remote observing server. Procedure Run the system-view command to enter the system view. Run the observe-server destination-ip destination-ip-address source-ip source-ip-address [ dscp dscp-value ] command to configure the observing server in remote traffic mirroring. Note: The destination-ip-address parameter indicates the IP address of the monitoring device. The source-ip-address parameter indicates the IP address of the mirroring interface. If the IP addresses of the monitoring device and the mirroring interface are private IP addresses, GRE tunnels must be configured first to ensure the interworking between private IP addresses on public networks. 2. Configure traffic mirroring. Background In traffic mirroring, the mirroring interface applies a traffic policy that includes traffic mirroring behavior. Packets that are transmitted through the interface and match the traffic classification rules are replicated to the observing interface. Procedure a. Configure the traffic classifier. Run the system-view command to enter the system view. Run the traffic classifier classifier-name [ operator { and | or } ] command to create a traffic classifier and enter the view of the traffic classifier. Run the if-match command to configure the matching rule of the traffic classifier. Run the quit command to quit the view of the traffic classifier. b. Configure the traffic behavior. Run the traffic behavior behavior-name command to create traffic behavior and enter the view of the traffic behavior. Run the mirror to observe-port command to mirror traffic that matches the rule to the specified observing interface. Run the quit command to quit the view of the traffic behavior. Run the quit command to quit the system view. c. Configure the traffic policy. Run the system-view command to enter the system view. Run the traffic policy policy-name command to create a traffic policy and enter the view of the traffic policy, or directly enter the view of an existing traffic policy. Run the classifier classifier-name behavior behavior-name command to configure the traffic behavior of specified traffic classifiers in the traffic policy, that is, bind the traffic behavior to the specified traffic classifier. Run the quit command to quit the view of the traffic policy. Run the quit command to quit the system view. d. Apply the traffic policy. Run the system-view command to enter the system view. Run the interface interface-type interface-number [.subinterface-number ] command to enter the interface view. Run the traffic-policy policy-name { inbound | outbound } to apply the traffic policy in the inbound or outbound direction of the interface.

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