兩種方法:
一、劃分成不同的VLAN,靈活但是會浪費有限的VLAN資源
二、端口隔離配置指令
銳捷交換機配置端口隔離:
interface range f0/1-3
switchport protect
華為交換機配置端口隔離:
interface f0/0/1
port-isolate enable
interface f0/0/2
port-isolate enable
華為交換機一鍵清除端口隔離:
clear configuration port-isolate