方法一:
system-view
interface gigabitethernet 1/0/2(这里写对应的端口)
ip verify source ip-address mac-address
port access vlan 400(这里写对应的vlan)
ip source binding ip-address 192.168.0.3 mac-address 0001-0203-0405(这里写需要绑定终端的ip+mac)
quit
save f
方法二:
Arp filter关键配置点:
[SW1]int gi 1/0/1
[SW1-GigabitEthernet1/0/1]arp filter binding 192.168.10.2 5816-a771-0206
[SW1-GigabitEthernet1/0/1]arp filter binding 192.168.10.3 5816-aae1-0306
[SW1-GigabitEthernet1/0/1]quit
方法三:
手动设置端口绑定mac
interface GigabitEthernet1/0/1
port link-mode bridge
port access vlan 10
combo enable fiber
mac-address static 0ea4-9b61-0206 vlan 10
port-security intrusion-mode disableport-temporarily
port-security ntk-mode ntk-withbroadcasts
port-security max-mac-count 1
port-security port-mode secure
#
interface GigabitEthernet1/0/2
port link-mode bridge
port access vlan 10
combo enable fiber
mac-address static 0ea4-a2b9-0306 vlan 10
port-security intrusion-mode disableport-temporarily
port-security ntk-mode ntk-withbroadcasts
port-security max-mac-count 1
port-security port-mode secure
验证配置:
显示IPv4静态绑定表项,可以看出以上配置成功。文章来源:https://www.toymoban.com/news/detail-755465.html
<H3C> display ip source binding static
文章来源地址https://www.toymoban.com/news/detail-755465.html
到了这里,关于华三交换机端口绑定的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!