标签:interface trunk链路 agg access 相同 转发 默认 img 图片
? 实验需求:? 第二种实现方式:所有链路类型改成access
Sw1
interface GigabitEthernet0/0/1
port link-type access
port default vlan 10
interface GigabitEthernet0/0/2
port link-type access
port default vlan 10
sw2
interface GigabitEthernet0/0/1
port link-type access
port default vlan 20
interface GigabitEthernet0/0/2
port link-type access
port default vlan 20
sw3
interface GigabitEthernet0/0/1
port link-type access
port default vlan 20
interface GigabitEthernet0/0/2
port link-type access
port default vlan 20
? 第三种实现方式:Hybrid类型
Sw1
interface GigabitEthernet0/0/1
port hybrid pvid vlan 10
port hybrid untagged vlan 10 20
interface GigabitEthernet0/0/2
port hybrid tagged vlan 10 20
sw2
interface GigabitEthernet0/0/1
port hybrid tagged vlan 10 20
interface GigabitEthernet0/0/2
port hybrid tagged vlan 10 20
sw3
interface GigabitEthernet0/0/1
port hybrid tagged vlan 10 20
interface GigabitEthernet0/0/2
port hybrid pvid vlan 20
port hybrid untagged vlan 10 20
实验原理:
通过tag和untag确定哪种数据帧通过
标签:interface trunk链路 agg access 相同 转发 默认 img 图片
原文地址:https://blog.51cto.com/13415528/2425598