Configuring the DHCP for Huawei OLT – the Standard DHCP Mode

How to configure the DHCP for Huawei OLT, you should know configure the standard DHCP mode, option60 mode and the MAC address segment mode.

This topic is applicable to the scenario for specifying the corresponding DHCP server groups for different users of the VLAN (the VLAN that is used when the service ports are created).

Procedure

  1. Configure the DHCP forwarding mode.

In the global config mode, run the dhcp mode layer-3 standard command to configure the DHCP relay mode to standard L3 DHCP relay mode (layer-3, standard). If keyword VLAN is selected and VLANID is entered, this configuration takes effect only for this VLAN.

  1. Configure the DHCP server group.
    1. In the global config mode, run the dhcp-server command to create a DHCP server group.
      • group-number: Indicates the number of the DHCP server group. It identifies a server group. You can run the display dhcp-server all-group command to query the DHCP server groups that are already configured and select a DHCP server group number that is not used by the system.
      • ip-addr: Indicates the IP address of the DHCP server in the DHCP server group. Up to four IP addresses can be entered.

 NOTICE:

The IP address of the DHCP server configured here must be the same as the IP address of the DHCP server on the network side.

  1. (Optional) Run the dhcp server mode command to configure the working mode of the DHCP server.

The DHCP servers in the DHCP server group can work in the load balancing mode or active/standby mode. By default, they work in the load balancing mode.

  1. Bind the DHCP server to the VLAN.
    1. In the global config mode, run the interface vlanif command to create a VLAN L3 interface.

The VLAN ID must be the same as the ID of the VLAN described in the prerequisite.

  1. In the VLANIF mode, run the ip address command to configure the IP address of the VLAN L3 interface.

After the configuration is completed, this IP address is used as the source IP address for forwarding the IP packets in the VLAN at L3.

 NOTICE:

  • If only an L2 device exists between the MA5600 and the DHCP server, the IP address of the VLAN L3 interface needs to be in the same subnet as the IP address of the DHCP server.
  • If the upper-layer device of the MA5600 is an L3 device, the IP address of the VLAN L3 interface and the IP address of the DHCP server can be in different subnets; however, a route must exist between the VLAN L3 interface and the DHCP server.
  1. In the VLANIF mode, run the dhcp-server command to bind the DHCP server to the VLAN.

This command requires parameter group-number, the value of which is the number of the created DHCP server group.

Example

Assume that server group 1 contains two DHCP servers working in active/standby mode, with the maximum response time of 20s, the maximum count of response timeout of 10, the IP address of the primary server 10.1.1.9 and the IP address of the secondary server 10.1.1.10. To bind server group 1 to users in VLAN 2 (with the IP address of the L3 interface 10.1.1.101), do as follows:

huawei(config)#dhcp mode layer-3 standard

huawei(config)#dhcp server mode backup 20 10

huawei(config)#dhcp-server 1 ip 10.1.1.9 10.1.1.10

huawei(config)#interface vlanif 2

huawei(config-if-vlanif2)#ip address 10.1.1.101 24

huawei(config-if-vlanif2)#dhcp-server 1

 

More related:

How to Configure the Auto-save Function for Huawei OLT

ADSL2+ Dependency Feature and Limitation of MA5600T and MA5603T

MA5600T&5603T ADSL2+ Service Board Specifications

How to Configure the Auto-save Function for Huawei OLT

This topic describes how to configure the auto-save function so that the system configuration data or database files can be saved automatically. You can also make an reference for the MA5680T, MA5616, MA5608T, MA5603T, MA5600T.

Background Information

The MA5600 supports two auto-save modes:

  • Auto-save at preset interval.
  • Auto-save at preset time.

Pay attention to the following points:

  • Auto-save at preset time conflicts with auto-save at preset interval. You can enable only one of them.
  • Saving data frequently affects the system. Therefore, an auto-save interval shorter than one hour is not recommended, and it is recommended that you set the interval equal to or longer than one day.
  • Before the system upgrade operation, run the autosave interval off or autosave time off command to disable the auto-save function to prevent upgrade failure due to the conflict between upgrade and auto-save operations.

 NOTICE:

After the system upgrade is completed, you must re-enable the auto-save function if the auto-save function is required.

Configuration Flowchart

Figure 1 shows the flowchart for configuring the auto-save function.

Figure 1 Flowchart for configuring the auto-save function 

7-17 ma5600

Procedure

  • Configure auto-save at preset interval.
    1. In the global config mode, run the autosave interval on command to enable auto-save at preset interval.

Auto-save at preset interval conflicts with auto-save at preset time. You can enable only one of them.

  1. (Optional) In the global config mode, run the autosave interval configuration command to set the auto-save interval for modified system data.

Auto-save is performed according to the interval set by the user. The system checks whether the system data is modified at each interval. If the system data is modified, the system saves the data. Otherwise, the system does not save the data. By default, the interval is 30 minutes.

  1. (Optional) In the global config mode, run the autosave interval command to set the auto-save interval.

After the setting, the system data is automatically saved at the set interval regardless of whether the system data is modified. By default, the interval is 24 hours.

  1. (Optional) Set the auto-save file type.

In the global config mode, run the autosave type command to set the auto-save file type.

  • Configure auto-save at preset time.
    1. In the global mode, run the autosave time on command to enable auto-save at preset time.

Auto-save at preset time conflicts with auto-save at preset interval. You can enable only one of them.

  1. (Optional) In the global config mode, run the autosave time command to set the auto-save time.

After the setting, the system data is automatically saved at the set time regardless of whether the system data is modified. By default, the time is 00:00:00.

  1. (Optional) Set the auto-save file type.

In the global config mode, run the autosave type command to set the auto-save file type.

Example

To enable auto-save at preset interval on the MA5600, set the auto-save interval to two days (2880 minutes), and save both the database file and the configuration file, do as follows:

huawei(config)#autosave interval on

huawei(config)#autosave interval 2880

huawei(config)#autosave type all

huawei(config)#save

 

More related:

ADSL2+ Dependency Feature and Limitation of MA5600T and MA5603T

MA5600T&5603T ADSL2+ Service Board Specifications

How to configure the system clock for Huawei MA5600 series

Here we describes how to configure the system clock to restrict the clock frequency and phase of each node on a network within the preset tolerance scope. This prevents transmission performance deterioration caused by poor timing at both the transmit and receive ends in the digital transmission system.

 

Background Information

On a digital network comprising the MA5600 and other devices, the primary problem is clock synchronization. To ensure that the system uses a unified clock standard, you must specify the clock signals from a certain port as the system clock source.

 

Procedure

  1. Run the clock source command to configure the system clock source.

Specify the clock signals extracted from a certain port as the system clock source.

  1. Run the clock priority command to configure the priority of the clock source.

Example

To obtain two clock sources from ports 0/5/0 and 0/5/1 of the SHEB board as clock source 0 and clock source 2 of the system, configure clock source 2 with the highest priority, and configure clock source 0 with the second highest priority, do as follows:

huawei(config)#clock source 0 0/5/0

huawei(config)#clock source 2 0/5/1

huawei(config)#clock priority sdh 2/0