全国直销电话:4006-854-568
IT-technology
以人为本,众志成城,以“用户至上”.“服务上乘”为原则,
追求产品和服务高质量,努力实现与客户之间真诚有效的沟通,
不断地圆梦、奔跑与腾飞。
新闻动态   NEWS
华为设备充当DHCP服务器(减轻IT人员的负担)-北京赛维博信科技发展有限公司
来源:本文摘自网络,如有侵权请联系删除 | 作者:svbx001 | 发布时间: 2022-11-14 | 1867 次浏览 | 分享到:

[Core]interface  vlan 10

[Core-Vlanif10]dhcp  server excluded-ip-address 192.168.255.6

该命令的意思是排除掉192.168.255.6不分配(保留下来不分配),但是实际中还会遇到一种突发情况。

比如想保留的地址已经分配出去了,那这个时候怎么办呢?

[Core]interface  vlan 30

[Core-Vlanif30]dhcp  server excluded-ip-address 192.168.253.253

Error:Only  idle or expired IP address can be disabled.

//错误提示,只有空闲或者到期的地址可以被关闭(保留),那这个时候怎么办呢?

 

-----------------------------

<Core>reset  ip pool interface vlanif30 192.168.253.253

Warning: If the IP  addresses that are being used are reclaimed, may influence normal user in the  network. Are you sure to continue?[Y/N]:y

//通过清空地址池的对应这个需要保留的IP数据,然后在进行保留,需要注意,清空要在用户视图下

 

-----------------------

[Core]int vlan 30

[Core-Vlanif30]dhcp  server excluded-ip-address 192.168.253.253

 

这个时候就OK了,如果是在地址池下面配置的,就进入地址池配置,清空也是reset ip pool name 【地址池名字】 192.168.255.253,这个就是实际中需要注意的地方。

 

---------------------------------

<Core>reset   ip pool   name  vlan20 192.168.254.253            //清空地址池 vlan20中192.168.254.253的状态

Warning: If the IP  addresses that are being used are reclaimed, may influence normal user in the  network. Are you sure to continue?[Y/N]:y

 

 

[Core]ip pool vlan20

[Core-ip-pool-vlan20]excluded-ip-address  192.168.254.253

 

服务热线

1391-024-6332