H3C MS4300V2配置mac地址与接口绑定
作者:互联网
配置mac地址与接口绑定
例:
<h3c>system-view //进入系统视图
[h3c]int g 1/0/45 //进入45接口
[h3c-GigabitEthernet1/0/45]ip verify source ip-address mac-address //开启IPv4接口绑定功能
[h3c-GigabitEthernet1/0/45]ip source binding mac-address xxxx-xxxx-xxxx-xxxx //绑定mac地址
[h3c-GigabitEthernet1/0/45]dis this //查看接口下面的配置
ip verify source ip-address mac-address
ip source binding mac-address ac16-2d7a-a250
*修改mac地址
删除接口下绑定的mac地址,再绑定新的ip地址
<h3c>system-view 进入系统视图
[h3c]int g 1/0/45 进入45接口
[h3c-GigabitEthernet1/0/45]undo ip source binding mac-address
[h3c-GigabitEthernet1/0/45]ip source binding mac-address xxxx-xxxx-xxxx-xxxx
删除45接口下面的配置:
先删除下面的一条命令,在删除上面的。
[h3c-GigabitEthernet1/0/45]dis this //查看接口下面的配置
ip verify source ip-address mac-address
ip source binding mac-address ac16-2d7a-a250
[h3c-GigabitEthernet1/0/45]undo ip source binding mac-address
[h3c-GigabitEthernet1/0/45]undo ip verify source ip-address mac-address
标签:H3C,MS4300V2,ip,45,h3c,source,mac,address 来源: https://www.cnblogs.com/a154172/p/16498984.html