VLAN 基础实验2:VLAN 应用Hybird接口
拓扑图
需求
HR部门,市场部门,可以访问 IT部门
但HR部门不能访问市场部门,各部门的PC 可以互访
配命命令
SW1:
untermosysysSW1vlanbatch102030inte0/0/1portlink-typehybridporthybridtaggedvlan102030inte0/0/2portlink-typehybridporthybridpvidvlan20porthybriduntaggedvlan2030inte0/0/3portlink-typehybridporthybridpvidvlan10porthybriduntaggedvlan1030inte0/0/4portlink-typehybridporthybridpvidvlan30porthybriduntaggedvlan102030q
SW2:
untermosysysSW2vlanbatch102030inte0/0/1portlink-typehybridporthybridtaggedvlan102030inte0/0/2portlink-typehybridporthybridpvidvlan20porthybriduntaggedvlan2030inte0/0/3portlink-typehybridporthybridpvidvlan10porthybriduntaggedvlan1030
配置完成后,PC 之间测试能否 ping 通
S1 查看vlan 信息
displayvlan
会发现有的接口是 UT 不打标签
有的接口是TG 打标签