HCIP-交换接口实验

一.拓扑图

HCIP-交换接口实验_第1张图片

二.配置步骤

1.接口配置为Access、Trunk

SW1:

int g0/0/2
port link-type access
port default vlan 20
int g0/0/3
port link-type trunk
port trunk allow-pass vlan 10 20 30 110 120 130

SW2:

int g0/0/2
port link-type trunk
port trunk all vlan 10 20 30 110 120 130
int g0/0/3
port link-type trunk
port trunk all vlan 10 20 30 110 120 130

SW3:

int g0/0/2
port link-type access
port default vlan 20
int g0/0/1
port link-type trunk
port trunk all vlan 10 20 30 110 120 130

3.配置MSTP协议

SW1:

stp mode mstp
stp region-configuration
region-name huawei
revision-level 1
instance 1 vlan 2 3
instance 2 vlan 10 20 30
active region-configuration

SW2:

stp mode mstp
stp region-configuration
region-name huawei
revision-level 1
instance 1 vlan 2 3
instance 2 vlan 10 20 30
active region-configuration

SW3:

stp mode mstp
stp region-configuration
region-name huawei
revision-level 1
instance 1 vlan 2 3
instance 2 vlan 10 20 30
active region-configuration

你可能感兴趣的:(网络,网络安全,网络协议,信息与通信)