HCIP-7.2 Hybrid接口当作access和trunk

数通

5.25-1

access

SW1:

dis port vlan active
# 查看交换机接口类型
vlan 10
int g0/0/1
    port link-type hybrid  # 接口默认为hybrid类型
    port hybrid pvid vlan 10
    port hybrid untagged vlan 10
    #
    undo port hybrid untagged vlan 1

SW2:

vlan 10
int g0/0/2
    port link-type hybrid  # 接口默认为hybrid类型
    port hybrid pvid vlan 10
    port hybrid untagged vlan 10
    #
    undo port hybrid untagged vlan 1

trunk

SW1:

int g0/0/2
 port hybrid tagged vlan 10

SW2:

int g0/0/1
 port hybrid tagged vlan 10
本文链接:https://www.orcy.net.cn/3928.html,转载请附上原文出处链接

暂无评论

发表评论

电子邮件地址不会被公开。 必填项已用*标注