于旧式华为/H3C交换机中,端口隔离由isolate-user-vlan配置实现
工具/原料
华为交换机
方法/步骤
1、假如要做1-23署孢颜匈口互相隔离,1-23与24口通信,则需要创建24个vlan,1-23口需要untag本端口所属vlan和24口公共口的vlan,24公共口要untag所有vlan,
2、创建VLAN
3、vlan101vlan102...vlan123vlan124创建24个VLAN
4、公共vlan启用isolate-user-vlan
5、vlan124isolate-user-vlanenable
6、1-23口需要untag本端口所属vlan和24口公共口的vlan
7、interface苇质缵爨Ethernet0/1portlink-typehybridporthybridvlan101124unt锾攒揉敫aggedporthybridpvidvlan101------------------------------------interfaceEthernet0/2portlink-typehybridporthybridvlan102124untaggedporthybridpvidvlan102。。。interfaceEthernet0/23portlink-typehybridporthybridvlan123to124untaggedporthybridpvidvlan123------------------------------------------------interfaceEthernet0/24portlink-typehybridporthybridvlan101to124untaggedporthybridpvidvlan1241-23口需要untag本端口所属vlan和24口公共口的vlan,24公共口要untag所有vlan,
8、配置secondaryvlanisolate-user-vlan124secondary101to123
9、如果您觉得本经验有帮助,请点击正下方的巡綮碣褂或右上角的“大拇指”或“分享”或“关注TA”给我支持和鼓励~~为了方便下次寻找,您可以点击“收藏”收藏本经验如有其他问题请联系我本人