华为交换机select interface DHCP 静态绑定IP+MAC
华为交换机select interface DHCP 静态绑定IP+MAC启动三层设置vlan接口
system-view
vlan 104
description fangke_wifi
quit
interface vlanif104
description fangke_wifi_vlan
ip address 192.168.199.1 255.255.255.0
undo icmp ttl-exceeded send
dhcp select interface
dhcp server static-bind ip-address 192.168.199.199 mac-address xxxx-xxxx-xxxx
dhcp server dns-list 223.5.5.5 172.16.8.250
接口dhcp 静态绑定IP+MAC设置完成。
完成此设置不报错的前提
查看interface ip pool 池地址分配环境 ]display ip pool interface vlanif104 all
https://img-blog.csdnimg.cn/direct/d361fee610684b2ab85990be41e97e8b.png
conflict冲突报错,利用下令扫除select interface 下DHCP conflict
下令:
>reset ip pool interface Vlanif104 conflict
扫除后在三层接口下设置:
dhcp server static-bind ip-address 192.168.199.199 mac-address xxxx-xxxx-xxxx
恢复IP地址为Idle状态下令:>reset ip pool interface vlanif104 192.168.199.224
Warning:Y
https://img-blog.csdnimg.cn/direct/de2a1e837d9e4e1b968d41208e3ce3dc.png
若在地址池中启用DHCP,则对应的下令是>reset ip pool name vlan104 192.168.199.224 Warning:Y
一下是以dhcp select global 设置为例:
https://img-blog.csdnimg.cn/direct/bf71589210f949d1a9e46d6ada8cff49.png
display ip pool name vlan36 all 存在IP地址Conflict状态status
https://img-blog.csdnimg.cn/direct/bcfaad44b7df45e29836172e731fcd7f.png
>reset ip pool name vlan36 conflict 显示status为Idle
https://img-blog.csdnimg.cn/direct/495bef8d7918467aab2ed255973a97e4.png
设置不了需要在接口下设置静态绑定。
https://img-blog.csdnimg.cn/direct/e78305061eab46ce978892cbce4e4703.png
免责声明:如果侵犯了您的权益,请联系站长,我们会及时删除侵权内容,谢谢合作!更多信息从访问主页:qidao123.com:ToB企服之家,中国第一个企服评测及商务社交产业平台。
页:
[1]