Error Information Is Displayed When the excluded-ip-address Command Is Executed.

Publication Date:  2013-12-31 Views:  3060 Downloads:  0
Issue Description
Networking:
S5700—Low-end switch—PC
Fault symptom:
The S5700 version is S5700-48TP-SI-AC V200R001C00SPC300 and has been configured with an IP address pool. The configuration is as follows:
ip pool dhcp_pool
gateway-list 172.20.0.1
network 172.20.0.0 mask 255.255.0.0
lease day 0 hour 6 minute 0
dns-list 202.103.224.68 202.103.224.67 202.103.224.66
Run the excluded-ip-address command to configure IP addresses in the IP address pool that cannot be automatically assigned.
excluded-ip-address 172.20.0.2 172.20.0.254
The following error information is displayed:
Error: Some of addresses not be excluded are not idle,or not in the pool.
Alarm Information
Error: Some of addresses not be excluded are not idle,or not in the pool.
Handling Process
1. Check S5700 configurations, and focus on the VLANIF interface configuration.
interface Vlanif10
ip address 172.20.0.3 255.255.0.0
It is found that the dhcp select global command is not configured on the VLANIF interface. This command should be configured after the IP address pool is configured. Therefore, the VLANIF interface configuration is correct.
2. The IP address segment configured in the excluded-ip-address command may contain too many IP addresses. Run the excluded-ip-address 172.20.0.2 command to configure only one IP address that cannot be automatically assigned. The fault persists.
3. The number of allocable IP addresses is incorrect on the S5700. Check the S5700 specifications table. It is found that the number of global allocable IP addresses is 16K. When the number of allocable IP addresses supported by the S5700-28C-HI is configured to be greater than 16K on the eNSP, the following error information is displayed:
[Huawei-ip-pool-dhcp_pool] network 172.20.0.0 mask 255.255.0.0
Error:The number of IP addresses cannot be greater than 16384
4. The fault is located. Delete the ip pool dhcp_pool configuration, and configure a new IP address pool with 24-bit subnet masks. Run the excluded-ip-address command. This command is successfully executed. The fault is rectified.
5. However, why can the network 172.20.0.0 mask 255.255.0.0 command be successfully executed with no error information displayed on the live network?
After communication with the customer, it is found that a total of 20 switches exist on the live network. The customer does not use commands to perform service configurations on the switches. To facilitate configurations, the customer exports a vrpcfg.zip file, modify configurations in a batch, and then import the modified configurations to the flash memory of each device. In this way, the number of allocable IP addresses does not exceed 16K. Therefore, no such error information is displayed.
So far, fault causes are figured out.
Root Cause
1. The VLANIF interface configuration is incorrect, that is, the dhcp select global command has been configured on the VLANIF interface before the IP address pool configuration.
2. The IP address pool configuration is incorrect.
3. The device configuration is incorrect.
Suggestions
During device service deployment, you are advised not to export a vrpcfg.zip file, modify configurations in a batch, and import the modified configurations to the flash memory of each device. If you use a configuration method, it may not be easy to locate faults.

END