环境:
H3C S6520-26Q-SI
version 7.1.070, Release 6326
问题描述:
H3C交换机在地址池下如何进行IP和MAC地址绑定
将MAC地址为0000-e03f-0305的PC机与IP地址10.1.1.1绑定,掩码为255.255.255.0
解决方案:
1.进入地址池视图
[H3C]
dhcp server ip-pool vlan2
[H3C-dhcp-pool-vlan2] dhcp server ip-pool vlan2
2.static-bind ip-address x.x.x.x mask x.x.x.x. hardware-address xxxx-xxxx-xxxx
将MAC地址为0000-e03f-0305的PC机与IP地址10.1.1.1绑定,掩码为255.255.255.0
[H3C-dhcp-pool-vlan2]static-bind ip-address 10.1.1.1 mask 255.255.255.0 hardware-address 0000-e03f-0305
最后保存配置
3.删除绑定
undo static-bind ip-address 10.1.1.1