F1000-Ak1020 ip-mac绑定的问题
问题描述:
版本如下:H3C Comware Software, Version 7.1.064, Release 9560P26
ip-mac binding no-match action: Deny 配置这个之后就上不了网了,这个版本不能指定接口绑定的吗
组网及组网描述:
防火墙的绑定命令如下
# 配置各接口的IP地址、路由、安全域及安全策略保证网络可达,具体配置步骤略。
# 在接口上开启IP-MAC绑定功能。
<Device> system-view
[Device] interface gigabitethernet 1/0/1
[Device-GigabitEthernet1/0/1] ip-mac binding enable
[Device-GigabitEthernet1/0/1] quit
[Device] interface gigabitethernet 1/0/2
[Device-GigabitEthernet1/0/2] ip-mac binding enable
[Device-GigabitEthernet1/0/2] quit
# 配置IPv4-MAC绑定表项,使Device只允许来自Host A、Host B和Sever的报文通过。
[Device] ip-mac binding ip 192.168.0.1 mac-address 0001-0
[Device] ip-mac binding ip 192.168.0.2 mac-address 0001-0
[Device] ip-mac binding ip 192.168.1.3 mac-address 0001-0
# 配置未匹配IP-MAC绑定表项的报文的动作为丢弃。
[Device] ip-mac binding no-match action deny
6小时前回答这个版本没有这个命令
ip-mac binding no-match action: Deny 配置这个之后,表示设备将丢弃所有未匹配到IP-MAC绑定表项的报文12。如果您想要指定接口绑定,您需要在接口视图下使用 ip-mac binding enable 命令启用IP-MAC绑定功能12。您可以参考以下链接来了解更多细节:
24-IP-MAC binding commands- H3C 24-IP-MAC binding configuration- H3C希望这些信息对您有帮助。如果您还有其他问题,欢迎继续提问。
6小时前回答你正在内容来源:知了社区,F1000-Ak1020 ip-mac绑定的问题