显示标签为“ma5600 configuration”的博文。显示所有博文
显示标签为“ma5600 configuration”的博文。显示所有博文

2014年7月14日星期一

How to Configure the DHCP Option60 Mode for Huawei OLT



This topic is applicable to the scenario for specifying the corresponding DHCP servers for different option60 domain users. This configuration also works for Huawei MA5680T, Huawei MA5606T, Huawei MA5608T.

Prerequisites

A VLAN must be created.
Before the configuration, determine the option60 domain name of the user terminal.

Background Information

When multiple services are provisioned on the MA5600, such as video multicast and IP telephone services, the services are provided by different service providers. The service providers may use different relay IP addresses of the same DHCP server or different DHCP servers to allocate IP addresses to users. Therefore, configure the users to apply for IP addresses from the DHCP server in the DHCP option60 mode.
In the DHCP option60 mode, the DHCP server group is selected according to the character string (namely, domain name) in the option60 of DHCP packets. Here, the option60 domain name and the DHCP server group to which the domain name is bound need to be configured beforehand. In this mode, users are differentiated according to the domain information in the packet, and different service types in the same VLAN can also be differentiated.

Procedure

1.           Configure the DHCP forwarding mode.
In the global config mode, run the dhcp mode layer-3 option60 command to configure the DHCP relay mode to L3 option60 mode (layer-3, option60). If keyword VLAN is selected and VLANID is entered, this configuration takes effect only for this VLAN.
2.           Configure the DHCP server group.
a.                In the global config mode, run the dhcp-server command to create a DHCP server group.
·                           igroup-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.
b.                (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.
3.           Create a DHCP option60 domain.
In the global config mode, run the dhcp domain command to create a DHCP domain, and then enter the DHCP domain mode. The option60 domain name needs to be configured according to the type of the terminal connected to the device. For the DHCP client installed with the Windows 98/2000/XP/NT series of OSs, the domain name must be msft.
4.           Bind the DHCP option60 domain to the DHCP server group.
In the option60 domain mode, run the dhcp-server command to bind the DHCP domain to the DHCP server group. After the configuration is completed, the DHCP clients belonging to the DHCP correspond to the DHCP server group.
5.           Configure the IP address of the gateway corresponding to the DHCP domain.
a.                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.
b.                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. For details, see Configuring the Route.
c.                In the VLANIF mode, run the dhcp domain gateway command to configure the IP address of the gateway corresponding to the DHCP domain.
The IP address of the gateway must be a configured IP address of the VLAN interface. Under the same VLAN interface, different option60 domains can be configured with different gateways. Therefore, different DHCP servers can be selected according to the domain information in the packet.

Example

Assume that server group 2 contains two DHCP servers working the load balancing mode, with the IP address of the primary server 10.10.10.10 and the IP address of the secondary server 10.10.10.11. To bind server group 2 to users whose option60 domain name is msft in VLAN 2 (with the IP address of the L3 interface 10.1.2.1/24), do as follows:
huawei(config)#dhcp mode layer-3 Option60
huawei(config)#dhcp-server 2 ip 10.10.10.10 10.10.10.11
huawei(config)#dhcp domain msft
huawei(config-dhcp-domain-msft)#dhcp-server 2
huawei(config-dhcp-domain-msft)#quit
huawei(config)#interface vlanif 2
huawei(config-if-vlanif2)#ip address 10.1.2.1 24
huawei(config-if-vlanif2)#dhcp domain msft gateway 10.1.2.1 

2014年7月10日星期四

How to Configure Alarms for Huawei MA5600 Series

Configuring alarms for Huawei OLT MA5600 series:
Alarm management includes the following functions: alarm record, alarm setting, and alarm statistics. These functions help you to maintain the device and ensure that the device works efficiently.

Background Information
An alarm refers to the notification of the system after a fault is detected. After an alarm is generated, the system broadcasts the alarm to the terminals, mainly including the NMS and CLI terminals.
Alarms are classified into fault alarm and recovery alarm. After a fault alarm is generated at a certain time, the fault alarm lasts until the fault is rectified to clear the alarm.
You can modify the alarm settings according to your requirements. The settings are alarm severity, alarm output mode through the CLI and alarm statistics Huawei switch.

Procedure
·                 You can run the alarm active clear command to clear the alarms that are not recovered in the system.
§                         Before clearing an alarm, you can run the display alarm active command to query the currently active alarms.
§                         When an active alarm lasts a long time, you can run this command to clear the alarm.
·                 Run the alarm alarmlevel command to configure the alarm severity.
§                         Alarm severities are critical, major, minor, and warning.
§                         Parameter default indicates restoring the alarm severity to the default setting.
§                         You can run the display alarm list command to query the alarm severity.
§                         The system specifies the default (also recommended) alarm severity for each alarm. Use the default alarm severity unless otherwise required.
·                 Run the alarm output/undo alarm output command to set or shield the output of alarms to the CLI terminal.
§                         Setting the output mode of alarms does not affect the generating of alarms. The alarms generated by the system are still recorded. You can run the display alarm history command to query the alarms that are shielded.
§                         When the new output mode of an alarm conflicts with the previous mode, the new output mode takes effect.
§                         The output mode of the recovery alarm is the same as the output mode of the fault alarm. When the output mode of the fault alarm is set, the system automatically synchronizes the output mode of its recovery alarm. The reverse is also applicable. That is, when the output mode of the recovery alarm is set, the system automatically synchronizes the output mode of its fault alarm.
·                 Run the alarm jitter-proof command to configure the alarm jitter-proof function and the jitter-proof period.
§                         To prevent a fault alarm and its recovery alarm from being displayed frequently, you can enable the alarm jitter-proof function to filter alarms in the system.
§                         After the alarm jitter-proof function is enabled, the alarm in the system is not reported to the NMS immediately but is reported to the NMS after an alarm jitter-proof period.
§                         If an alarm is recovered in an alarm jitter-proof period, the alarm is not reported to the NMS.
§                         You can run the display alarm jitter-proof command to check whether the alarm jitter-proof function is enabled and whether the alarm jitter-proof period is set.
§                         By default, the alarm jitter-proof function is disabled. You can determine whether to enable the function according to the running of the device.
·                 Run the alarm-event statistics period command to set the alarm statistics collection period.
§                         The system collects the occurrence times of alarms and events according to the set period. To save the statistical result, run the alarm-event statistics save command to save the statistics to the flash memory.
§                         You can use the statistical result of alarms and events to locate a problem in the system.
§                         You can run the display alarm statistics command to query the alarm statistical record.
·                 Run the display alarm configuration command to query the alarm configuration according to the alarm ID. The alarm configuration that you can query includes the alarm ID, alarm name, alarm class, alarm type, alarm severity, default alarm severity, number of parameters, CLI output flag, conversion flag, and detailed alarm description.
·                 Run the display alarm statistics command to query the alarm statistical record.
§                         When you need to know the frequency in which one alarm occurs within a time range, and to know the working conditions of the device and analyze the fault that may exist, run this command.
§                         Currently, you can query the alarm statistics in the current 15 minutes, current 24 hours, last 15 minutes, and last 24 hours in the system.

Example
Assume the following configurations: The output of all the alarms at level warning are shielded to the CLI terminal, the alarm jitter-proof function is enabled, the alarm jitter-proof period is set to 15s, the statistical period of the alarms and events is set to 72 hours, and all the alarms at level major are saved to the flash memory so that a problem can be located through the alarm statistical record. To perform these configurations, do as follows:
huawei(config)#undo alarm output alarmlevel warning
huawei(config)#alarm jitter-proof on
huawei(config)#alarm jitter-proof 15
huawei(config)#alarm-event statistics period 72
huawei(config)#alarm alarmlevel 0x0121a001 critical
huawei(config)#alarm alarmlevel 0x02310000 critical

huawei(config)#alarm-event statistics save

More related:

2014年7月8日星期二

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. This configuration also works for Huawei MA5603T and Huawei MA5608T.

Background Information
On a digital network comprising the MA5600 series 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.
2.           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