美文网首页
实验6.4 MUX VLAN间的通信

实验6.4 MUX VLAN间的通信

作者: maskim_71e2 | 来源:发表于2019-08-07 15:25 被阅读0次

    6.4 MUX VLAN间的通信

    # 访问同一个目标,相互间访问规则复杂,使用Mux VLAN;

    # Mux VLAN拥有一个principal VLAN,即主VLAN;

    # 同时拥有多个与主VLAN关联的Subordinate VLAN,即从VLAN;

    # 从VLAN包括一个Separate VLAN,隔离型从VLAN;

                一个是Group VLAN,即互通型从VLAN。

    ==========================================================

    1.使用Hybrid端口实现网络需求

    ==========================================================

    S1:

    sy

    sysname S1

    undo info-cen en

    vlan batch 10 20 30 40

    int g0/0/1

    port link-type hybrid

    port hybrid untag vlan 10 20

    port hybrid pvid vlan 20

    int g0/0/2

    port link-type hybrid

    port hybrid untag vlan 10 20

    port hybrid pvid vlan 20

    dis vlan

    int g0/0/5

    port link-type hybrid

    port hybrid untag vlan 10 20 30 40

    port hybrid pvid vlan 10

    dis vlan

    ------------------------------------------

    S1:

    sy

    int g0/0/3

    port link-type hybrid

    port hybrid untag vlan 10 30

    port hybrid pvid vlan 30

    int g0/0/4

    port link-type hybrid

    port hybrid untag vlan 10 40

    port hybrid pvid vlan 40

    dis vlan

    ------------------------------------------

    ==========================================================

    2.使用Mux VLAN实现网络需求

    ==========================================================

    S1:

    int g0/0/1

    port link-type access

    port default vlan 20

    int g0/0/2

    port link-type access

    port default vlan 20

    int g0/0/3

    port link-type access

    port default vlan 30

    int g0/0/4

    port link-type access

    port default vlan 30

    int g0/0/5

    port link-type access

    port default vlan 10

    ------------------------------------------

    #在VLAN 10下设置VLAN 10为主VLAN,vlan 20为互通从,vlan 30为隔离从;

    S1:

    vlan 10

    mux-vlan

    subor  group 20

    subor  separate 30

    q

    ------------------------------------------

    #在所有加入mux VLAN 的端口下能使用Mux VLAN 功能

    S1:

    int g0/0/1

    port mux-vlan en

    int g0/0/2

    port mux-vlan en

    int g0/0/3

    port mux-vlan en

    int g0/0/4

    port mux-vlan en

    int g0/0/5

    port mux-vlan en

    ----

    ping通测试。

    相关文章

      网友评论

          本文标题:实验6.4 MUX VLAN间的通信

          本文链接:https://www.haomeiwen.com/subject/bfhwdctx.html