Hybrid实验

Posted ccshi

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Hybrid实验相关的知识,希望对你有一定的参考价值。

技术图片

 

 

 

 

1、 pc机配置ip地址

2、 创建vlan

S1

<Huawei>sy

[Huawei]sysname S1

[S1]vlan batch 2 3 10

 

S2:

<Huawei>sy

[Huawei]sysname S2

[S2]vlan batch 2 3 10

3、 配置hybrid

S1

[S1]int g0/0/1

[S1-GigabitEthernet0/0/1]port link-type hybrid

[S1-GigabitEthernet0/0/1]port hybrid pvid vlan 1

[S1-GigabitEthernet0/0/1]port hybrid untagged vlan 1 to 2

[S1-GigabitEthernet0/0/1]int g0/0/2

[S1-GigabitEthernet0/0/2]port link-type hybrid

[S1-GigabitEthernet0/0/2]port hybrid pvid vlan 1

[S1-GigabitEthernet0/0/2]port hybrid untagged vlan 1 to 2

[S1-GigabitEthernet0/0/2]int g0/0/3

[S1-GigabitEthernet0/0/3]port link-type hybrid

[S1-GigabitEthernet0/0/3]port hybrid pvid vlan 10

[S1-GigabitEthernet0/0/3]port hybrid untagged vlan 3 10

[S1-GigabitEthernet0/0/3]int g0/0/4

[S1-GigabitEthernet0/0/4]port link-type hybrid

[S1-GigabitEthernet0/0/4]port hybrid pvid vlan 1

[S1-GigabitEthernet0/0/4]port hybrid untagged vlan 1 to 2

[S1-GigabitEthernet0/0/4]port hybrid tagged vlan 3 10

[S1-GigabitEthernet0/0/4]quit

 

S2

[S2]int g0/0/1

[S2-GigabitEthernet0/0/1]port link-type hybrid

[S2-GigabitEthernet0/0/1]port hybrid pvid vlan 1

[S2-GigabitEthernet0/0/1]port hybrid untagged vlan 1 to 2

[S2-GigabitEthernet0/0/1]port hybrid tagged vlan 3 10

[S2-GigabitEthernet0/0/1]int g0/0/2

[S2-GigabitEthernet0/0/2]port link-type hybrid

[S2-GigabitEthernet0/0/2]port hybrid pvid vlan 2

[S2-GigabitEthernet0/0/2]port hybrid untagged vlan 1 to 2

[S2-GigabitEthernet0/0/2]int g0/0/3

[S2-GigabitEthernet0/0/3]port link-type hybrid

[S2-GigabitEthernet0/0/3]port hybrid pvid vlan 3

[S2-GigabitEthernet0/0/3]port hybrid untagged vlan 3 10

[S2-GigabitEthernet0/0/3]quit

 

以上是关于Hybrid实验的主要内容,如果未能解决你的问题,请参考以下文章

hybrid 链路捆绑 GVRP 应用实验

VLAN实验3(Hybrid接口的应用)

VLAN实验三:理解Hybrid接口

华为设备二层交换技术——Hybrid口 实验部分

Hybrid实验

Hybrid实验