模拟器5.8.0中交换机做相交环。
配置完成后,发现子环master状态为failed。
SW1的相关配置;
vlan 2 to 100
#
stp region-configuration
instance 1 vlan 2 to 100
active region-configuration
#
stp global enable
#
interface GigabitEthernet1/0/1
port link-mode bridge
description ring-1-primary-port
port link-type trunk
undo port trunk permit vlan 1
port trunk permit vlan 2 to 100
combo enable fiber
link-delay 0
undo stp enable
#
interface GigabitEthernet1/0/2
port link-mode bridge
description ring-1-secondary-port
port link-type trunk
undo port trunk permit vlan 1
port trunk permit vlan 2 to 100
combo enable fiber
link-delay 0
undo stp enable
#
interface GigabitEthernet1/0/10
port link-mode bridge
port access vlan 10
combo enable fiber
#
rrpp domain 1
control-vlan 4092
protected-vlan reference-instance 1
ring 1 node-mode master primary-port GigabitEthernet1/0/1 secondary-port GigabitEthernet1/0/2 level 0
ring 1 enable
#
rrpp enable
SW2的相关配置:
vlan 2 to 100
#
stp region-configuration
instance 1 vlan 2 to 100
active region-configuration
#
stp global enable
#
interface GigabitEthernet1/0/1
port link-mode bridge
port link-type trunk
undo port trunk permit vlan 1
port trunk permit vlan 2 to 100
combo enable fiber
link-delay 0
undo stp enable
#
interface GigabitEthernet1/0/2
port link-mode bridge
port link-type trunk
undo port trunk permit vlan 1
port trunk permit vlan 2 to 100
combo enable fiber
link-delay 0
undo stp enable
#
interface GigabitEthernet1/0/3
port link-mode bridge
port link-type trunk
undo port trunk permit vlan 1
port trunk permit vlan 2 to 100
combo enable fiber
link-delay 0
undo stp enable
#
rrpp domain 1
control-vlan 4092
protected-vlan reference-instance 1
ring 1 node-mode transit primary-port GigabitEthernet1/0/1 secondary-port GigabitEthernet1/0/2 level 0
ring 1 enable
ring 2 node-mode edge edge-port GigabitEthernet1/0/3
ring 2 enable
#
rrpp enable
SW3的相关配置:
vlan 2 to 100
#
stp region-configuration
instance 1 vlan 2 to 100
active region-configuration
#
stp global enable
#
interface GigabitEthernet1/0/1
port link-mode bridge
port link-type trunk
undo port trunk permit vlan 1
port trunk permit vlan 2 to 100
combo enable fiber
link-delay 0
undo stp enable
#
interface GigabitEthernet1/0/2
port link-mode bridge
port link-type trunk
undo port trunk permit vlan 1
port trunk permit vlan 2 to 100
combo enable fiber
link-delay 0
undo stp enable
#
interface GigabitEthernet1/0/3
port link-mode bridge
port link-type trunk
undo port trunk permit vlan 1
port trunk permit vlan 2 to 100
combo enable fiber
link-delay 0
undo stp enabl
#
rrpp domain 1
control-vlan 4092
protected-vlan reference-instance 1
ring 1 node-mode transit primary-port GigabitEthernet1/0/1 secondary-port GigabitEthernet1/0/2 level 0
ring 1 enable
ring 2 node-mode assistant-edge edge-port GigabitEthernet1/0/3
ring 2 enable
#
rrpp enable
#
SW4的相关配置:
vlan 2 to 100
#
stp region-configuration
instance 1 vlan 2 to 100
active region-configuration
#
stp global enable
#
interface GigabitEthernet1/0/1
port link-mode bridge
port link-type trunk
undo port trunk permit vlan 1
port trunk permit vlan 2 to 100
combo enable fiber
link-delay 0
undo stp enable
#
interface GigabitEthernet1/0/2
port link-mode bridge
port link-type trunk
undo port trunk permit vlan 1
port trunk permit vlan 2 to 100
combo enable fiber
link-delay 0
undo stp enable
#
interface GigabitEthernet1/0/10
port link-mode bridge
port access vlan 10
combo enable fiber
#
rrpp domain 1
control-vlan 4092
protected-vlan reference-instance 1
ring 1 node-mode transit primary-port GigabitEthernet1/0/1 secondary-port GigabitEthernet1/0/2 level 0
ring 1 enable
#
rrpp enable
SW5的相关配置:
vlan 2 to 100
# stp region-configuration
instance 1 vlan 2 to 100
active region-configuration
#
stp global enable
#
interface GigabitEthernet1/0/1
port link-mode bridge
port link-type trunk
undo port trunk permit vlan 1
port trunk permit vlan 2 to 100
combo enable fiber
link-delay 0
undo stp enable
#
interface GigabitEthernet1/0/2
port link-mode bridge
port link-type trunk
undo port trunk permit vlan 1
port trunk permit vlan 2 to 100
combo enable fiber
link-delay 0
undo stp enable
#
interface GigabitEthernet1/0/10
port link-mode bridge
port access vlan 10
combo enable fiber
#
rrpp domain 1
control-vlan 4092
protected-vlan reference-instance 1
ring 2 node-mode master primary-port GigabitEthernet1/0/1 secondary-port GigabitEthernet1/0/2 level 1
ring 2 enable
#
rrpp enable
配置完成后dis rrpp ver d 1 显示如下
给PC1、PC2、PC3配置IP地址,分别为192.168.1.10/24、192.168.1.20/24、192.168.1.30/24,互ping不通。
SW5停止后,PC1 和PC2 互通。Down端口测试的话正常。
(0)
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
暂无评论