SW1配置:
[sw1]vlan 2 to 30
[sw1]stp region-configuration
[sw1-mst-region]instance 1 vlan 1 to 30 需要保护的业务VLAN
[sw1-mst-region]active region-configuration 激活配置
[sw1]int g1/0/1
[sw1-GigabitEthernet1/0/1]port link-type trunk
[sw1-GigabitEthernet1/0/1]port trunk permit vlan all
[sw1-GigabitEthernet1/0/1]undo stp enable 关闭生成树协议
[sw1-GigabitEthernet1/0/1]qos trust dot1p 信任dot1p的报文 默认是不信任
[sw1-GigabitEthernet1/0/2]port link-type trunk
[sw1-GigabitEthernet1/0/2]port trunk permit vlan all
[sw1-GigabitEthernet1/0/2]undo stp enable 关闭生成树协议
[sw1-GigabitEthernet1/0/2]qos trust dot1p 信任dot1p的报文 默认是不信任
(SW2/SW3/SW4/都需要以上这样配置)
[sw1]rrpp domain 1 创建区域1
[sw1-rrpp-domain1]control-vlan 4092 创建控制Vlan
[sw1-rrpp-domain1]protected-vlan reference-instance 1 需要保护的实例
[sw1-rrpp-domain1]ring 1 node-mode master primary-port g1/0/1 secondary-port Gig
abitEthernet 1/0/2 level 0 设置为主节点 指定主端口为1口 副端口为2口 level 0 为主环
[sw1-rrpp-domain1]ring 1 enable 开启主环
[sw1]rrpp enable
SW2配置:
[sw2]rrpp domain 1
[sw2-rrpp-domain1]control-vlan 4092
[sw2-rrpp-domain1]protected-vlan reference-instance 1
[sw2-rrpp-domain1]ring 1 node-mode
transit primary-port GigabitEthernet 1/0/1 se
condary-port GigabitEthernet 1/0/2 level 0
[sw2-rrpp-domain1]ring 1 enable
[sw1]rrpp enable
SW3/SW4 和SW2一样配置
希望对你有用
暂无评论