码迷,mamicode.com
首页 > 其他好文 > 详细

Hybrid实验

时间:2020-06-16 13:24:25      阅读:60      评论:0      收藏:0      [点我收藏+]

标签:sys   alt   lin   int   nbsp   load   com   class   http   

技术图片

 

 

 

 

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实验

标签:sys   alt   lin   int   nbsp   load   com   class   http   

原文地址:https://www.cnblogs.com/ccshi/p/13140249.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!