华为S3300 S2300系列交换机 做IP、mac、端口三绑定

发布网友

我来回答

2个回答

热心网友

可以用port-security 命令来实现

每个端口*一个mac地址。 相当于就绑定了一个。

热心网友

#
sysname S-switch-A
#
vlan batch 3
#
arp static 10.2.2.3 00e0-fc01-0000 vid 3 interface Ethernet0/0/1
#
interface Vlanif3
ip address 10.2.2.2 255.0.0.0
#
interface Ethernet 0/0/1
port trunk allow-pass vlan 3
#
return
上面应该是你要的。下面也有更全面的。

mac-address static 2-2-2 GigabitEthernet0/0/1 vlan 2
MAC+VLAN的绑定

dhcp snooping bind-table static ip-address 10.10.10.2 mac-address 0028-0120-0327 interface GigabitEthernet0/0/1
DHCP表的绑定

mac-address restrict
#
interface GigabitEthernet0/0/1
mac-table limit 100
port-security enable
port-security protect-action shutdown

常规端口安全配置

声明声明:本网页内容为用户发布,旨在传播知识,不代表本网认同其观点,若有侵权等问题请及时与本网联系,我们将在第一时间删除处理。E-MAIL:11247931@qq.com