ensp综合端口基础配置(Hybird+access+Trunk)

出门莫恨无人随,书中车马多如簇。这篇文章主要讲述ensp综合端口基础配置(Hybird+access+Trunk)相关的知识,希望能为你提供帮助。


要求:PC1和PC3互通,PC2和PC4互通
SWA配置:
vlan batch 2 to 3 
interface Ethernet0/0/1
port hybrid tagged vlan 2 to 3
#
interface Ethernet0/0/2
port link-type access port default vlan 2
#
interface Ethernet0/0/3
port link-type trunk port trunk allow-pass vlan 3


SWB配置:
vlan batch 2 to 3
interface Ethernet0/0/1
port hybrid tagged vlan 2
port hybrid untagged vlan 3
#
interface Ethernet0/0/2
port link-type trunk
port trunk allow-pass vlan 2 to 3


SWC配置:
?vlan batch 2 to 3
?interface Ethernet0/0/1
port link-type trunk
port trunk allow-pass vlan 2 to 3
#
interface Ethernet0/0/2
port hybrid pvid vlan 2
port hybrid untagged vlan 2
#
interface Ethernet0/0/3
【ensp综合端口基础配置(Hybird+access+Trunk)】 port hybrid pvid vlan 3
port hybrid untagged vlan 3




PC      ping    PC3



PC 2 ping PC 4


    推荐阅读