ensp综合端口基础配置(Hybird+access+Trunk)
Posted newcds
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了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
port hybrid pvid vlan 3
port hybrid untagged vlan 3
PC ping PC3
PC 2 ping PC 4
以上是关于ensp综合端口基础配置(Hybird+access+Trunk)的主要内容,如果未能解决你的问题,请参考以下文章