可以,妳要做基於MAC的VLAN就可以實現了
如下例圖
交換機配置
sys
vlan batch 2 5 10
vlan 2
mac-vlan mac-address 5489-980f-389c?q
vlan 5
mac-vlan mac-address 5489-9888-6a01?q
interface Vlanif2
ip address 192.168.1.1 255.255.255.0? dhcp select interfaceq
interface Vlanif5
ip address 172.168.1.1 255.255.255.0? dhcp select interfaceq
interface GigabitEthernet0/0/1
port hybrid pvid vlan 10 port hybrid untagged vlan 2 5 10 mac-vlan enableq