HCIP-7.2 Hybrid接口当作access和trunk
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
发表评论