HCIA-基于接口划分vlan

实验拓扑:

image

实验配置:

vlan batch 10 20

interface Ethernet0/0/1

port link-type access

port default vlan 10

interface Ethernet0/0/2

port link-type access

vlan 20

port Ethernet0/0/2

interface Ethernet0/0/3

port link-type trunk

port trunk allow-pass vlan 10 20

实验结果验证:

image

posted @ 2025-07-27 15:56  快乐小狗小杰  阅读(15)  评论(0)    收藏  举报