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

CLI-based Configuration Guide - Basic Configuration

AR100, AR120, AR150, AR160, AR200, AR1200, AR2200, AR3200, and AR3600 V200R010

This document provides the basic concepts, configuration procedures, and configuration examples in different application scenarios of the Basic configuration supported by the device.
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).
Option Parameters

Option Parameters

A DHCP server sends DHCP packets with the Option field carrying configuration parameters to clients to implement the Auto-Config function.

Table 2-1 shows DHCP Option parameters used in Auto-Config.
Table 2-1  DHCP Option parameters

Option

Description

Option 43

Configuration of the ACS server assigned to DHCP clients.
  • sub-option 1: information about ACS URL.Format:
    URL=URL_INFO;
    Example:
    URL=http://192.168.1.40:80/acs;
  • sub-option 2: ACS user name and password. Format:
    username=USERNAME;password=PASSWORD;
    Example:
    username=user;password=huawei;

Option 67

Name of the configuration file assigned to DHCP clients.

NOTE:

The configuration file path can be specified, The total length of the file path and name cannot exceed 64 bytes. By default, the file path is the server's root directory.

For example, if the server's root directory is flash:/, and the configuration file vrpcfg.cfg is saved to the config folder in the flash:/ directory, the file name with the file path can be specified as config/vrpcfg.cfg.

Option 141

FTP/SFTP user name assigned to DHCP clients.

Option 142

FTP/SFTP password assigned to DHCP clients.

Option 143

FTP server IP address assigned to DHCP clients.

Option 145

Information about the non-configuration file assigned to DHCP clients, for example: information about the system software, version ID and patch file. Format:
vrpfile=VRPFILENAME;vrpver=VRPVERSION;patchfile=PATCHFILENAME;
Example:
vrpfile=auto_V200R010.cc;vrpver=V200R010;patchfile=auto_V200R010.pat;

Option 146

User-defined settings, including file deletion policy used when memory space is insufficient and delay in activating the configuration file. Format:

  • opervalue = 0: indicates that no system software will be deleted from the file system when the space is insufficient. opervalue=1: indicates that system software will be deleted from the file system when the space is insufficient. By default, no file will be deleted from the file system when the space is insufficient.
  • delaytime: specifies the delay in restarting a device after a configuration file is downloaded to the device, in seconds. By default, the delay is 0 seconds.
NOTE:

The maximum delay in restarting a device is 1 day, namely, 86400 seconds. If the configured delay exceeds 1 day, the delay is calculated as 1 day.

Option 147

Authentication information used by devices to be configured to authenticate the DHCP server for device deployment. Option 147 is optional. If Option 147 is required, it must be configured as AutoConfig.

Option 148

Agile Controller-Branch's IP address and port number assigned to DHCP clients.

Option 148 is in the following format:
agilemode=AGILEMODE;agilemanage-mode=AGILEMANAGE-MODE;agilemanage-domain=AGILEMANAGE-DOMAIN;agilemanage-port=AGILEMANAGE-PORT;
  • agilemode: indicates the agile mode. agilemode=tradition: indicates the traditional mode.
  • agilemanage-mode: indicates that the agilemanage-domain field is an IP address or a domain name. agilemanage-mode=ip: indicates that the agilemanage-domain field is an IP address. agilemanage-mode=domain: indicates that the agilemanage-domain field is a domain name.
  • agilemanage-domain: indicates an IP address in case of agilemanage-mode=ip or indicates a domain name in case of agilemanage-mode=domain.
  • agilemanage-port: indicates the Agile Controller-Branch's port number assigned to DHCP clients.
For example, in the Cloud VPN scenario, if the Agile Controller-Branch's IP address and port number assigned to DHCP clients are 10.17.15.84 and 10020, Option 148 is as follows:
agilemode=tradition;agilemanage-mode=ip;agilemanage-domain=10.17.15.84;agilemanage-port=10020;

Option 149

SFTP server IP address and port number assigned to DHCP clients. For example, if the SFTP server IP address is 10.10.10.1 and port number is 22, the Option 149 field is:
option 149 ascii ipaddr=10.10.10.1;port=22;

Option 150

TFTP server IP address assigned to DHCP clients.

  • Option 150 enables DHCP clients to directly obtain the TFTP server IP address.
  • Options 141, 142, and 143 enable DHCP clients to obtain the FTP user name, FTP password, and FTP server IP address.
  • Options 141, 142, and 149 enable DHCP clients to obtain the SFTP user name, SFTP password, and SFTP server IP address and port number.
  • When multiple types of Option parameters are set for a DHCP server, the priority of file servers is selected as follows: SFTP > FTP > TFTP.
Translation
Download
Updated: 2019-11-21

Document ID: EDOC1100034066

Views: 89451

Downloads: 487

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