In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >
Share
Shulou(Shulou.com)06/01 Report--
The noun explains:
In the early years, in the field of communications, telephones and networks were not so common. A county or city only needed to set up a telecommunications access point, called a bureau, to which the lines of all users were directly connected. With the popularity of use, a bureau can no longer meet the huge demand for use, so a local point is set in a small area, and the user is directly connected to the local point, and then each office point is centrally connected to the office. As a user, the telecommunications room directly connected to your network equipment is the office point. The local point is synonymous with the local end and the parent bureau.
[opening] after the completion of a large-scale network design, it enters the construction stage, which includes equipment installation, network wiring and so on. After the completion of the construction, it is necessary to configure the equipment and transfer each bureau point, this process is called the beginning. Configuring and booting a device during the opening process is part of the opening work of the office point, but it can also be called the beginning of the device.
[U disk start] that is to upgrade and configure the equipment through the U disk to achieve the connectivity of the equipment.
The significance of the beginning of a flash drive
Generally, there are three ways to configure and upgrade the device, namely, FTP, Console and USB disk, among which FTP and Console require that the network has been connected or the engineer needs to operate on the spot. However, in some application scenarios, the network is usually unreachable or the field engineers are not proficient in operation, and in many scenarios, configuration and upgrades need to be carried out in the wee hours or non-working days. The start of USB disk becomes a very simple and low-cost solution.
The general process of the start of the second U disk
The beginning of U disk is roughly divided into three processes:
1. U disk preparation
The engineer writes the USB_AR.ini file, which contains all the information needed to upgrade or configure, including the upgrade or configuration startup time, the device description and the storage path of the device upgrade or configuration file. The start of USB disk supports batch upgrade, that is, all upgrade or configuration information is put into a U disk, and the device can automatically find the upgrade or configuration file it needs. The USB_AR.ini file needs to be placed in the root directory of the U disk, and the corresponding upgrade or configuration files should also be placed in the corresponding directory of the U disk.
two。 Automatic upgrade, configuration
To ensure that the device is in the power-on state, and the device is empty configuration or has started the USB disk start function, insert the USB disk. The device will automatically start the upgrade or configuration as described in the USB_AR.ini file. This process may cause the device to restart.
3. Complete
Just unplug the USB drive after confirming that the upgrade or configuration is complete.
Detailed explanation of three USB_AR.ini files
USB_AR.ini is an index file with a fixed name, which can be edited to control the device configuration and upgrade process. The following is an application example to upgrade the system of two devices.
BEGIN AR / / specify the start flag [USBCONFIG] / / basic configuration SN=20141014.160000 / / whether the specified start time EMS_ONLINE_STATE=NO / / network management is online [UPGRADEINFO] / / upgrade information OPTION=AUTO / / upgrade mode (automatic) DEVICENUM=2 / / number of devices (2) [DEVICE1DESCRIPTION] / / The first device describes whether OPTION=OK / / needs to be upgraded (yes) ESN=201023535236TD6000109 / / device tag code The MAC=DEFAULT / / MAC address of the two devices can be distinguished by the label code and the MAC address. The label code and MAC address can be used to distinguish the two devices VERSION=V200R005C20 / / upgrade version DIRECTORY=DEFAULT / / upgrade file directory (default is the root directory) FILENUM=1 / / number of upgrade files TYPE1=SYSTEM-SOFTWARE / / upgrade file type FILENAME1=AR1220-S-V200R005C20SPC200.CC upgrade file name [DEVICE2DESCRIPTION] / / the second device describes whether OPTION=OK / / is required Upgrade (yes) ESN=201023535236TD6000110 / / device tag code The MAC=DEFAULT / / MAC address of the two devices can be distinguished by the label code and the MAC address. The label code and MAC address can be used to distinguish the two devices VERSION=V200R005C20 / / upgrade version DIRECTORY=DEFAULT / / upgrade file directory (default is the root directory) FILENUM=1 / / number of upgrade file TYPE1=SYSTEM-SOFTWARE / / upgrade file type FILENAME1=AR1220-S-V200R005C20SPC200.CC / / upgrade file name END AR / / specify the end flag
From this example, we can see the following points:
1. Upgrade time can be specified
two。 The upgrade of multiple devices can be described in one file.
3. Different devices can be distinguished by ESN and MAC
4. You can specify the path and name of the upgrade file
5. Users only need to make one such file, and then insert different devices to complete the batch upgrade.
Four-empty configuration and non-empty configuration
At the beginning of using U disk, there are two cases of empty configuration device and non-empty configuration device. For empty configuration device, you can insert U disk directly. For the non-empty configuration device, the U disk opening function of the enabling device is required, that is, it is recognized by the administrator to prevent the equipment from being mistakenly upgraded or modified due to the misinsertion of the U disk, thus affecting the existing network structure.
The USB disk opening function enables the command "autoupdate enable".
Pay attention to the beginning of the five flash drive.
1. The file system format of U disk must be FAT32, and the hardware interface standard is USB2.0.
two。 The recommended flash drive model of Huawei is "Lanke U208 4G"
3. The write operation of USB flash drive needs to be opened.
4. Verify that the device can start normally and that there is enough memory space in the FLASH or SD card of the device to save the opening file.
5. It is not supported to insert two flash drives at the same time.
6. The equipment cannot be powered off and the flash drive cannot be unplugged during the opening process.
7. The opening files of U disk include index files (i.e. USB_AR.ini), system software, configuration files, patch files, language files, License files and user-defined files. Among them, the index file is necessary, otherwise the start will not start automatically.
8. Password, HMAC check, configuration file encryption and other measures can be used to protect whether the start of the USB flash drive is legal.
Check the start progress of six flash drives.
1. You can use the dis usb usb-id (1or0) autoupdate state to view the status of the start of the flash drive.
two。 The start status of the USB disk can be judged by the ACT indicator on the device panel:
Flashing green light: in progress
The green light is always on: success
Red light always on: failure
3. If it is a system upgrade or configuration modification, you can check the progress of file transfer in the corresponding directory in the device.
4. If it is a system upgrade, you can use the command "disp start" to view the system startup file after the device restart, and use the command "disp version" to view the system startup version.
Analysis of the opening process of Seven U disk
1. After the device detects the insertion of the U disk, it first inquires whether there is a USB_AR.ini file, if it does not exist, nothing happens. If there is, read the file and analyze it.
two。 The device divides the USB_AR.ini file content into three parts
1) USB CONFIG
Save upgrade time
2) UPGADE INFO
Save the number of upgrade modes and upgraded devices
3) DEVICE DESCRIPTION
Description of the device, as well as the upgrade type and upgrade file corresponding to the device
3. The device finds the corresponding file on the USB disk according to the description of USB_AR.ini and copies the file to the device.
4. If there is a system upgrade or configuration modification, automatically enable the new file to be used in the future after the file copy is completed.
5. There may be a process of restarting the device.
6. Old configuration or system files may not be deleted or overwritten
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.