02-H3C S12500 RRPP典型配置举例
本章节下载: 02-H3C S12500 RRPP典型配置举例 (2.06 MB)
H3C S12500 RRPP配置举例
Copyright © 2013 杭州华三通信技术有限公司 版权所有,保留一切权利。 非经本公司书面许可,任何单位和个人不得擅自摘抄、复制本文档内容的部分或全部, 并不得以任何形式传播。本文档中的信息可能变动,恕不另行通知。 |
目 录
本文档介绍了RRPP(Rapid Ring Protection Protocol,快速环网保护协议)的配置举例。
RRPP是一个专门应用于以太网环的链路层协议。它在以太网环完整时能够防止数据环路引起的广播风暴,而当以太网环上一条链路断开时能迅速恢复环网上各个节点之间的通信通路。
本文档中的配置均是在实验室环境下进行的配置和验证,配置前设备的所有参数均采用出厂时的缺省配置。如果您已经对设备进行了配置,为了保证配置效果,请确认现有配置和以下举例中的配置不冲突。
本文假设您已了解RRPP特性。
如图1所示,多个小区用户接入一个环形的汇聚层网络中,在该环网中使用VLAN 100~150承载语音业务、VLAN 151~200承载视频业务。要求通过配置RRPP功能,除了实现基本的环路防止功能外,还需要实现如下需求:
· 使语音和视频流量走不同的拓扑,以实现链路的负载分担。
· 配置RRPP快速检测功能,进一步保证网络收敛性能。设置Fast-Fail定时器为30毫秒、Fast-Hello定时器为10毫秒,并且设置所有环上以太网端口的物理连接状态抑制时间为0秒。
图1 RRPP单环配置组网图
· 为了实现语音和视频流量走不同的拓扑,需要将整个环网划分为两个RRPP域:域1保护承载语音流量的VLAN 100~150,主节点为Device A;域2保护承载视频流量的VLAN 151~200,主节点为Device B。
· 为了使语音和视频流量的拓扑比较均衡合理,我们选择Device A的GigabitEthernet9/0/1为主端口,GigabitEthernet9/0/2为副端口;Device B的GigabitEthernet9/0/2为主端口,GigabitEthernet9/0/1为副端口。这样,语音流量和视频流量的拓扑如图2所示。
本举例是在S12500-CMW520-R1825P01版本上进行配置和验证的。
(1) 配置VLAN、实例和端口
# 创建VLAN 100~VLAN 200。
<DeviceA> system-view
[DeviceA] vlan 100 to 200
# VLAN 100~150绑定到实例1,VLAN 151~200绑定到实例2。
[DeviceA] stp region-configuration
[DeviceA-mst-region] instance 1 vlan 100 to 150
[DeviceA-mst-region] instance 2 vlan 151 to 200
[DeviceA-mst-region] active region-configuration
[DeviceA-mst-region] quit
# 配置端口。
[DeviceA] interface GigabitEthernet 9/0/1
[DeviceA-GigabitEthernet9/0/1] undo shutdown
[DeviceA-GigabitEthernet9/0/1] port link-type trunk
[DeviceA-GigabitEthernet9/0/1] port trunk permit vlan 100 to 200
[DeviceA-GigabitEthernet9/0/1] undo port trunk permit vlan 1
[DeviceA-GigabitEthernet9/0/1] link-delay 0
[DeviceA-GigabitEthernet9/0/1] undo stp enable
[DeviceA-GigabitEthernet9/0/1] quit
[DeviceA] interface GigabitEthernet 9/0/2
[DeviceA-GigabitEthernet9/0/2] undo shutdown
[DeviceA-GigabitEthernet9/0/2] port link-type trunk
[DeviceA-GigabitEthernet9/0/2] port trunk permit vlan 100 to 200
[DeviceA-GigabitEthernet9/0/2] undo port trunk permit vlan 1
[DeviceA-GigabitEthernet9/0/2] link-delay 0
[DeviceA-GigabitEthernet9/0/2] undo stp enable
[DeviceA-GigabitEthernet9/0/2] quit
(2) 配置RRPP
# 创建RRPP域1。
[DeviceA] rrpp domain 1
# 配置域1的控制VLAN 1000,保护实例1绑定的VLAN。
[DeviceA-rrpp-domain1] control-vlan 1000
[DeviceA-rrpp-domain1] protected-vlan reference-instance 1
# 使能快速检测,配置Fast-Hello定时器为10毫秒,配置Fast-Fail定时器为30毫秒。
[DeviceA-rrpp-domain1] fast-detection enable
[DeviceA-rrpp-domain1] timer fast-hello-timer 10
[DeviceA-rrpp-domain1] timer fast-fail-timer 30
# 配置Device A为主环主节点,端口GigabitEthernet9/0/1为主端口,GigabitEthernet9/0/2为副端口,并使能主环。
[DeviceA-rrpp-domain1] ring 1 node-mode master primary-port GigabitEthernet 9/0/1 secondary-port GigabitEthernet 9/0/2 level 0
[DeviceA-rrpp-domain1] ring 1 enable
[DeviceA-rrpp-domain1] quit
# 创建RRPP域2。
[DeviceA] rrpp domain 2
# 配置域2的控制VLAN 2000,保护实例2绑定的VLAN。
[DeviceA-rrpp-domain2] control-vlan 2000
[DeviceA-rrpp-domain2] protected-vlan reference-instance 2
# 配置Device A为主环传输节点,端口GigabitEthernet9/0/1为主端口,GigabitEthernet9/0/2为副端口,并使能主环。
[DeviceA-rrpp-domain2] ring 1 node-mode transit primary-port GigabitEthernet 9/0/1 secondary-port GigabitEthernet 9/0/2 level 0
[DeviceA-rrpp-domain2] ring 1 enable
[DeviceA-rrpp-domain2] quit
# 全局使能RRPP。
[DeviceA] rrpp enable
(1) 配置VLAN、实例和端口
# 创建VLAN 100~VLAN 200。
<DeviceB> system-view
[DeviceB] vlan 100 to 200
# VLAN 100~150绑定到实例1,VLAN 151~200绑定到实例2。
[DeviceB] stp region-configuration
[DeviceB-mst-region] instance 1 vlan 100 to 150
[DeviceB-mst-region] instance 2 vlan 151 to 200
[DeviceB-mst-region] active region-configuration
[DeviceB-mst-region] quit
# 配置端口。
[DeviceB] interface GigabitEthernet 9/0/1
[DeviceB-GigabitEthernet9/0/1] undo shutdown
[DeviceB-GigabitEthernet9/0/1] port link-type trunk
[DeviceB-GigabitEthernet9/0/1] port trunk permit vlan 100 to 200
[DeviceB-GigabitEthernet9/0/1] undo port trunk permit vlan 1
[DeviceB-GigabitEthernet9/0/1] link-delay 0
[DeviceB-GigabitEthernet9/0/1] undo stp enable
[DeviceB-GigabitEthernet9/0/1] quit
[DeviceB] interface GigabitEthernet 9/0/2
[DeviceB-GigabitEthernet9/0/2] undo shutdown
[DeviceB-GigabitEthernet9/0/2] port link-type trunk
[DeviceB-GigabitEthernet9/0/2] port trunk permit vlan 100 to 200
[DeviceB-GigabitEthernet9/0/2] undo port trunk permit vlan 1
[DeviceB-GigabitEthernet9/0/2] link-delay 0
[DeviceB-GigabitEthernet9/0/2] undo stp enable
[DeviceB-GigabitEthernet9/0/2] quit
(2) 配置RRPP
# 创建RRPP域1。
[DeviceB] rrpp domain 1
# 配置域1的控制VLAN 1000,保护实例1绑定的VLAN。
[DeviceB-rrpp-domain1] control-vlan 1000
[DeviceB-rrpp-domain1] protected-vlan reference-instance 1
# 配置Device B为主环传输节点,端口GigabitEthernet9/0/2为主端口,GigabitEthernet9/0/1为副端口,并使能主环。
[DeviceB-rrpp-domain1] ring 1 node-mode transit primary-port GigabitEthernet 9/0/2 secondary-port GigabitEthernet 9/0/1 level 0
[DeviceB-rrpp-domain1] ring 1 enable
[DeviceB-rrpp-domain1] quit
# 创建RRPP域2。
[DeviceB] rrpp domain 2
# 配置域2的控制VLAN 2000,保护实例2绑定的VLAN。
[DeviceB-rrpp-domain2] control-vlan 2000
[DeviceB-rrpp-domain2] protected-vlan reference-instance 2
# 使能快速检测,配置Fast-Hello定时器为10毫秒,配置Fast-Fail定时器为30毫秒。
[DeviceB-rrpp-domain2] fast-detection enable
[DeviceB-rrpp-domain2] timer fast-hello-timer 10
[DeviceB-rrpp-domain2] timer fast-fail-timer 30
# 配置Device B为主环主节点,端口GigabitEthernet9/0/2为主端口,GigabitEthernet9/0/1为副端口,并使能主环。
[DeviceB-rrpp-domain2] ring 1 node-mode master primary-port GigabitEthernet 9/0/2 secondary-port GigabitEthernet 9/0/1 level 0
[DeviceB-rrpp-domain2] ring 1 enable
[DeviceB-rrpp-domain2] quit
# 全局使能RRPP。
[DeviceB] rrpp enable
(1) 配置VLAN、实例和端口
# 创建VLAN 100~VLAN 200。
<DeviceC> system-view
[DeviceC] vlan 100 to 200
# VLAN 100~150绑定到实例1,VLAN 151~200绑定到实例2。
[DeviceC] stp region-configuration
[DeviceC-mst-region] instance 1 vlan 100 to 150
[DeviceC-mst-region] instance 2 vlan 151 to 200
[DeviceC-mst-region] active region-configuration
[DeviceC-mst-region] quit
# 配置端口。
[DeviceC] interface GigabitEthernet 9/0/1
[DeviceC-GigabitEthernet9/0/1] undo shutdown
[DeviceC-GigabitEthernet9/0/1] port link-type trunk
[DeviceC-GigabitEthernet9/0/1] port trunk permit vlan 100 to 200
[DeviceC-GigabitEthernet9/0/1] undo port trunk permit vlan 1
[DeviceC-GigabitEthernet9/0/1] link-delay 0
[DeviceC-GigabitEthernet9/0/1] undo stp enable
[DeviceC-GigabitEthernet9/0/1] quit
[DeviceC] interface GigabitEthernet 9/0/2
[DeviceC-GigabitEthernet9/0/2] undo shutdown
[DeviceC-GigabitEthernet9/0/2] port link-type trunk
[DeviceC-GigabitEthernet9/0/2] port trunk permit vlan 100 to 200
[DeviceC-GigabitEthernet9/0/2] undo port trunk permit vlan 1
[DeviceC-GigabitEthernet9/0/2] link-delay 0
[DeviceC-GigabitEthernet9/0/2] undo stp enable
[DeviceC-GigabitEthernet9/0/2] quit
(2) 配置RRPP
# 创建RRPP域1。
[DeviceC] rrpp domain 1
# 配置域1的控制VLAN 1000,保护实例1绑定的VLAN。
[DeviceC-rrpp-domain1] control-vlan 1000
[DeviceC-rrpp-domain1] protected-vlan reference-instance 1
# 配置Device C为主环传输节点,端口GigabitEthernet9/0/1为主端口,GigabitEthernet9/0/2为副端口,并使能主环。
[DeviceC-rrpp-domain1] ring 1 node-mode transit primary-port GigabitEthernet 9/0/1 secondary-port GigabitEthernet 9/0/2 level 0
[DeviceC-rrpp-domain1] ring 1 enable
[DeviceC-rrpp-domain1] quit
# 创建RRPP域2。
[DeviceC] rrpp domain 2
# 配置域2的控制VLAN 2000,保护实例2绑定的VLAN。
[DeviceC-rrpp-domain2] control-vlan 2000
[DeviceC-rrpp-domain2] protected-vlan reference-instance 2
# 配置Device C为主环传输节点,端口GigabitEthernet9/0/1为主端口,GigabitEthernet9/0/2为副端口,并使能主环。
[DeviceC-rrpp-domain2] ring 1 node-mode transit primary-port GigabitEthernet 9/0/1 secondary-port GigabitEthernet 9/0/2 level 0
[DeviceC-rrpp-domain2] ring 1 enable
[DeviceC-rrpp-domain2] quit
# 全局使能RRPP。
[DeviceC] rrpp enable
(1) 配置VLAN、实例和端口
# 创建VLAN 100~VLAN 200。
<DeviceD>system-view
[DeviceD] vlan 100 to 200
# VLAN 100~150绑定到实例1,VLAN 151~200绑定到实例2。
[DeviceD] stp region-configuration
[DeviceD-mst-region] instance 1 vlan 100 to 150
[DeviceD-mst-region] instance 2 vlan 151 to 200
[DeviceD-mst-region] active region-configuration
[DeviceD-mst-region] quit
# 配置端口。
[DeviceD] interface GigabitEthernet 9/0/1
[DeviceD-GigabitEthernet9/0/1] undo shutdown
[DeviceD-GigabitEthernet9/0/1] port link-type trunk
[DeviceD-GigabitEthernet9/0/1] port trunk permit vlan 100 to 200
[DeviceD-GigabitEthernet9/0/1] undo port trunk permit vlan 1
[DeviceD-GigabitEthernet9/0/1] link-delay 0
[DeviceD-GigabitEthernet9/0/1] undo stp enable
[DeviceD-GigabitEthernet9/0/1] quit
[DeviceD] interface GigabitEthernet 9/0/2
[DeviceD-GigabitEthernet9/0/2] undo shutdown
[DeviceD-GigabitEthernet9/0/2] port link-type trunk
[DeviceD-GigabitEthernet9/0/2] port trunk permit vlan 100 to 200
[DeviceD-GigabitEthernet9/0/2] undo port trunk permit vlan 1
[DeviceD-GigabitEthernet9/0/2] link-delay 0
[DeviceD-GigabitEthernet9/0/2] undo stp enable
[DeviceD-GigabitEthernet9/0/2] quit
(2) 配置RRPP
# 创建RRPP域1。
[DeviceD] rrpp domain 1
# 配置域1的控制VLAN 1000,保护实例1绑定的VLAN。
[DeviceD-rrpp-domain1] control-vlan 1000
[DeviceD-rrpp-domain1] protected-vlan reference-instance 1
# 配置Device D为主环传输节点,端口GigabitEthernet9/0/1为主端口,GigabitEthernet9/0/2为副端口,并使能主环。
[DeviceD-rrpp-domain1] ring 1 node-mode transit primary-port GigabitEthernet 9/0/1 secondary-port GigabitEthernet 9/0/2 level 0
[DeviceD-rrpp-domain1] ring 1 enable
[DeviceD-rrpp-domain1] quit
# 创建RRPP域2。
[DeviceD] rrpp domain 2
# 配置域2的控制VLAN 2000,保护实例2绑定的VLAN。
[DeviceD-rrpp-domain2] control-vlan 2000
[DeviceD-rrpp-domain2] protected-vlan reference-instance 2
# 配置Device D为主环传输节点,端口GigabitEthernet9/0/1为主端口,GigabitEthernet9/0/2为副端口,并使能主环。
[DeviceD-rrpp-domain2] ring 1 node-mode transit primary-port GigabitEthernet 9/0/1 secondary-port GigabitEthernet 9/0/2 level 0
[DeviceD-rrpp-domain2] ring 1 enable
[DeviceD-rrpp-domain2] quit
# 全局使能RRPP。
[DeviceD] rrpp enable
# 查看Device A的RRPP域1详细信息,显示Device A在RRPP域1中为主节点,且RRPP域1中主环状态为complete,主端口up,副端口block。
[DeviceA] display rrpp verbose domain 1
Domain ID : 1
Control VLAN : Major 1000 Sub 1001
Protected VLAN: Reference Instance 1
Hello Timer : 1 sec Fail Timer : 3 sec
Fast Detection Status: Enable
Fast Hello Timer: 10 ms Fast Fail Timer: 30 ms
Ring ID : 1
Ring Level : 0
Node Mode : Master
Ring State : Complete
Enable Status : Yes Active Status: Yes
Primary port : GigabitEthernet9/0/1 Port status: UP
Secondary port: GigabitEthernet9/0/2 Port status: BLOCK
# 查看Device A的RRPP域2详细信息,显示Device A在RRPP域2中为传输节点,RRPP端口状态均为up。
[DeviceA] display rrpp verbose domain 2
Domain ID : 2
Control VLAN : Major 2000 Sub 2001
Protected VLAN: Reference Instance 2
Hello Timer : 1 sec Fail Timer : 3 sec
Fast Detection Status: Disable
Fast Hello Timer: 20 ms Fast Fail Timer: 60 ms
Ring ID : 1
Ring Level : 0
Node Mode : Transit
Ring State : -
Enable Status : Yes Active Status: Yes
Primary port : GigabitEthernet9/0/1 Port status: UP
Secondary port: GigabitEthernet9/0/2 Port status: UP
# 查看Device B的RRPP域1详细信息,显示Device B在RRPP域1中为传输节点,RRPP端口状态均为up。
[DeviceB] display rrpp verbose domain 1
Domain ID : 1
Control VLAN : Major 1000 Sub 1001
Protected VLAN: Reference Instance 1
Hello Timer : 1 sec Fail Timer : 3 sec
Fast Detection Status: Disable
Fast Hello Timer: 20 ms Fast Fail Timer: 60 ms
Ring ID : 1
Ring Level : 0
Node Mode : Transit
Ring State : -
Enable Status : Yes Active Status: Yes
Primary port : GigabitEthernet9/0/2 Port status: UP
Secondary port: GigabitEthernet9/0/1 Port status: UP
# 查看Device B的RRPP域2详细信息,显示Device B在RRPP域2中为主节点,且RRPP域2中主环状态为complete,主端口up,副端口block。
[DeviceB] display rrpp verbose domain 2
Domain ID : 2
Control VLAN : Major 2000 Sub 2001
Protected VLAN: Reference Instance 2
Hello Timer : 1 sec Fail Timer : 3 sec
Fast Detection Status: Enable
Fast Hello Timer: 10 ms Fast Fail Timer: 30 ms
Ring ID : 1
Ring Level : 0
Node Mode : Master
Ring State : Complete
Enable Status : Yes Active Status: Yes
Primary port : GigabitEthernet9/0/2 Port status: UP
Secondary port: GigabitEthernet9/0/1 Port status: BLOCK
# 查看Device C的RRPP域1详细信息,显示Device C在RRPP域1中为传输节点,RRPP端口状态均为up。
[DeviceC] display rrpp verbose domain 1
Domain ID : 1
Control VLAN : Major 1000 Sub 1001
Protected VLAN: Reference Instance 1
Hello Timer : 1 sec Fail Timer : 3 sec
Fast Detection Status: Disable
Fast Hello Timer: 20 ms Fast Fail Timer: 60 ms
Ring ID : 1
Ring Level : 0
Node Mode : Transit
Ring State : -
Enable Status : Yes Active Status: Yes
Primary port : GigabitEthernet9/0/1 Port status: UP
Secondary port: GigabitEthernet9/0/2 Port status: UP
# 查看Device C的RRPP域2详细信息,显示Device C在RRPP域2中为传输节点,RRPP端口状态均为up。
[DeviceC] display rrpp verbose domain 2
Domain ID : 2
Control VLAN : Major 2000 Sub 2001
Protected VLAN: Reference Instance 2
Hello Timer : 1 sec Fail Timer : 3 sec
Fast Detection Status: Disable
Fast Hello Timer: 20 ms Fast Fail Timer: 60 ms
Ring ID : 1
Ring Level : 0
Node Mode : Transit
Ring State : -
Enable Status : Yes Active Status: Yes
Primary port : GigabitEthernet9/0/1 Port status: UP
Secondary port: GigabitEthernet9/0/2 Port status: UP
Device D的查看结果与Device C一致,不再赘述。
· Device A:
#
sysname DeviceA
#
vlan 1
#
vlan 100 to 200
#
stp region-configuration
instance 1 vlan 100 to 150
instance 2 vlan 151 to 200
active region-configuration
#
interface GigabitEthernet9/0/1
port link-mode bridge
port link-type trunk
undo port trunk permit vlan 1
port trunk permit vlan 100 to 200
link-delay 0
stp disable
#
interface GigabitEthernet9/0/2
port link-mode bridge
port link-type trunk
undo port trunk permit vlan 1
port trunk permit vlan 100 to 200
link-delay 0
stp disable
#
rrpp domain 1
control-vlan 1000
protected-vlan reference-instance 1
fast-detection enable
timer fast-fail-timer 30
timer fast-hello-timer 10
ring 1 node-mode master primary-port GigabitEthernet9/0/1 secondary-port GigabitEthernet9/0/2 level 0
ring 1 enable
#
rrpp domain 2
control-vlan 2000
protected-vlan reference-instance 2
ring 1 node-mode transit primary-port GigabitEthernet9/0/1 secondary-port GigabitEthernet9/0/2 level 0
ring 1 enable
#
rrpp enable
#
· Device B:
#
sysname DeviceB
#
vlan 1
#
vlan 100 to 200
#
stp region-configuration
instance 1 vlan 100 to 150
instance 2 vlan 151 to 200
active region-configuration
#
interface GigabitEthernet9/0/1
port link-mode bridge
port link-type trunk
undo port trunk permit vlan 1
port trunk permit vlan 100 to 200
link-delay 0
stp disable
#
interface GigabitEthernet9/0/2
port link-mode bridge
port link-type trunk
undo port trunk permit vlan 1
port trunk permit vlan 100 to 200
link-delay 0
stp disable
#
rrpp domain 1
control-vlan 1000
protected-vlan reference-instance 1
ring 1 node-mode transit primary-port GigabitEthernet9/0/2 secondary-port GigabitEthernet9/0/1 level 0
ring 1 enable
#
rrpp domain 2
control-vlan 2000
protected-vlan reference-instance 2
fast-detection enable
timer fast-fail-timer 30
timer fast-hello-timer 10
ring 1 node-mode master primary-port GigabitEthernet9/0/2 secondary-port GigabitEthernet9/0/1 level 0
ring 1 enable
#
rrpp enable
#
· Device C:
#
sysname DeviceC
#
vlan 1
#
vlan 100 to 200
#
stp region-configuration
instance 1 vlan 100 to 150
instance 2 vlan 151 to 200
active region-configuration
#
interface GigabitEthernet9/0/1
port link-mode bridge
port link-type trunk
undo port trunk permit vlan 1
port trunk permit vlan 100 to 200
link-delay 0
stp disable
#
interface GigabitEthernet9/0/2
port link-mode bridge
port link-type trunk
undo port trunk permit vlan 1
port trunk permit vlan 100 to 200
link-delay 0
stp disable
#
rrpp domain 1
control-vlan 1000
protected-vlan reference-instance 1
ring 1 node-mode transit primary-port GigabitEthernet9/0/1 secondary-port GigabitEthernet9/0/2 level 0
ring 1 enable
#
rrpp domain 2
control-vlan 2000
protected-vlan reference-instance 2
ring 1 node-mode transit primary-port GigabitEthernet9/0/1 secondary-port GigabitEthernet9/0/2 level 0
ring 1 enable
#
rrpp enable
#
· Device D:
#
sysname DeviceD
#
vlan 1
#
vlan 100 to 200
#
stp region-configuration
instance 1 vlan 100 to 150
instance 2 vlan 151 to 200
active region-configuration
#
interface GigabitEthernet9/0/1
port link-mode bridge
port link-type trunk
undo port trunk permit vlan 1
port trunk permit vlan 100 to 200
link-delay 0
stp disable
#
interface GigabitEthernet9/0/2
port link-mode bridge
port link-type trunk
undo port trunk permit vlan 1
port trunk permit vlan 100 to 200
link-delay 0
stp disable
#
rrpp domain 1
control-vlan 1000
protected-vlan reference-instance 1
ring 1 node-mode transit primary-port GigabitEthernet9/0/1 secondary-port GigabitEthernet9/0/2 level 0
ring 1 enable
#
rrpp domain 2
control-vlan 2000
protected-vlan reference-instance 2
ring 1 node-mode transit primary-port GigabitEthernet9/0/1 secondary-port GigabitEthernet9/0/2 level 0
ring 1 enable
#
rrpp enable
#
如图3所示,某接入层以环网形式接入汇聚层,汇聚层网络也是一个环网。该网络中使用VLAN 100~150承载语音业务、VLAN 151~200承载视频业务。要求通过配置RRPP功能,除了实现基本的环路防止功能外,还需要实现如下需求:
· 使语音和视频流量走不同的拓扑,以实现链路的负载分担。
· 配置RRPP快速检测功能,进一步保证网络收敛性能。设置Fast-Fail定时器为30毫秒、Fast-Hello定时器为10毫秒,并且设置所有环上以太网端口的物理连接状态抑制时间为0秒。
图3 RRPP单子环配置组网图
· RRPP主环需要透传子环的保护VLAN和控制VLAN内的流量,需要有较强的数据传输能力。本例中选择汇聚层环网作为主环(Ring 1),接入层环网作为子环(Ring 2)。
· 为了实现语音和视频流量走不同的拓扑,需要将整个环网划分为两个RRPP域:域1保护承载语音流量的VLAN 100~150,Ring 1主节点为Device A,Ring 2主节点为Device E;域2保护承载视频流量的VLAN 151~200,Ring 1主节点为Device B,Ring 2主节点为Device F。
· 为了使语音和视频流量的拓扑比较均衡合理,我们选择Device A的GigabitEthernet9/0/1为主端口,GigabitEthernet9/0/2为副端口;Device B的GigabitEthernet9/0/2为主端口,GigabitEthernet9/0/1为副端口;Device E的GigabitEthernet9/0/2为主端口,GigabitEthernet9/0/1为副端口;Device F的GigabitEthernet9/0/1为主端口,GigabitEthernet9/0/2为副端口。这样,语音流量和视频流量的拓扑如图4所示。
本举例是在S12500-CMW520-R1825P01版本上进行配置和验证的。
· 在RRPP子环的主节点上配置快速检测功能时,需保证该环的边缘节点和辅助边缘节点也都支持快速检测功能,否则不建议配置此功能。
· 请按照先边缘节点、后辅助边缘节点的顺序来配置快速检测功能,否则辅助边缘节点可能会因收不到Fast-Edge-Hello报文而误认为主环故障。
(1) 配置VLAN、实例和端口
# 创建VLAN 100~VLAN 200。
<DeviceA> system-view
[DeviceA] vlan 100 to 200
# VLAN 100~150绑定到实例1,VLAN 151~200绑定到实例2。
[DeviceA] stp region-configuration
[DeviceA-mst-region] instance 1 vlan 100 to 150
[DeviceA-mst-region] instance 2 vlan 151 to 200
[DeviceA-mst-region] active region-configuration
[DeviceA-mst-region] quit
# 配置端口。
[DeviceA] interface GigabitEthernet 9/0/1
[DeviceA-GigabitEthernet9/0/1] undo shutdown
[DeviceA-GigabitEthernet9/0/1] port link-type trunk
[DeviceA-GigabitEthernet9/0/1] port trunk permit vlan 100 to 200
[DeviceA-GigabitEthernet9/0/1] undo port trunk permit vlan 1
[DeviceA-GigabitEthernet9/0/1] link-delay 0
[DeviceA-GigabitEthernet9/0/1] undo stp enable
[DeviceA-GigabitEthernet9/0/1] quit
[DeviceA] interface GigabitEthernet 9/0/2
[DeviceA-GigabitEthernet9/0/2] undo shutdown
[DeviceA-GigabitEthernet9/0/2] port link-type trunk
[DeviceA-GigabitEthernet9/0/2] port trunk permit vlan 100 to 200
[DeviceA-GigabitEthernet9/0/2] undo port trunk permit vlan 1
[DeviceA-GigabitEthernet9/0/2] link-delay 0
[DeviceA-GigabitEthernet9/0/2] undo stp enable
[DeviceA-GigabitEthernet9/0/2] quit
(2) 配置RRPP
# 创建RRPP域1。
[DeviceA] rrpp domain 1
# 配置域1的控制VLAN 1000,保护实例1绑定的VLAN。
[DeviceA-rrpp-domain1] control-vlan 1000
[DeviceA-rrpp-domain1] protected-vlan reference-instance 1
# 使能快速检测,配置Fast-Hello定时器为10毫秒,配置Fast-Fail定时器为30毫秒。
[DeviceA-rrpp-domain1] fast-detection enable
[DeviceA-rrpp-domain1] timer fast-hello-timer 10
[DeviceA-rrpp-domain1] timer fast-fail-timer 30
# 配置Device A为主环主节点,端口GigabitEthernet9/0/1为主端口,GigabitEthernet9/0/2为副端口,并使能主环。
[DeviceA-rrpp-domain1] ring 1 node-mode master primary-port GigabitEthernet 9/0/1 secondary-port GigabitEthernet 9/0/2 level 0
[DeviceA-rrpp-domain1] ring 1 enable
[DeviceA-rrpp-domain1] quit
# 创建RRPP域2。
[DeviceA] rrpp domain 2
# 配置域2的控制VLAN 2000,保护实例2绑定的VLAN。
[DeviceA-rrpp-domain2] control-vlan 2000
[DeviceA-rrpp-domain2] protected-vlan reference-instance 2
# 配置Device A为主环传输节点,端口GigabitEthernet9/0/1为主端口,GigabitEthernet9/0/2为副端口,并使能主环。
[DeviceA-rrpp-domain2] ring 1 node-mode transit primary-port GigabitEthernet 9/0/1 secondary-port GigabitEthernet 9/0/2 level 0
[DeviceA-rrpp-domain2] ring 1 enable
[DeviceA-rrpp-domain2] quit
# 全局使能RRPP。
[DeviceA] rrpp enable
(1) 配置VLAN、实例和端口
# 创建VLAN 100~VLAN 200。
<DeviceB>system-view
[DeviceB] vlan 100 to 200
# VLAN 100~150绑定到实例1,VLAN 151~200绑定到实例2。
[DeviceB] stp region-configuration
[DeviceB-mst-region] instance 1 vlan 100 to 150
[DeviceB-mst-region] instance 2 vlan 151 to 200
[DeviceB-mst-region] active region-configuration
[DeviceB-mst-region] quit
# 配置端口。
[DeviceB] interface GigabitEthernet 9/0/1
[DeviceB-GigabitEthernet9/0/1] undo shutdown
[DeviceB-GigabitEthernet9/0/1] port link-type trunk
[DeviceB-GigabitEthernet9/0/1] port trunk permit vlan 100 to 200
[DeviceB-GigabitEthernet9/0/1] undo port trunk permit vlan 1
[DeviceB-GigabitEthernet9/0/1] link-delay 0
[DeviceB-GigabitEthernet9/0/1] undo stp enable
[DeviceB-GigabitEthernet9/0/1] quit
[DeviceB] interface GigabitEthernet 9/0/2
[DeviceB-GigabitEthernet9/0/2] undo shutdown
[DeviceB-GigabitEthernet9/0/2] port link-type trunk
[DeviceB-GigabitEthernet9/0/2] port trunk permit vlan 100 to 200
[DeviceB-GigabitEthernet9/0/2] undo port trunk permit vlan 1
[DeviceB-GigabitEthernet9/0/2] link-delay 0
[DeviceB-GigabitEthernet9/0/2] undo stp enable
[DeviceB-GigabitEthernet9/0/2] quit
(2) 配置RRPP
# 创建RRPP域1。
[DeviceB] rrpp domain 1
# 配置域1的控制VLAN 1000,保护实例1绑定的VLAN。
[DeviceB-rrpp-domain1] control-vlan 1000
[DeviceB-rrpp-domain1] protected-vlan reference-instance 1
# 配置Device B为主环传输节点,端口GigabitEthernet9/0/2为主端口,GigabitEthernet9/0/1为副端口,并使能主环。
[DeviceB-rrpp-domain1] ring 1 node-mode transit primary-port GigabitEthernet 9/0/2 secondary-port GigabitEthernet 9/0/1 level 0
[DeviceB-rrpp-domain1] ring 1 enable
[DeviceB-rrpp-domain1] quit
# 创建RRPP域2。
[DeviceB] rrpp domain 2
# 配置域2的控制VLAN 2000,保护实例2绑定的VLAN。
[DeviceB-rrpp-domain2] control-vlan 2000
[DeviceB-rrpp-domain2] protected-vlan reference-instance 2
# 使能快速检测,配置Fast-Hello定时器为10毫秒,配置Fast-Fail定时器为30毫秒。
[DeviceB-rrpp-domain2] fast-detection enable
[DeviceB-rrpp-domain2] timer fast-hello-timer 10
[DeviceB-rrpp-domain2] timer fast-fail-timer 30
# 配置Device B为主环主节点,端口GigabitEthernet9/0/2为主端口,GigabitEthernet9/0/1为副端口,并使能主环。
[DeviceB-rrpp-domain2] ring 1 node-mode master primary-port GigabitEthernet 9/0/2 secondary-port GigabitEthernet 9/0/1 level 0
[DeviceB-rrpp-domain2] ring 1 enable
[DeviceB-rrpp-domain2] quit
# 全局使能RRPP。
[DeviceB] rrpp enable
(1) 配置VLAN、实例和端口
# 创建VLAN 100~VLAN 200。
<DeviceC>system-view
[DeviceC] vlan 100 to 200
# VLAN 100~150绑定到实例1,VLAN 151~200绑定到实例2。
[DeviceC] stp region-configuration
[DeviceC-mst-region] instance 1 vlan 100 to 150
[DeviceC-mst-region] instance 2 vlan 151 to 200
[DeviceC-mst-region] active region-configuration
[DeviceC-mst-region] quit
# 配置端口。
[DeviceC] interface GigabitEthernet 9/0/1
[DeviceC-GigabitEthernet9/0/1] undo shutdown
[DeviceC-GigabitEthernet9/0/1] port link-type trunk
[DeviceC-GigabitEthernet9/0/1] port trunk permit vlan 100 to 200
[DeviceC-GigabitEthernet9/0/1] undo port trunk permit vlan 1
[DeviceC-GigabitEthernet9/0/1] link-delay 0
[DeviceC-GigabitEthernet9/0/1] undo stp enable
[DeviceC-GigabitEthernet9/0/1] quit
[DeviceC] interface GigabitEthernet 9/0/2
[DeviceC-GigabitEthernet9/0/2] undo shutdown
[DeviceC-GigabitEthernet9/0/2] port link-type trunk
[DeviceC-GigabitEthernet9/0/2] port trunk permit vlan 100 to 200
[DeviceC-GigabitEthernet9/0/2] undo port trunk permit vlan 1
[DeviceC-GigabitEthernet9/0/2] link-delay 0
[DeviceC-GigabitEthernet9/0/2] undo stp enable
[DeviceC-GigabitEthernet9/0/2] quit
[DeviceC] interface GigabitEthernet 9/0/3
[DeviceC-GigabitEthernet9/0/3] undo shutdown
[DeviceC-GigabitEthernet9/0/3] port link-type trunk
[DeviceC-GigabitEthernet9/0/3] port trunk permit vlan 100 to 200
[DeviceC-GigabitEthernet9/0/3] undo port trunk permit vlan 1
[DeviceC-GigabitEthernet9/0/3] link-delay 0
[DeviceC-GigabitEthernet9/0/3] undo stp enable
[DeviceC-GigabitEthernet9/0/3] quit
(2) 配置RRPP
# 创建RRPP域1。
[DeviceC] rrpp domain 1
# 配置域1的控制VLAN 1000,保护实例1绑定的VLAN。
[DeviceC-rrpp-domain1] control-vlan 1000
[DeviceC-rrpp-domain1] protected-vlan reference-instance 1
# 使能快速检测,配置Fast-Hello定时器为10毫秒,配置Fast-Fail定时器为30毫秒。
[DeviceC-rrpp-domain1] fast-detection enable
[DeviceC-rrpp-domain1] timer fast-hello-timer 10
[DeviceC-rrpp-domain1] timer fast-fail-timer 30
# 配置Device C为主环传输节点,端口GigabitEthernet9/0/1为主端口,GigabitEthernet9/0/2为副端口,并使能主环。
[DeviceC-rrpp-domain1] ring 1 node-mode transit primary-port GigabitEthernet 9/0/1 secondary-port GigabitEthernet 9/0/2 level 0
[DeviceC-rrpp-domain1] ring 1 enable
# 配置Device C为子环的边缘节点,端口GigabitEthernet9/0/3为边缘端口,并使能子环。
[DeviceC-rrpp-domain1] ring 2 node-mode edge edge-port GigabitEthernet 9/0/3
[DeviceC-rrpp-domain1] ring 2 enable
[DeviceC-rrpp-domain1] quit
# 创建RRPP域2。
[DeviceC] rrpp domain 2
# 配置域2的控制VLAN 2000,保护实例2绑定的VLAN。
[DeviceC-rrpp-domain2] control-vlan 2000
[DeviceC-rrpp-domain2] protected-vlan reference-instance 2
# 使能快速检测,配置Fast-Hello定时器为10毫秒,配置Fast-Fail定时器为30毫秒。
[DeviceC-rrpp-domain2] fast-detection enable
[DeviceC-rrpp-domain2] timer fast-hello-timer 10
[DeviceC-rrpp-domain2] timer fast-fail-timer 30
# 配置Device C为主环传输节点,端口GigabitEthernet9/0/1为主端口,GigabitEthernet9/0/2为副端口;并使能主环。
[DeviceC-rrpp-domain2] ring 1 node-mode transit primary-port GigabitEthernet 9/0/1 secondary-port GigabitEthernet 9/0/2 level 0
[DeviceC-rrpp-domain2] ring 1 enable
# 配置Device C为子环的边缘节点,端口GigabitEthernet9/0/3为边缘端口,并使能子环。
[DeviceC-rrpp-domain2] ring 2 node-mode edge edge-port GigabitEthernet 9/0/3
[DeviceC-rrpp-domain2] ring 2 enable
[DeviceC-rrpp-domain2] quit
# 全局使能RRPP。
[DeviceC] rrpp enable
(1) 配置VLAN、实例和端口
# 创建VLAN 100~VLAN 200。
<DeviceD>system-view
[DeviceD] vlan 100 to 200
# VLAN 100~150绑定到实例1,VLAN 151~200绑定到实例2。
[DeviceD] stp region-configuration
[DeviceD-mst-region] instance 1 vlan 100 to 150
[DeviceD-mst-region] instance 2 vlan 151 to 200
[DeviceD-mst-region] active region-configuration
[DeviceD-mst-region] quit
# 配置端口。
[DeviceD] interface GigabitEthernet 9/0/1
[DeviceD-GigabitEthernet9/0/1] undo shutdown
[DeviceD-GigabitEthernet9/0/1] port link-type trunk
[DeviceD-GigabitEthernet9/0/1] port trunk permit vlan 100 to 200
[DeviceD-GigabitEthernet9/0/1] undo port trunk permit vlan 1
[DeviceD-GigabitEthernet9/0/1] link-delay 0
[DeviceD-GigabitEthernet9/0/1] undo stp enable
[DeviceD-GigabitEthernet9/0/1] quit
[DeviceD] interface GigabitEthernet 9/0/2
[DeviceD-GigabitEthernet9/0/2] undo shutdown
[DeviceD-GigabitEthernet9/0/2] port link-type trunk
[DeviceD-GigabitEthernet9/0/2] port trunk permit vlan 100 to 200
[DeviceD-GigabitEthernet9/0/2] undo port trunk permit vlan 1
[DeviceD-GigabitEthernet9/0/2] link-delay 0
[DeviceD-GigabitEthernet9/0/2] undo stp enable
[DeviceD-GigabitEthernet9/0/2] quit
[DeviceD] interface GigabitEthernet 9/0/3
[DeviceD-GigabitEthernet9/0/3] undo shutdown
[DeviceD-GigabitEthernet9/0/3] port link-type trunk
[DeviceD-GigabitEthernet9/0/3] port trunk permit vlan 100 to 200
[DeviceD-GigabitEthernet9/0/3] undo port trunk permit vlan 1
[DeviceD-GigabitEthernet9/0/3] link-delay 0
[DeviceD-GigabitEthernet9/0/3] undo stp enable
[DeviceD-GigabitEthernet9/0/3] quit
(2) 配置RRPP
# 创建RRPP域1。
[DeviceD] rrpp domain 1
# 配置域1的控制VLAN 1000,保护实例1绑定的VLAN。
[DeviceD-rrpp-domain1] control-vlan 1000
[DeviceD-rrpp-domain1] protected-vlan reference-instance 1
# 使能快速检测,配置Fast-Hello定时器为10毫秒,配置Fast-Fail定时器为30毫秒。
[DeviceD-rrpp-domain1] fast-detection enable
[DeviceD-rrpp-domain1] timer fast-hello-timer 10
[DeviceD-rrpp-domain1] timer fast-fail-timer 30
# 配置Device D为主环传输节点,端口GigabitEthernet9/0/1为主端口,GigabitEthernet9/0/2为副端口,并使能主环。
[DeviceD-rrpp-domain1] ring 1 node-mode transit primary-port GigabitEthernet 9/0/1 secondary-port GigabitEthernet 9/0/2 level 0
[DeviceD-rrpp-domain1] ring 1 enable
# 配置Device D为子环的辅助边缘节点,端口GigabitEthernet9/0/3为边缘端口,并使能子环。
[DeviceD-rrpp-domain1] ring 2 node-mode assistant-edge edge-port GigabitEthernet 9/0/3
[DeviceD-rrpp-domain1] ring 2 enable
[DeviceD-rrpp-domain1] quit
# 创建RRPP域2。
[DeviceD] rrpp domain 2
# 配置域2的控制VLAN 2000,保护实例2绑定的VLAN。
[DeviceD-rrpp-domain2] control-vlan 2000
[DeviceD-rrpp-domain2] protected-vlan reference-instance 2
# 使能快速检测,配置Fast-Hello定时器为10毫秒,配置Fast-Fail定时器为30毫秒。
[DeviceD-rrpp-domain2] fast-detection enable
[DeviceD-rrpp-domain2] timer fast-hello-timer 10
[DeviceD-rrpp-domain2] timer fast-fail-timer 30
# 配置Device D为主环传输节点,端口GigabitEthernet9/0/1为主端口,GigabitEthernet9/0/2为副端口,并使能主环。
[DeviceD-rrpp-domain2] ring 1 node-mode transit primary-port GigabitEthernet 9/0/1 secondary-port GigabitEthernet 9/0/2 level 0
[DeviceD-rrpp-domain2] ring 1 enable
# 配置Device D为子环的辅助边缘节点,端口GigabitEthernet9/0/3为边缘端口,并使能子环。
[DeviceD-rrpp-domain2] ring 2 node-mode assistant-edge edge-port GigabitEthernet 9/0/3
[DeviceD-rrpp-domain2] ring 2 enable
[DeviceD-rrpp-domain2] quit
# 全局使能RRPP。
[DeviceD] rrpp enable
(1) 配置VLAN、实例和端口
# 创建VLAN 100~VLAN 200。
<DeviceE>system-view
[DeviceE] vlan 100 to 200
# VLAN 100~150绑定到实例1,VLAN 151~200绑定到实例2。
[DeviceE] stp region-configuration
[DeviceE-mst-region] instance 1 vlan 100 to 150
[DeviceE-mst-region] instance 2 vlan 151 to 200
[DeviceE-mst-region] active region-configuration
[DeviceE-mst-region] quit
# 配置端口。
[DeviceE] interface GigabitEthernet 9/0/1
[DeviceE-GigabitEthernet9/0/1] undo shutdown
[DeviceE-GigabitEthernet9/0/1] port link-type trunk
[DeviceE-GigabitEthernet9/0/1] port trunk permit vlan 100 to 200
[DeviceE-GigabitEthernet9/0/1] undo port trunk permit vlan 1
[DeviceE-GigabitEthernet9/0/1] link-delay 0
[DeviceE-GigabitEthernet9/0/1] undo stp enable
[DeviceE-GigabitEthernet9/0/1] quit
[DeviceE] interface GigabitEthernet 9/0/2
[DeviceE-GigabitEthernet9/0/2] undo shutdown
[DeviceE-GigabitEthernet9/0/2] port link-type trunk
[DeviceE-GigabitEthernet9/0/2] port trunk permit vlan 100 to 200
[DeviceE-GigabitEthernet9/0/2] undo port trunk permit vlan 1
[DeviceE-GigabitEthernet9/0/2] link-delay 0
[DeviceE-GigabitEthernet9/0/2] undo stp enable
[DeviceE-GigabitEthernet9/0/2] quit
(2) 配置RRPP
# 创建RRPP域1。
[DeviceE] rrpp domain 1
# 配置域1的控制VLAN 1000,保护实例1绑定的VLAN。
[DeviceE-rrpp-domain1] control-vlan 1000
[DeviceE-rrpp-domain1] protected-vlan reference-instance 1
# 使能快速检测,配置Fast-Hello定时器为10毫秒,配置Fast-Fail定时器为30毫秒。
[DeviceE-rrpp-domain1] fast-detection enable
[DeviceE-rrpp-domain1] timer fast-hello-timer 10
[DeviceE-rrpp-domain1] timer fast-fail-timer 30
# 配置Device E为子环主节点,端口GigabitEthernet9/0/2为主端口,GigabitEthernet9/0/1为副端口,并使能子环。
[DeviceE-rrpp-domain1] ring 2 node-mode master primary-port GigabitEthernet 9/0/2 secondary-port GigabitEthernet 9/0/1 level 1
[DeviceE-rrpp-domain1] ring 2 enable
[DeviceE-rrpp-domain1] quit
# 创建RRPP域2。
[DeviceE] rrpp domain 2
# 配置域2的控制VLAN 2000,保护实例2绑定的VLAN。
[DeviceE-rrpp-domain2] control-vlan 2000
[DeviceE-rrpp-domain2] protected-vlan reference-instance 2
# 配置Device E为子环传输节点,端口GigabitEthernet9/0/2为主端口,GigabitEthernet9/0/1为副端口,并使能子环。
[DeviceE-rrpp-domain2] ring 2 node-mode transit primary-port GigabitEthernet 9/0/2 secondary-port GigabitEthernet 9/0/1 level 1
[DeviceE-rrpp-domain2] ring 2 enable
[DeviceE-rrpp-domain2] quit
# 全局使能RRPP。
[DeviceE] rrpp enable
(1) 配置VLAN、实例和端口
# 创建VLAN 100~VLAN 200。
<DeviceF>system-view
[DeviceF] vlan 100 to 200
# VLAN 100~150绑定到实例1,VLAN 151~200绑定到实例2。
[DeviceF] stp region-configuration
[DeviceF-mst-region] instance 1 vlan 100 to 150
[DeviceF-mst-region] instance 2 vlan 151 to 200
[DeviceF-mst-region] active region-configuration
[DeviceF-mst-region] quit
# 配置端口。
[DeviceF] interface GigabitEthernet 9/0/1
[DeviceF-GigabitEthernet9/0/1] undo shutdown
[DeviceF-GigabitEthernet9/0/1] port link-type trunk
[DeviceF-GigabitEthernet9/0/1] port trunk permit vlan 100 to 200
[DeviceF-GigabitEthernet9/0/1] undo port trunk permit vlan 1
[DeviceF-GigabitEthernet9/0/1] link-delay 0
[DeviceF-GigabitEthernet9/0/1] undo stp enable
[DeviceF-GigabitEthernet9/0/1] quit
[DeviceF] interface GigabitEthernet 9/0/2
[DeviceF-GigabitEthernet9/0/2] undo shutdown
[DeviceF-GigabitEthernet9/0/2] port link-type trunk
[DeviceF-GigabitEthernet9/0/2] port trunk permit vlan 100 to 200
[DeviceF-GigabitEthernet9/0/2] undo port trunk permit vlan 1
[DeviceF-GigabitEthernet9/0/2] link-delay 0
[DeviceF-GigabitEthernet9/0/2] undo stp enable
[DeviceF-GigabitEthernet9/0/2] quit
(2) 配置RRPP
# 创建RRPP域1。
[DeviceF] rrpp domain 1
# 配置域1的控制VLAN 1000,保护实例1绑定的VLAN。
[DeviceF-rrpp-domain1] control-vlan 1000
[DeviceF-rrpp-domain1] protected-vlan reference-instance 1
# 配置Device F为子环传输节点,端口GigabitEthernet9/0/1为主端口,GigabitEthernet9/0/2为副端口,并使能子环。
[DeviceF-rrpp-domain1] ring 2 node-mode transit primary-port GigabitEthernet 9/0/1 secondary-port GigabitEthernet 9/0/2 level 1
[DeviceF-rrpp-domain1] ring 2 enable
[DeviceF-rrpp-domain1] quit
# 创建RRPP域2。
[DeviceF] rrpp domain 2
# 配置域2的控制VLAN 2000,保护实例2绑定的VLAN。
[DeviceF-rrpp-domain2] control-vlan 2000
[DeviceF-rrpp-domain2] protected-vlan reference-instance 2
# 使能快速检测,配置Fast-Hello定时器为10毫秒,配置Fast-Fail定时器为30毫秒。
[DeviceF-rrpp-domain2] fast-detection enable
[DeviceF-rrpp-domain2] timer fast-hello-timer 10
[DeviceF-rrpp-domain2] timer fast-fail-timer 30
# 配置Device F为子环主节点,端口GigabitEthernet9/0/1为主端口,GigabitEthernet9/0/2为副端口,并使能子环。
[DeviceF-rrpp-domain2] ring 2 node-mode master primary-port GigabitEthernet 9/0/1 secondary-port GigabitEthernet 9/0/2 level 1
[DeviceF-rrpp-domain2] ring 2 enable
[DeviceF-rrpp-domain2] quit
# 全局使能RRPP。
[DeviceF] rrpp enable
# 查看Device A的RRPP域1详细信息,显示Device A在RRPP域1中为主环主节点,且RRPP域1中主环状态为complete,主端口up,副端口block。
[DeviceA] display rrpp verbose domain 1
Domain ID : 1
Control VLAN : Major 1000 Sub 1001
Protected VLAN: Reference Instance 1
Hello Timer : 1 sec Fail Timer : 3 sec
Fast Detection Status: Enable
Fast Hello Timer: 10 ms Fast Fail Timer: 30 ms
Ring ID : 1
Ring Level : 0
Node Mode : Master
Ring State : Complete
Enable Status : Yes Active Status: Yes
Primary port : GigabitEthernet9/0/1 Port status: UP
Secondary port: GigabitEthernet9/0/2 Port status: BLOCK
# 查看Device A的RRPP域2详细信息,显示Device A在RRPP域2中为主环传输节点,RRPP端口状态均为up。
[DeviceA] display rrpp verbose domain 2
Domain ID : 2
Control VLAN : Major 2000 Sub 2001
Protected VLAN: Reference Instance 2
Hello Timer : 1 sec Fail Timer : 3 sec
Fast Detection Status: Disable
Fast Hello Timer: 20 ms Fast Fail Timer: 60 ms
Ring ID : 1
Ring Level : 0
Node Mode : Transit
Ring State : -
Enable Status : Yes Active Status: Yes
Primary port : GigabitEthernet9/0/1 Port status: UP
Secondary port: GigabitEthernet9/0/2 Port status: UP
# 查看Device B的RRPP域1详细信息,显示Device B在RRPP域1中为主环传输节点,RRPP端口状态均为up。
[DeviceB] display rrpp verbose domain 1
Domain ID : 1
Control VLAN : Major 1000 Sub 1001
Protected VLAN: Reference Instance 1
Hello Timer : 1 sec Fail Timer : 3 sec
Fast Detection Status: Disable
Fast Hello Timer: 20 ms Fast Fail Timer: 60 ms
Ring ID : 1
Ring Level : 0
Node Mode : Transit
Ring State : -
Enable Status : Yes Active Status: Yes
Primary port : GigabitEthernet9/0/2 Port status: UP
Secondary port: GigabitEthernet9/0/1 Port status: UP
# 查看Device B的RRPP域2详细信息,显示Device B在RRPP域2中为主环主节点,且RRPP域2中主环状态为complete,主端口up,副端口block。
[DeviceB] display rrpp verbose domain 2
Domain ID : 2
Control VLAN : Major 2000 Sub 2001
Protected VLAN: Reference Instance 2
Hello Timer : 1 sec Fail Timer : 3 sec
Fast Detection Status: Enable
Fast Hello Timer: 10 ms Fast Fail Timer: 30 ms
Ring ID : 1
Ring Level : 0
Node Mode : Master
Ring State : Complete
Enable Status : Yes Active Status: Yes
Primary port : GigabitEthernet9/0/2 Port status: UP
Secondary port: GigabitEthernet9/0/1 Port status: BLOCK
# 查看Device C的RRPP域1详细信息,显示Device C在RRPP域1中为主环传输节点和子环边缘节点,RRPP端口状态均为up。
[DeviceC] display rrpp verbose domain 1
Domain ID : 1
Control VLAN : Major 1000 Sub 1001
Protected VLAN: Reference Instance 1
Hello Timer : 1 sec Fail Timer : 3 sec
Fast Detection Status: Enable
Fast Hello Timer: 10 ms Fast Fail Timer: 30 ms
Ring ID : 1
Ring Level : 0
Node Mode : Transit
Ring State : -
Enable Status : Yes Active Status: Yes
Primary port : GigabitEthernet9/0/1 Port status: UP
Secondary port: GigabitEthernet9/0/2 Port status: UP
Ring ID : 2
Ring Level : 1
Node Mode : Edge
Ring State : -
Enable Status : Yes Active Status: Yes
Common port : GigabitEthernet9/0/1 Port status: UP
GigabitEthernet9/0/2 Port status: UP
Edge port : GigabitEthernet9/0/3 Port status: UP
# 查看Device C的RRPP域2详细信息,显示Device C在RRPP域2中为主环传输节点和子环边缘节点,RRPP端口状态均为up。
[DeviceC] display rrpp verbose domain 2
Domain ID : 2
Control VLAN : Major 2000 Sub 2001
Protected VLAN: Reference Instance 2
Hello Timer : 1 sec Fail Timer : 3 sec
Fast Detection Status: Enable
Fast Hello Timer: 10 ms Fast Fail Timer: 30 ms
Ring ID : 1
Ring Level : 0
Node Mode : Transit
Ring State : -
Enable Status : Yes Active Status: Yes
Primary port : GigabitEthernet9/0/1 Port status: UP
Secondary port: GigabitEthernet9/0/2 Port status: UP
Ring ID : 2
Ring Level : 1
Node Mode : Edge
Ring State : -
Enable Status : Yes Active Status: Yes
Common port : GigabitEthernet9/0/1 Port status: UP
GigabitEthernet9/0/2 Port status: UP
Edge port : GigabitEthernet9/0/3 Port status: UP
# 查看Device D的RRPP域1详细信息,显示Device C在RRPP域1中为主环传输节点和子环辅助边缘节点,RRPP端口状态均为up。
[DeviceD] display rrpp verbose domain 1
Domain ID : 1
Control VLAN : Major 1000 Sub 1001
Protected VLAN: Reference Instance 1
Hello Timer : 1 sec Fail Timer : 3 sec
Fast Detection Status: Disable
Fast Hello Timer: 10 ms Fast Fail Timer: 30 ms
Ring ID : 1
Ring Level : 0
Node Mode : Transit
Ring State : -
Enable Status : Yes Active Status: Yes
Primary port : GigabitEthernet9/0/1 Port status: UP
Secondary port: GigabitEthernet9/0/2 Port status: UP
Ring ID : 2
Ring Level : 1
Node Mode : Assistant-edge
Ring State : -
Enable Status : Yes Active Status: Yes
Common port : GigabitEthernet9/0/1 Port status: UP
GigabitEthernet9/0/2 Port status: UP
Edge port : GigabitEthernet9/0/3 Port status: UP
# 查看Device D的RRPP域2详细信息,显示Device C在RRPP域2中为主环传输节点和子环辅助边缘节点,RRPP端口状态均为up。
[DeviceD] display rrpp verbose domain 2
Domain ID : 2
Control VLAN : Major 2000 Sub 2001
Protected VLAN: Reference Instance 2
Hello Timer : 1 sec Fail Timer : 3 sec
Fast Detection Status: Disable
Fast Hello Timer: 10 ms Fast Fail Timer: 30 ms
Ring ID : 1
Ring Level : 0
Node Mode : Transit
Ring State : -
Enable Status : Yes Active Status: Yes
Primary port : GigabitEthernet9/0/1 Port status: UP
Secondary port: GigabitEthernet9/0/2 Port status: UP
Ring ID : 2
Ring Level : 1
Node Mode : Assistant-edge
Ring State : -
Enable Status : Yes Active Status: Yes
Common port : GigabitEthernet9/0/1 Port status: UP
GigabitEthernet9/0/2 Port status: UP
Edge port : GigabitEthernet9/0/3 Port status: UP
# 查看Device E的RRPP域1详细信息,显示Device E在RRPP域1中为子环主节点,且RRPP域1中子环状态为complete,主端口up,副端口block。
[DeviceE] display rrpp verbose domain 1
Domain ID : 1
Control VLAN : Major 1000 Sub 1001
Protected VLAN: Reference Instance 1
Hello Timer : 1 sec Fail Timer : 3 sec
Fast Detection Status: Enable
Fast Hello Timer: 10 ms Fast Fail Timer: 30 ms
Ring ID : 2
Ring Level : 1
Node Mode : Master
Ring State : Complete
Enable Status : Yes Active Status: Yes
Primary port : GigabitEthernet9/0/2 Port status: UP
Secondary port: GigabitEthernet9/0/1 Port status: BLOCK
# 查看Device E的RRPP域2详细信息,显示Device E在RRPP域2中为子环传输节点,RRPP端口状态均为up。
[DeviceE] display rrpp verbose domain 2
Domain ID : 2
Control VLAN : Major 2000 Sub 2001
Protected VLAN: Reference Instance 2
Hello Timer : 1 sec Fail Timer : 3 sec
Fast Detection Status: Disable
Fast Hello Timer: 20 ms Fast Fail Timer: 60 ms
Ring ID : 2
Ring Level : 1
Node Mode : Transit
Ring State : -
Enable Status : Yes Active Status: Yes
Primary port : GigabitEthernet9/0/2 Port status: UP
Secondary port: GigabitEthernet9/0/1 Port status: UP
# 查看Device F的RRPP域1详细信息,显示Device F在RRPP域1中为子环传输节点,RRPP端口状态均为up。
[DeviceF] display rrpp verbose domain 1
Domain ID : 1
Control VLAN : Major 1000 Sub 1001
Protected VLAN: Reference Instance 1
Hello Timer : 1 sec Fail Timer : 3 sec
Fast Detection Status: Disable
Fast Hello Timer: 20 ms Fast Fail Timer: 60 ms
Ring ID : 2
Ring Level : 1
Node Mode : Transit
Ring State : -
Enable Status : Yes Active Status: Yes
Primary port : GigabitEthernet9/0/1 Port status: UP
Secondary port: GigabitEthernet9/0/2 Port status: UP
# 查看Device F的RRPP域2详细信息,显示Device F在RRPP域2中为子环主节点,且RRPP域2中子环状态为complete,主端口up,副端口block。
[DeviceF] display rrpp verbose domain 2
Domain ID : 2
Control VLAN : Major 2000 Sub 2001
Protected VLAN: Reference Instance 2
Hello Timer : 1 sec Fail Timer : 3 sec
Fast Detection Status: Enable
Fast Hello Timer: 10 ms Fast Fail Timer: 30 ms
Ring ID : 2
Ring Level : 1
Node Mode : Master
Ring State : Complete
Enable Status : Yes Active Status: Yes
Primary port : GigabitEthernet9/0/1 Port status: UP
Secondary port: GigabitEthernet9/0/2 Port status: BLOCK
· Device A:
#
sysname DeviceA
#
vlan 1
#
vlan 100 to 200
#
stp region-configuration
instance 1 vlan 100 to 150
instance 2 vlan 151 to 200
active region-configuration
#
interface GigabitEthernet9/0/1
port link-mode bridge
port link-type trunk
undo port trunk permit vlan 1
port trunk permit vlan 100 to 200
link-delay 0
stp disable
#
interface GigabitEthernet9/0/2
port link-mode bridge
port link-type trunk
undo port trunk permit vlan 1
port trunk permit vlan 100 to 200
link-delay 0
stp disable
#
rrpp domain 1
control-vlan 1000
protected-vlan reference-instance 1
fast-detection enable
timer fast-fail-timer 30
timer fast-hello-timer 10
ring 1 node-mode master primary-port GigabitEthernet9/0/1 secondary-port GigabitEthernet9/0/2 level 0
ring 1 enable
#
rrpp domain 2
control-vlan 2000
protected-vlan reference-instance 2
ring 1 node-mode transit primary-port GigabitEthernet9/0/1 secondary-port GigabitEthernet9/0/2 level 0
ring 1 enable
#
rrpp enable
#
· Device B:
#
sysname DeviceB
#
vlan 1
#
vlan 100 to 200
#
stp region-configuration
instance 1 vlan 100 to 150
instance 2 vlan 151 to 200
active region-configuration
#
interface GigabitEthernet9/0/1
port link-mode bridge
port link-type trunk
undo port trunk permit vlan 1
port trunk permit vlan 100 to 200
link-delay 0
stp disable
#
interface GigabitEthernet9/0/2
port link-mode bridge
port link-type trunk
undo port trunk permit vlan 1
port trunk permit vlan 100 to 200
link-delay 0
stp disable
#
rrpp domain 1
control-vlan 1000
protected-vlan reference-instance 1
ring 1 node-mode transit primary-port GigabitEthernet9/0/2 secondary-port GigabitEthernet9/0/1 level 0
ring 1 enable
#
rrpp domain 2
control-vlan 2000
protected-vlan reference-instance 2
fast-detection enable
timer fast-fail-timer 30
timer fast-hello-timer 10
ring 1 node-mode master primary-port GigabitEthernet9/0/2 secondary-port GigabitEthernet9/0/1 level 0
ring 1 enable
#
rrpp enable
#
· Device C:
#
sysname DeviceC
#
vlan 1
#
vlan 100 to 200
#
stp region-configuration
instance 1 vlan 100 to 150
instance 2 vlan 151 to 200
active region-configuration
#
interface GigabitEthernet9/0/1
port link-mode bridge
port link-type trunk
undo port trunk permit vlan 1
port trunk permit vlan 100 to 200
link-delay 0
stp disable
#
interface GigabitEthernet9/0/2
port link-mode bridge
port link-type trunk
undo port trunk permit vlan 1
port trunk permit vlan 100 to 200
link-delay 0
stp disable
#
interface GigabitEthernet9/0/3
port link-mode bridge
port link-type trunk
undo port trunk permit vlan 1
port trunk permit vlan 100 to 200
link-delay 0
stp disable
#
rrpp domain 1
control-vlan 1000
protected-vlan reference-instance 1
fast-detection enable
timer fast-fail-timer 30
timer fast-hello-timer 10
ring 1 node-mode transit primary-port GigabitEthernet9/0/1 secondary-port GigabitEthernet9/0/2 level 0
ring 1 enable
ring 2 node-mode edge edge-port GigabitEthernet 9/0/3
ring 2 enable
#
rrpp domain 2
control-vlan 2000
protected-vlan reference-instance 2
fast-detection enable
timer fast-fail-timer 30
timer fast-hello-timer 10
ring 1 node-mode transit primary-port GigabitEthernet9/0/1 secondary-port GigabitEthernet9/0/2 level 0
ring 1 enable
ring 2 node-mode edge edge-port GigabitEthernet 9/0/3
ring 2 enable
#
rrpp enable
#
· Device D:
#
sysname DeviceD
#
vlan 1
#
vlan 100 to 200
#
stp region-configuration
instance 1 vlan 100 to 150
instance 2 vlan 151 to 200
active region-configuration
#
interface GigabitEthernet9/0/1
port link-mode bridge
port link-type trunk
undo port trunk permit vlan 1
port trunk permit vlan 100 to 200
link-delay 0
stp disable
#
interface GigabitEthernet9/0/2
port link-mode bridge
port link-type trunk
undo port trunk permit vlan 1
port trunk permit vlan 100 to 200
link-delay 0
stp disable
#
interface GigabitEthernet9/0/3
port link-mode bridge
port link-type trunk
undo port trunk permit vlan 1
port trunk permit vlan 100 to 200
link-delay 0
stp disable
#
rrpp domain 1
control-vlan 1000
protected-vlan reference-instance 1
fast-detection enable
timer fast-fail-timer 30
timer fast-hello-timer 10
ring 1 node-mode transit primary-port GigabitEthernet9/0/1 secondary-port GigabitEthernet9/0/2 level 0
ring 1 enable
ring 2 node-mode assistant-edge edge-port GigabitEthernet 9/0/3
ring 2 enable
#
rrpp domain 2
control-vlan 2000
protected-vlan reference-instance 2
fast-detection enable
timer fast-fail-timer 30
timer fast-hello-timer 10
ring 1 node-mode transit primary-port GigabitEthernet9/0/1 secondary-port GigabitEthernet9/0/2 level 0
ring 1 enable
ring 2 node-mode assistant-edge edge-port GigabitEthernet 9/0/3
ring 2 enable
#
rrpp enable
#
· Device E:
#
sysname DeviceE
#
vlan 1
#
vlan 100 to 200
#
stp region-configuration
instance 1 vlan 100 to 150
instance 2 vlan 151 to 200
active region-configuration
#
interface GigabitEthernet9/0/1
port link-mode bridge
port link-type trunk
undo port trunk permit vlan 1
port trunk permit vlan 100 to 200
link-delay 0
stp disable
#
interface GigabitEthernet9/0/2
port link-mode bridge
port link-type trunk
undo port trunk permit vlan 1
port trunk permit vlan 100 to 200
link-delay 0
stp disable
#
rrpp domain 1
control-vlan 1000
protected-vlan reference-instance 1
fast-detection enable
timer fast-fail-timer 30
timer fast-hello-timer 10
ring 2 node-mode master primary-port GigabitEthernet9/0/2 secondary-port GigabitEthernet9/0/1 level 1
ring 2 enable
#
rrpp domain 2
control-vlan 2000
protected-vlan reference-instance 2
ring 2 node-mode transit primary-port GigabitEthernet9/0/2 secondary-port GigabitEthernet9/0/1 level 1
ring 2 enable
#
rrpp enable
#
· Device F:
#
sysname DeviceF
#
vlan 1
#
vlan 100 to 200
#
stp region-configuration
instance 1 vlan 100 to 150
instance 2 vlan 151 to 200
active region-configuration
#
interface GigabitEthernet9/0/1
port link-mode bridge
port link-type trunk
undo port trunk permit vlan 1
port trunk permit vlan 100 to 200
link-delay 0
stp disable
#
interface GigabitEthernet9/0/2
port link-mode bridge
port link-type trunk
undo port trunk permit vlan 1
port trunk permit vlan 100 to 200
link-delay 0
stp disable
#
rrpp domain 1
control-vlan 1000
protected-vlan reference-instance 1
ring 2 node-mode transit primary-port GigabitEthernet9/0/1 secondary-port GigabitEthernet9/0/2 level 1
ring 2 enable
#
rrpp domain 2
control-vlan 2000
protected-vlan reference-instance 2
fast-detection enable
timer fast-fail-timer 30
timer fast-hello-timer 10
ring 2 node-mode master primary-port GigabitEthernet9/0/1 secondary-port GigabitEthernet9/0/2 level 1
ring 2 enable
#
rrpp enable
#
如图5所示,两个接入层网络以环网形式通过同样两台设备接入汇聚层,汇聚层网络也是一个环网。该网络中使用VLAN 100~150承载语音业务、VLAN 151~200承载视频业务。要求通过配置RRPP功能,除了实现基本的环路防止功能外,还需要实现如下需求:
· 使语音和视频流量走不同的拓扑,以实现链路的负载分担。
· 配置RRPP快速检测功能,进一步保证网络收敛性能。设置Fast-Fail定时器为30毫秒、Fast-Hello定时器为10毫秒,并且设置所有环上以太网端口的物理连接状态抑制时间为0秒。
· 在子环主节点上配置Fast-Fail定时器为100毫秒、Fast-Hello定时器为10毫秒、Fail定时器为10秒,从而避免主环故障时出现临时环路。
· 减少Edge-Hello报文的收发数量。
图5 RRPP多子环配置组网图
· RRPP主环需要透传子环的保护VLAN和控制VLAN内的流量,需要有较强的数据传输能力。本案例选择汇聚层环网作为主环(Ring 1),两个接入层环网分别作为子环(Ring 2和Ring 3)。
· 为了实现语音和视频流量走不同的拓扑,需要将整个环网划分为两个RRPP域:域1保护承载语音流量的VLAN 100~150,Ring 1主节点为Device A,Ring 2主节点为Device E,Ring 3主节点为Device F;域2保护承载视频流量的VLAN 151~200,Ring 1主节点为Device B,Ring 2主节点为Device E,Ring 3主节点为Device F。
· 为了使语音和视频流量的拓扑比较均衡合理,我们选择Device A的GigabitEthernet9/0/1为主端口,GigabitEthernet9/0/2为副端口;Device B的GigabitEthernet9/0/2为主端口,GigabitEthernet9/0/1为副端口;Device E的GigabitEthernet9/0/1在域1中为副端口、在域2中为主端口,GigabitEthernet9/0/2在域1中为主端口、在域2中为副端口;Device F的GigabitEthernet9/0/1在域1中为副端口、在域2中为主端口,GigabitEthernet9/0/2在域1中为主端口、在域2中为副端口。这样,语音流量和视频流量的拓扑如图6所示。
· 为了减少Edge-Hello报文的收发数量,用户可以采用环组机制,即将具有相同边缘节点/辅助边缘节点的一组子环加入环组。本例中将域1和域2的两个子环分别都加入环组。
本举例是在S12500-CMW520-R1825P01版本上进行配置和验证的。
· 在双归属环组网中,为避免主环故障时出现临时环路,应确保子环主节点与主环主节点上的Fail定时器取值之差大于子环主节点上Hello定时器取值的2倍;确保子环主节点上Fast-Fail定时器的值不小于最高定时器精度值的6倍,且子环主节点与主环主节点上的Fast-Fail定时器取值之差大于子环主节点上Fast-Hello定时器取值的2倍。
· 在RRPP子环的主节点上配置快速检测功能时,需保证该环的边缘节点和辅助边缘节点也都支持快速检测功能,否则不建议配置此功能。
· 请按照先边缘节点、后辅助边缘节点的顺序来配置快速检测功能,否则辅助边缘节点可能会因收不到Fast-Edge-Hello报文而误认为主环故障。
(1) 配置VLAN、实例和端口
# 创建VLAN 100~VLAN 200。
<DeviceA> system-view
[DeviceA] vlan 100 to 200
# VLAN 100~150绑定到实例1,VLAN 151~200绑定到实例2。
[DeviceA] stp region-configuration
[DeviceA-mst-region] instance 1 vlan 100 to 150
[DeviceA-mst-region] instance 2 vlan 151 to 200
[DeviceA-mst-region] active region-configuration
[DeviceA-mst-region] quit
# 配置端口。
[DeviceA] interface GigabitEthernet 9/0/1
[DeviceA-GigabitEthernet9/0/1] undo shutdown
[DeviceA-GigabitEthernet9/0/1] port link-type trunk
[DeviceA-GigabitEthernet9/0/1] port trunk permit vlan 100 to 200
[DeviceA-GigabitEthernet9/0/1] undo port trunk permit vlan 1
[DeviceA-GigabitEthernet9/0/1] link-delay 0
[DeviceA-GigabitEthernet9/0/1] undo stp enable
[DeviceA-GigabitEthernet9/0/1] quit
[DeviceA] interface GigabitEthernet 9/0/2
[DeviceA-GigabitEthernet9/0/2] undo shutdown
[DeviceA-GigabitEthernet9/0/2] port link-type trunk
[DeviceA-GigabitEthernet9/0/2] port trunk permit vlan 100 to 200
[DeviceA-GigabitEthernet9/0/2] undo port trunk permit vlan 1
[DeviceA-GigabitEthernet9/0/2] link-delay 0
[DeviceA-GigabitEthernet9/0/2] undo stp enable
[DeviceA-GigabitEthernet9/0/2] quit
(2) 配置RRPP
# 创建RRPP域1。
[DeviceA] rrpp domain 1
# 配置域1的控制VLAN 1000,保护实例1绑定的VLAN。
[DeviceA-rrpp-domain1] control-vlan 1000
[DeviceA-rrpp-domain1] protected-vlan reference-instance 1
# 使能快速检测,配置Fast-Hello定时器为10毫秒,配置Fast-Fail定时器为30毫秒。
[DeviceA-rrpp-domain1] fast-detection enable
[DeviceA-rrpp-domain1] timer fast-hello-timer 10
[DeviceA-rrpp-domain1] timer fast-fail-timer 30
# 配置Device A为主环主节点,端口GigabitEthernet9/0/1为主端口,GigabitEthernet9/0/2为副端口,并使能主环。
[DeviceA-rrpp-domain1] ring 1 node-mode master primary-port GigabitEthernet 9/0/1 secondary-port GigabitEthernet 9/0/2 level 0
[DeviceA-rrpp-domain1] ring 1 enable
[DeviceA-rrpp-domain1] quit
# 创建RRPP域2。
[DeviceA] rrpp domain 2
# 配置域2的控制VLAN 2000,保护实例2绑定的VLAN。
[DeviceA-rrpp-domain2] control-vlan 2000
[DeviceA-rrpp-domain2] protected-vlan reference-instance 2
# 配置Device A为主环传输节点,端口GigabitEthernet9/0/1为主端口,GigabitEthernet9/0/2为副端口,并使能主环。
[DeviceA-rrpp-domain2] ring 1 node-mode transit primary-port GigabitEthernet 9/0/1 secondary-port GigabitEthernet 9/0/2 level 0
[DeviceA-rrpp-domain2] ring 1 enable
[DeviceA-rrpp-domain2] quit
# 全局使能RRPP。
[DeviceA] rrpp enable
(1) 配置VLAN、实例和端口
# 创建VLAN 100~VLAN 200。
<DeviceB>system-view
[DeviceB] vlan 100 to 200
# VLAN 100~150绑定到实例1,VLAN 151~200绑定到实例2。
[DeviceB] stp region-configuration
[DeviceB-mst-region] instance 1 vlan 100 to 150
[DeviceB-mst-region] instance 2 vlan 151 to 200
[DeviceB-mst-region] active region-configuration
[DeviceB-mst-region] quit
# 配置端口。
[DeviceB] interface GigabitEthernet 9/0/1
[DeviceB-GigabitEthernet9/0/1] undo shutdown
[DeviceB-GigabitEthernet9/0/1] port link-type trunk
[DeviceB-GigabitEthernet9/0/1] port trunk permit vlan 100 to 200
[DeviceB-GigabitEthernet9/0/1] undo port trunk permit vlan 1
[DeviceB-GigabitEthernet9/0/1] link-delay 0
[DeviceB-GigabitEthernet9/0/1] undo stp enable
[DeviceB-GigabitEthernet9/0/1] quit
[DeviceB] interface GigabitEthernet 9/0/2
[DeviceB-GigabitEthernet9/0/2] undo shutdown
[DeviceB-GigabitEthernet9/0/2] port link-type trunk
[DeviceB-GigabitEthernet9/0/2] port trunk permit vlan 100 to 200
[DeviceB-GigabitEthernet9/0/2] undo port trunk permit vlan 1
[DeviceB-GigabitEthernet9/0/2] link-delay 0
[DeviceB-GigabitEthernet9/0/2] undo stp enable
[DeviceB-GigabitEthernet9/0/2] quit
(2) 配置RRPP
# 创建RRPP域1。
[DeviceB] rrpp domain 1
# 配置域1的控制VLAN 1000,保护实例1绑定的VLAN。
[DeviceB-rrpp-domain1] control-vlan 1000
[DeviceB-rrpp-domain1] protected-vlan reference-instance 1
# 配置Device B为主环传输节点,端口GigabitEthernet9/0/2为主端口,GigabitEthernet9/0/1为副端口,并使能主环。
[DeviceB-rrpp-domain1] ring 1 node-mode transit primary-port GigabitEthernet 9/0/2 secondary-port GigabitEthernet 9/0/1 level 0
[DeviceB-rrpp-domain1] ring 1 enable
[DeviceB-rrpp-domain1] quit
# 创建RRPP域2。
[DeviceB] rrpp domain 2
# 配置域2的控制VLAN 2000,保护实例2绑定的VLAN。
[DeviceB-rrpp-domain2] control-vlan 2000
[DeviceB-rrpp-domain2] protected-vlan reference-instance 2
# 使能快速检测,配置Fast-Hello定时器为10毫秒,配置Fast-Fail定时器为30毫秒。
[DeviceB-rrpp-domain2] fast-detection enable
[DeviceB-rrpp-domain2] timer fast-hello-timer 10
[DeviceB-rrpp-domain2] timer fast-fail-timer 30
# 配置Device B为主环主节点,端口GigabitEthernet9/0/2为主端口,GigabitEthernet9/0/1为副端口,并使能主环。
[DeviceB-rrpp-domain2] ring 1 node-mode master primary-port GigabitEthernet 9/0/2 secondary-port GigabitEthernet 9/0/1 level 0
[DeviceB-rrpp-domain2] ring 1 enable
[DeviceB-rrpp-domain2] quit
# 全局使能RRPP。
[DeviceB] rrpp enable
(1) 配置VLAN、实例和端口
# 创建VLAN 100~VLAN 200。
<DeviceC>system-view
[DeviceC] vlan 100 to 200
# VLAN 100~150绑定到实例1,VLAN 151~200绑定到实例2。
[DeviceC] stp region-configuration
[DeviceC-mst-region] instance 1 vlan 100 to 150
[DeviceC-mst-region] instance 2 vlan 151 to 200
[DeviceC-mst-region] active region-configuration
[DeviceC-mst-region] quit
# 配置端口。
[DeviceC] interface GigabitEthernet 9/0/1
[DeviceC-GigabitEthernet9/0/1] undo shutdown
[DeviceC-GigabitEthernet9/0/1] port link-type trunk
[DeviceC-GigabitEthernet9/0/1] port trunk permit vlan 100 to 200
[DeviceC-GigabitEthernet9/0/1] undo port trunk permit vlan 1
[DeviceC-GigabitEthernet9/0/1] link-delay 0
[DeviceC-GigabitEthernet9/0/1] undo stp enable
[DeviceC-GigabitEthernet9/0/1] quit
[DeviceC] interface GigabitEthernet 9/0/2
[DeviceC-GigabitEthernet9/0/2] undo shutdown
[DeviceC-GigabitEthernet9/0/2] port link-type trunk
[DeviceC-GigabitEthernet9/0/2] port trunk permit vlan 100 to 200
[DeviceC-GigabitEthernet9/0/2] undo port trunk permit vlan 1
[DeviceC-GigabitEthernet9/0/2] link-delay 0
[DeviceC-GigabitEthernet9/0/2] undo stp enable
[DeviceC-GigabitEthernet9/0/2] quit
[DeviceC] interface GigabitEthernet 9/0/3
[DeviceC-GigabitEthernet9/0/3] undo shutdown
[DeviceC-GigabitEthernet9/0/3] port link-type trunk
[DeviceC-GigabitEthernet9/0/3] port trunk permit vlan 100 to 200
[DeviceC-GigabitEthernet9/0/3] undo port trunk permit vlan 1
[DeviceC-GigabitEthernet9/0/3] link-delay 0
[DeviceC-GigabitEthernet9/0/3] undo stp enable
[DeviceC-GigabitEthernet9/0/3] quit
[DeviceC] interface GigabitEthernet 9/0/4
[DeviceC-GigabitEthernet9/0/4] undo shutdown
[DeviceC-GigabitEthernet9/0/4] port link-type trunk
[DeviceC-GigabitEthernet9/0/4] port trunk permit vlan 100 to 200
[DeviceC-GigabitEthernet9/0/4] undo port trunk permit vlan 1
[DeviceC-GigabitEthernet9/0/4] link-delay 0
[DeviceC-GigabitEthernet9/0/4] undo stp enable
[DeviceC-GigabitEthernet9/0/4] quit
(2) 配置RRPP
# 创建RRPP域1。
[DeviceC] rrpp domain 1
# 配置域1的控制VLAN 1000,保护实例1绑定的VLAN。
[DeviceC-rrpp-domain1] control-vlan 1000
[DeviceC-rrpp-domain1] protected-vlan reference-instance 1
# 使能快速检测,配置Fast-Hello定时器为10毫秒,配置Fast-Fail定时器为30毫秒。
[DeviceC-rrpp-domain1] fast-detection enable
[DeviceC-rrpp-domain1] timer fast-hello-timer 10
[DeviceC-rrpp-domain1] timer fast-fail-timer 30
# 配置Device C为主环传输节点,端口GigabitEthernet9/0/1为主端口,GigabitEthernet9/0/2为副端口,并使能主环。
[DeviceC-rrpp-domain1] ring 1 node-mode transit primary-port GigabitEthernet 9/0/1 secondary-port GigabitEthernet 9/0/2 level 0
[DeviceC-rrpp-domain1] ring 1 enable
# 配置Device C为子环(Ring 2)的边缘节点,端口GigabitEthernet9/0/3为边缘端口,并使能子环。
[DeviceC-rrpp-domain1] ring 2 node-mode edge edge-port GigabitEthernet 9/0/3
[DeviceC-rrpp-domain1] ring 2 enable
# 配置Device C为子环(Ring 3)的边缘节点,端口GigabitEthernet9/0/4为边缘端口,并使能子环。
[DeviceC-rrpp-domain1] ring 3 node-mode edge edge-port GigabitEthernet 9/0/4
[DeviceC-rrpp-domain1] ring 3 enable
[DeviceC-rrpp-domain1] quit
# 创建RRPP域2。
[DeviceC] rrpp domain 2
# 配置域2的控制VLAN 2000,保护实例2绑定的VLAN。
[DeviceC-rrpp-domain2] control-vlan 2000
[DeviceC-rrpp-domain2] protected-vlan reference-instance 2
# 使能快速检测,配置Fast-Hello定时器为10毫秒,配置Fast-Fail定时器为30毫秒。
[DeviceC-rrpp-domain2] fast-detection enable
[DeviceC-rrpp-domain2] timer fast-hello-timer 10
[DeviceC-rrpp-domain2] timer fast-fail-timer 30
# 配置Device C为主环传输节点,端口GigabitEthernet9/0/1为主端口,GigabitEthernet9/0/2为副端口,并使能主环。
[DeviceC-rrpp-domain2] ring 1 node-mode transit primary-port GigabitEthernet 9/0/1 secondary-port GigabitEthernet 9/0/2 level 0
[DeviceC-rrpp-domain2] ring 1 enable
# 配置Device C为子环(Ring 2)的边缘节点,端口GigabitEthernet9/0/3为边缘端口,并使能子环。
[DeviceC-rrpp-domain2] ring 2 node-mode edge edge-port GigabitEthernet 9/0/3
[DeviceC-rrpp-domain2] ring 2 enable
# 配置Device C为子环(Ring 3)的边缘节点,端口GigabitEthernet9/0/4为边缘端口,并使能子环。
[DeviceC-rrpp-domain2] ring 3 node-mode edge edge-port GigabitEthernet 9/0/4
[DeviceC-rrpp-domain2] ring 3 enable
[DeviceC-rrpp-domain2] quit
# 配置环组,域1和域2的两个子环都加入环组。
[DeviceC] rrpp ring-group 1
[DeviceC-ring-group1] domain 1 ring 2 3
[DeviceC-ring-group1] domain 2 ring 2 3
[DeviceC-ring-group1] quit
# 全局使能RRPP。
[DeviceC] rrpp enable
(1) 配置VLAN、实例和端口
# 创建VLAN 100~VLAN 200
<DeviceD> system-view
[DeviceD] vlan 100 to 200
# VLAN 100~150绑定到实例1,VLAN 151~200绑定到实例2。
[DeviceD] stp region-configuration
[DeviceD-mst-region] instance 1 vlan 100 to 150
[DeviceD-mst-region] instance 2 vlan 151 to 200
[DeviceD-mst-region] active region-configuration
[DeviceD-mst-region] quit
# 配置端口。
[DeviceD] interface GigabitEthernet 9/0/1
[DeviceD-GigabitEthernet9/0/1] undo shutdown
[DeviceD-GigabitEthernet9/0/1] port link-type trunk
[DeviceD-GigabitEthernet9/0/1] port trunk permit vlan 100 to 200
[DeviceD-GigabitEthernet9/0/1] undo port trunk permit vlan 1
[DeviceD-GigabitEthernet9/0/1] link-delay 0
[DeviceD-GigabitEthernet9/0/1] undo stp enable
[DeviceD-GigabitEthernet9/0/1] quit
[DeviceD] interface GigabitEthernet 9/0/2
[DeviceD-GigabitEthernet9/0/2] undo shutdown
[DeviceD-GigabitEthernet9/0/2] port link-type trunk
[DeviceD-GigabitEthernet9/0/2] port trunk permit vlan 100 to 200
[DeviceD-GigabitEthernet9/0/2] undo port trunk permit vlan 1
[DeviceD-GigabitEthernet9/0/2] link-delay 0
[DeviceD-GigabitEthernet9/0/2] undo stp enable
[DeviceD-GigabitEthernet9/0/2] quit
[DeviceD] interface GigabitEthernet 9/0/3
[DeviceD-GigabitEthernet9/0/3] undo shutdown
[DeviceD-GigabitEthernet9/0/3] port link-type trunk
[DeviceD-GigabitEthernet9/0/3] port trunk permit vlan 100 to 200
[DeviceD-GigabitEthernet9/0/3] undo port trunk permit vlan 1
[DeviceD-GigabitEthernet9/0/3] link-delay 0
[DeviceD-GigabitEthernet9/0/3] undo stp enable
[DeviceD-GigabitEthernet9/0/3] quit
[DeviceD] interface GigabitEthernet 9/0/4
[DeviceD-GigabitEthernet9/0/4] undo shutdown
[DeviceD-GigabitEthernet9/0/4] port link-type trunk
[DeviceD-GigabitEthernet9/0/4] port trunk permit vlan 100 to 200
[DeviceD-GigabitEthernet9/0/4] undo port trunk permit vlan 1
[DeviceD-GigabitEthernet9/0/4] link-delay 0
[DeviceD-GigabitEthernet9/0/4] undo stp enable
[DeviceD-GigabitEthernet9/0/4] quit
(2) 配置RRPP
# 创建RRPP域1。
[DeviceD] rrpp domain 1
# 配置域1的控制VLAN 1000,保护实例1绑定的VLAN。
[DeviceD-rrpp-domain1] control-vlan 1000
[DeviceD-rrpp-domain1] protected-vlan reference-instance 1
# 使能快速检测,配置Fast-Hello定时器为10毫秒,配置Fast-Fail定时器为30毫秒。
[DeviceD-rrpp-domain1] fast-detection enable
[DeviceD-rrpp-domain1] timer fast-hello-timer 10
[DeviceD-rrpp-domain1] timer fast-fail-timer 30
# 配置Device D为主环传输节点,端口GigabitEthernet9/0/1为主端口,GigabitEthernet9/0/2为副端口,并使能主环。
[DeviceD-rrpp-domain1] ring 1 node-mode transit primary-port GigabitEthernet 9/0/1 secondary-port GigabitEthernet 9/0/2 level 0
[DeviceD-rrpp-domain1] ring 1 enable
# 配置Device D为子环(Ring 2)的辅助边缘节点,端口GigabitEthernet9/0/3为边缘端口,并使能子环。
[DeviceD-rrpp-domain1] ring 2 node-mode assistant-edge edge-port GigabitEthernet 9/0/3
[DeviceD-rrpp-domain1] ring 2 enable
# 配置Device D为子环(Ring 3)的辅助边缘节点,端口GigabitEthernet9/0/4为边缘端口,并使能子环。
[DeviceD-rrpp-domain1] ring 3 node-mode assistant-edge edge-port GigabitEthernet 9/0/4
[DeviceD-rrpp-domain1] ring 3 enable
[DeviceD-rrpp-domain1] quit
# 创建RRPP域2。
[DeviceD] rrpp domain 2
# 配置域2的控制VLAN 2000,保护实例2绑定的VLAN。
[DeviceD-rrpp-domain2] control-vlan 2000
[DeviceD-rrpp-domain2] protected-vlan reference-instance 2
# 使能快速检测,配置Fast-Hello定时器为10毫秒,配置Fast-Fail定时器为30毫秒。
[DeviceD-rrpp-domain2] fast-detection enable
[DeviceD-rrpp-domain2] timer fast-hello-timer 10
[DeviceD-rrpp-domain2] timer fast-fail-timer 30
# 配置Device D为主环传输节点,端口GigabitEthernet9/0/1为主端口,GigabitEthernet9/0/2为副端口,并使能主环。
[DeviceD-rrpp-domain2] ring 1 node-mode transit primary-port GigabitEthernet 9/0/1 secondary-port GigabitEthernet 9/0/2 level 0
[DeviceD-rrpp-domain2] ring 1 enable
# 配置Device D为子环(Ring 2)的辅助边缘节点,端口GigabitEthernet9/0/3为边缘端口,并使能子环。
[DeviceD-rrpp-domain2] ring 2 node-mode assistant-edge edge-port GigabitEthernet 9/0/3
[DeviceD-rrpp-domain2] ring 2 enable
# 配置Device D为子环(Ring 3)的辅助边缘节点,端口GigabitEthernet9/0/4为边缘端口,并使能子环。
[DeviceD-rrpp-domain2] ring 3 node-mode assistant-edge edge-port GigabitEthernet 9/0/4
[DeviceD-rrpp-domain2] ring 3 enable
[DeviceD-rrpp-domain2] quit
# 配置环组,域1和域2的两个子环都加入环组。
[DeviceD] rrpp ring 1
[DeviceD-ring-group1] domain 1 ring 2 3
[DeviceD-ring-group1] domain 2 ring 2 3
[DeviceD-ring-group1] quit
# 全局使能RRPP。
[DeviceD] rrpp enable
(1) 配置VLAN、实例和端口
# 创建VLAN 100~VLAN 200。
<DeviceE> system-view
[DeviceE] vlan 100 to 200
# VLAN 100~150绑定到实例1,VLAN 151~200绑定到实例2。
[DeviceE] stp region-configuration
[DeviceE-mst-region] instance 1 vlan 100 to 150
[DeviceE-mst-region] instance 2 vlan 151 to 200
[DeviceE-mst-region] active region-configuration
[DeviceE-mst-region] quit
# 配置端口。
[DeviceE] interface GigabitEthernet 9/0/1
[DeviceE-GigabitEthernet9/0/1] undo shutdown
[DeviceE-GigabitEthernet9/0/1] port link-type trunk
[DeviceE-GigabitEthernet9/0/1] port trunk permit vlan 100 to 200
[DeviceE-GigabitEthernet9/0/1] undo port trunk permit vlan 1
[DeviceE-GigabitEthernet9/0/1] link-delay 0
[DeviceE-GigabitEthernet9/0/1] undo stp enable
[DeviceE-GigabitEthernet9/0/1] quit
[DeviceE] interface GigabitEthernet 9/0/2
[DeviceE-GigabitEthernet9/0/2] undo shutdown
[DeviceE-GigabitEthernet9/0/2] port link-type trunk
[DeviceE-GigabitEthernet9/0/2] port trunk permit vlan 100 to 200
[DeviceE-GigabitEthernet9/0/2] undo port trunk permit vlan 1
[DeviceE-GigabitEthernet9/0/2] link-delay 0
[DeviceE-GigabitEthernet9/0/2] undo stp enable
[DeviceE-GigabitEthernet9/0/2] quit
(2) 配置RRPP
# 创建RRPP域1。
[DeviceE] rrpp domain 1
# 配置域1的控制VLAN 1000,保护实例1绑定的VLAN。
[DeviceE-rrpp-domain1] control-vlan 1000
[DeviceE-rrpp-domain1] protected-vlan reference-instance 1
# 使能快速检测,配置Fast-Hello定时器为10毫秒,配置Fast-Fail定时器为100毫秒;配置Fail定时器为10秒。
[DeviceE-rrpp-domain1] fast-detection enable
[DeviceE-rrpp-domain1] timer fast-hello-timer 10
[DeviceE-rrpp-domain1] timer fast-fail-timer 100
[DeviceE-rrpp-domain1] timer hello-timer 1 fail-timer 10
# 配置Device E为子环2的主节点,端口GigabitEthernet9/0/2为主端口,GigabitEthernet9/0/1为副端口,并使能子环。
[DeviceE-rrpp-domain1] ring 2 node-mode master primary-port GigabitEthernet 9/0/2 secondary-port GigabitEthernet 9/0/1 level 1
[DeviceE-rrpp-domain1] ring 2 enable
[DeviceE-rrpp-domain1] quit
# 创建RRPP域2。
[DeviceE] rrpp domain 2
# 配置域2的控制VLAN 2000,保护实例2绑定的VLAN。
[DeviceE-rrpp-domain2] control-vlan 2000
[DeviceE-rrpp-domain2] protected-vlan reference-instance 2
# 使能快速检测,配置Fast-Hello定时器为10毫秒,配置Fast-Fail定时器为100毫秒;配置Fail定时器为10秒。
[DeviceE-rrpp-domain2] fast-detection enable
[DeviceE-rrpp-domain2] timer fast-hello-timer 10
[DeviceE-rrpp-domain2] timer fast-fail-timer 100
[DeviceE-rrpp-domain2] timer hello-timer 1 fail-timer 10
# 配置Device E为子环2的主节点,端口GigabitEthernet9/0/1为主端口,GigabitEthernet9/0/2为副端口,并使能子环。
[DeviceE-rrpp-domain2] ring 2 node-mode master primary-port GigabitEthernet 9/0/1 secondary-port GigabitEthernet 9/0/2 level 1
[DeviceE-rrpp-domain2] ring 2 enable
[DeviceE-rrpp-domain2] quit
# 全局使能RRPP。
[DeviceE] rrpp enable
(1) 配置VLAN、实例和端口
# 创建VLAN 100~VLAN 200。
<DeviceF> system-view
[DeviceF] vlan 100 to 200
# VLAN 100~150绑定到实例1,VLAN 151~200绑定到实例2。
[DeviceF] stp region-configuration
[DeviceF-mst-region] instance 1 vlan 100 to 150
[DeviceF-mst-region] instance 2 vlan 151 to 200
[DeviceF-mst-region] active region-configuration
[DeviceF-mst-region] quit
# 配置端口。
[DeviceF] interface GigabitEthernet 9/0/1
[DeviceF-GigabitEthernet9/0/1] undo shutdown
[DeviceF-GigabitEthernet9/0/1] port link-type trunk
[DeviceF-GigabitEthernet9/0/1] port trunk permit vlan 100 to 200
[DeviceF-GigabitEthernet9/0/1] undo port trunk permit vlan 1
[DeviceF-GigabitEthernet9/0/1] link-delay 0
[DeviceF-GigabitEthernet9/0/1] undo stp enable
[DeviceF-GigabitEthernet9/0/1] quit
[DeviceF] interface GigabitEthernet 9/0/2
[DeviceF-GigabitEthernet9/0/2] undo shutdown
[DeviceF-GigabitEthernet9/0/2] port link-type trunk
[DeviceF-GigabitEthernet9/0/2] port trunk permit vlan 100 to 200
[DeviceF-GigabitEthernet9/0/2] undo port trunk permit vlan 1
[DeviceF-GigabitEthernet9/0/2] link-delay 0
[DeviceF-GigabitEthernet9/0/2] undo stp enable
[DeviceF-GigabitEthernet9/0/2] quit
(2) 配置RRPP
# 创建RRPP域1。
[DeviceF] rrpp domain 1
# 配置域1的控制VLAN 1000,保护实例1绑定的VLAN。
[DeviceF-rrpp-domain1] control-vlan 1000
[DeviceF-rrpp-domain1] protected-vlan reference-instance 1
# 使能快速检测,配置Fast-Hello定时器为10毫秒,配置Fast-Fail定时器为100毫秒;配置Fail定时器为10秒。
[DeviceF-rrpp-domain1] fast-detection enable
[DeviceF-rrpp-domain1] timer fast-hello-timer 10
[DeviceF-rrpp-domain1] timer fast-fail-timer 100
[DeviceF-rrpp-domain1] timer hello-timer 1 fail-timer 10
# 配置Device F为子环3的主节点,端口GigabitEthernet9/0/2为主端口,GigabitEthernet9/0/1为副端口,并使能子环。
[DeviceF-rrpp-domain1] ring 3 node-mode master primary-port GigabitEthernet 9/0/2 secondary-port GigabitEthernet 9/0/1 level 1
[DeviceF-rrpp-domain1] ring 3 enable
[DeviceF-rrpp-domain1] quit
# 创建RRPP域2。
[DeviceF] rrpp domain 2
# 配置域2的控制VLAN 2000,保护实例2绑定的VLAN。
[DeviceF-rrpp-domain2] control-vlan 2000
[DeviceF-rrpp-domain2] protected-vlan reference-instance 2
# 使能快速检测,配置Fast-Hello定时器为10毫秒,配置Fast-Fail定时器为100毫秒;配置Fail定时器为10秒。
[DeviceF-rrpp-domain2] fast-detection enable
[DeviceF-rrpp-domain2] timer fast-hello-timer 10
[DeviceF-rrpp-domain2] timer fast-fail-timer 100
[DeviceF-rrpp-domain2] timer hello-timer 1 fail-timer 10
# 配置Device F为子环3的主节点,端口GigabitEthernet9/0/1为主端口,GigabitEthernet9/0/2为副端口,并使能子环。
[DeviceF-rrpp-domain2] ring 3 node-mode master primary-port GigabitEthernet 9/0/1 secondary-port GigabitEthernet 9/0/2 level 1
[DeviceF-rrpp-domain2] ring 3 enable
[DeviceF-rrpp-domain2] quit
# 全局使能RRPP。
[DeviceF] rrpp enable
# 查看Device A的RRPP域1详细信息,显示Device A在RRPP域1中为主环主节点,且RRPP域1中主环状态为complete,主端口up,副端口block。
[DeviceA] display rrpp verbose domain 1
Domain ID : 1
Control VLAN : Major 1000 Sub 1001
Protected VLAN: Reference Instance 1
Hello Timer : 1 sec Fail Timer : 3 sec
Fast Detection Status: Enable
Fast Hello Timer: 10 ms Fast Fail Timer: 30 ms
Ring ID : 1
Ring Level : 0
Node Mode : Master
Ring State : Complete
Enable Status : Yes Active Status: Yes
Primary port : GigabitEthernet9/0/1 Port status: UP
Secondary port: GigabitEthernet9/0/2 Port status: BLOCK
# 查看Device A的RRPP域2详细信息,显示Device A在RRPP域2中为主环传输节点,RRPP端口状态均为up。
[DeviceA] display rrpp verbose domain 2
Domain ID : 2
Control VLAN : Major 2000 Sub 2001
Protected VLAN: Reference Instance 2
Hello Timer : 1 sec Fail Timer : 3 sec
Fast Detection Status: Disable
Fast Hello Timer: 20 ms Fast Fail Timer: 60 ms
Ring ID : 1
Ring Level : 0
Node Mode : Transit
Ring State : -
Enable Status : Yes Active Status: Yes
Primary port : GigabitEthernet9/0/1 Port status: UP
Secondary port: GigabitEthernet9/0/2 Port status: UP
# 查看Device B的RRPP域1详细信息,显示Device B在RRPP域1中为主环传输节点,RRPP端口状态均为up。
[DeviceB] display rrpp verbose domain 1
Domain ID : 1
Control VLAN : Major 1000 Sub 1001
Protected VLAN: Reference Instance 1
Hello Timer : 1 sec Fail Timer : 3 sec
Fast Detection Status: Disable
Fast Hello Timer: 20 ms Fast Fail Timer: 60 ms
Ring ID : 1
Ring Level : 0
Node Mode : Transit
Ring State : -
Enable Status : Yes Active Status: Yes
Primary port : GigabitEthernet9/0/2 Port status: UP
Secondary port: GigabitEthernet9/0/1 Port status: UP
# 查看Device B的RRPP域2详细信息,显示Device B在RRPP域2中为主环主节点,且RRPP域2中主环状态为complete,主端口up,副端口block。
[DeviceB] display rrpp verbose domain 2
Domain ID : 2
Control VLAN : Major 2000 Sub 2001
Protected VLAN: Reference Instance 2
Hello Timer : 1 sec Fail Timer : 3 sec
Fast Detection Status: Enable
Fast Hello Timer: 10 ms Fast Fail Timer: 30 ms
Ring ID : 1
Ring Level : 0
Node Mode : Master
Ring State : Complete
Enable Status : Yes Active Status: Yes
Primary port : GigabitEthernet9/0/2 Port status: UP
Secondary port: GigabitEthernet9/0/1 Port status: BLOCK
# 查看Device C的RRPP域1详细信息,显示Device C在RRPP域1中为主环传输节点和子环(Ring 2和Ring 3)边缘节点,RRPP端口状态均为up。
[DeviceC] display rrpp verbose domain 1
Domain ID : 1
Control VLAN : Major 1000 Sub 1001
Protected VLAN: Reference Instance 1
Hello Timer : 1 sec Fail Timer : 3 sec
Fast Detection Status: Enable
Fast Hello Timer: 10 ms Fast Fail Timer: 30 ms
Ring ID : 1
Ring Level : 0
Node Mode : Transit
Ring State : -
Enable Status : Yes Active Status: Yes
Primary port : GigabitEthernet9/0/1 Port status: UP
Secondary port: GigabitEthernet9/0/2 Port status: UP
Ring ID : 2
Ring Level : 1
Node Mode : Edge
Ring State : -
Enable Status : Yes Active Status: Yes
Common port : GigabitEthernet9/0/1 Port status: UP
GigabitEthernet9/0/2 Port status: UP
Edge port : GigabitEthernet9/0/3 Port status: UP
Ring ID : 3
Ring Level : 1
Node Mode : Edge
Ring State : -
Enable Status : Yes Active Status: Yes
Common port : GigabitEthernet9/0/1 Port status: UP
GigabitEthernet9/0/2 Port status: UP
Edge port : GigabitEthernet9/0/4 Port status: UP
# 查看Device C的RRPP域2详细信息,显示Device C在RRPP域2中为主环传输节点和子环(Ring 2和Ring 3)边缘节点,RRPP端口状态均为up。
[DeviceC] display rrpp verbose domain 2
Domain ID : 2
Control VLAN : Major 2000 Sub 2001
Protected VLAN: Reference Instance 2
Hello Timer : 1 sec Fail Timer : 3 sec
Fast Detection Status: Enable
Fast Hello Timer: 10 ms Fast Fail Timer: 30 ms
Ring ID : 1
Ring Level : 0
Node Mode : Transit
Ring State : -
Enable Status : Yes Active Status: Yes
Primary port : GigabitEthernet9/0/1 Port status: UP
Secondary port: GigabitEthernet9/0/2 Port status: UP
Ring ID : 2
Ring Level : 1
Node Mode : Edge
Ring State : -
Enable Status : Yes Active Status: Yes
Common port : GigabitEthernet9/0/1 Port status: UP
GigabitEthernet9/0/2 Port status: UP
Edge port : GigabitEthernet9/0/3 Port status: UP
Ring ID : 3
Ring Level : 1
Node Mode : Edge
Ring State : -
Enable Status : Yes Active Status: Yes
Common port : GigabitEthernet9/0/1 Port status: UP
GigabitEthernet9/0/2 Port status: UP
Edge port : GigabitEthernet9/0/4 Port status: UP
# 查看Device D的RRPP域1详细信息,显示Device D在RRPP域1中为主环传输节点和子环(Ring 2和Ring 3)辅助边缘节点,RRPP端口状态均为up。
[DeviceD] display rrpp verbose domain 1
Domain ID : 1
Control VLAN : Major 1000 Sub 1001
Protected VLAN: Reference Instance 1
Hello Timer : 1 sec Fail Timer : 3 sec
Fast Detection Status: Enable
Fast Hello Timer: 10 ms Fast Fail Timer: 30 ms
Ring ID : 1
Ring Level : 0
Node Mode : Transit
Ring State : -
Enable Status : Yes Active Status: Yes
Primary port : GigabitEthernet9/0/1 Port status: UP
Secondary port: GigabitEthernet9/0/2 Port status: UP
Ring ID : 2
Ring Level : 1
Node Mode : Assistant-edge
Ring State : -
Enable Status : Yes Active Status: Yes
Common port : GigabitEthernet9/0/1 Port status: UP
GigabitEthernet9/0/2 Port status: UP
Edge port : GigabitEthernet9/0/3 Port status: UP
Ring ID : 3
Ring Level : 1
Node Mode : Assistant-edge
Ring State : -
Enable Status : Yes Active Status: Yes
Common port : GigabitEthernet9/0/1 Port status: UP
GigabitEthernet9/0/2 Port status: UP
Edge port : GigabitEthernet9/0/4 Port status: UP
# 查看Device D的RRPP域2详细信息,显示Device D在RRPP域2中为主环传输节点和子环(Ring 2和Ring 3)辅助边缘节点,RRPP端口状态均为up。
[DeviceD] display rrpp verbose domain 2
Domain ID : 2
Control VLAN : Major 2000 Sub 2001
Protected VLAN: Reference Instance 2
Hello Timer : 1 sec Fail Timer : 3 sec
Fast Detection Status: Enable
Fast Hello Timer: 10 ms Fast Fail Timer: 30 ms
Ring ID : 1
Ring Level : 0
Node Mode : Transit
Ring State : -
Enable Status : Yes Active Status: Yes
Primary port : GigabitEthernet9/0/1 Port status: UP
Secondary port: GigabitEthernet9/0/2 Port status: UP
Ring ID : 2
Ring Level : 1
Node Mode : Assistant-edge
Ring State : -
Enable Status : Yes Active Status: Yes
Common port : GigabitEthernet9/0/1 Port status: UP
GigabitEthernet9/0/2 Port status: UP
Edge port : GigabitEthernet9/0/3 Port status: UP
Ring ID : 3
Ring Level : 1
Node Mode : Assistant-edge
Ring State : -
Enable Status : Yes Active Status: Yes
Common port : GigabitEthernet9/0/1 Port status: UP
GigabitEthernet9/0/2 Port status: UP
Edge port : GigabitEthernet9/0/4 Port status: UP
# 查看Device E的RRPP域1详细信息,显示Device E在RRPP域1中为子环(Ring 2)主节点,且RRPP域1中子环状态为complete,主端口up,副端口block。
[DeviceE] display rrpp verbose domain 1
Domain ID : 1
Control VLAN : Major 1000 Sub 1001
Protected VLAN: Reference Instance 1
Hello Timer : 1 sec Fail Timer : 10 sec
Fast Detection Status: Enable
Fast Hello Timer: 10 ms Fast Fail Timer: 100 ms
Ring ID : 2
Ring Level : 1
Node Mode : Master
Ring State : Complete
Enable Status : Yes Active Status: Yes
Primary port : GigabitEthernet9/0/2 Port status: UP
Secondary port: GigabitEthernet9/0/1 Port status: BLOCK
# 查看Device E的RRPP域2详细信息,显示Device E在RRPP域2中为子环(Ring 2)主节点,且RRPP域2中子环状态为complete,主端口up,副端口block。
[DeviceE] display rrpp verbose domain 2
Domain ID : 2
Control VLAN : Major 2000 Sub 2001
Protected VLAN: Reference Instance 2
Hello Timer : 1 sec Fail Timer : 10 sec
Fast Detection Status: Enable
Fast Hello Timer: 10 ms Fast Fail Timer: 100 ms
Ring ID : 2
Ring Level : 1
Node Mode : Master
Ring State : Complete
Enable Status : Yes Active Status: Yes
Primary port : GigabitEthernet9/0/1 Port status: UP
Secondary port: GigabitEthernet9/0/2 Port status: BLOCK
# 查看Device F的RRPP域1详细信息,显示Device F在RRPP域1中为子环(Ring 3)主节点,且RRPP域1中子环状态为complete,主端口up,副端口block。
[DeviceF] display rrpp verbose domain 1
Domain ID : 1
Control VLAN : Major 1000 Sub 1001
Protected VLAN: Reference Instance 1
Hello Timer : 1 sec Fail Timer : 10 sec
Fast Detection Status: Enable
Fast Hello Timer: 10 ms Fast Fail Timer: 100 ms
Ring ID : 3
Ring Level : 1
Node Mode : Master
Ring State : Complete
Enable Status : Yes Active Status: Yes
Primary port : GigabitEthernet9/0/2 Port status: UP
Secondary port: GigabitEthernet9/0/1 Port status: BLOCK
# 查看Device F的RRPP域2详细信息,显示Device F在RRPP域2中为子环(Ring 3)主节点,且RRPP域2中子环状态为complete,主端口up,副端口block。
[DeviceF] display rrpp verbose domain 2
Domain ID : 2
Control VLAN : Major 2000 Sub 2001
Protected VLAN: Reference Instance 2
Hello Timer : 1 sec Fail Timer : 10 sec
Fast Detection Status: Enable
Fast Hello Timer: 10 ms Fast Fail Timer: 100 ms
Ring ID : 3
Ring Level : 1
Node Mode : Master
Ring State : Complete
Enable Status : Yes Active Status: Yes
Primary port : GigabitEthernet9/0/1 Port status: UP
Secondary port: GigabitEthernet9/0/2 Port status: BLOCK
# 查看边缘节点和辅助边缘节点上的环组信息。
<DeviceC> display rrpp ring-group 1
Ring Group 1:
Domain 1 Ring 2 to 3
Domain 2 Ring 2 to 3
· Device A:
#
sysname DeviceA
#
vlan 1
#
vlan 100 to 200
#
stp region-configuration
instance 1 vlan 100 to 150
instance 2 vlan 151 to 200
active region-configuration
#
interface GigabitEthernet9/0/1
port link-mode bridge
port link-type trunk
undo port trunk permit vlan 1
port trunk permit vlan 100 to 200
link-delay 0
stp disable
#
interface GigabitEthernet9/0/2
port link-mode bridge
port link-type trunk
undo port trunk permit vlan 1
port trunk permit vlan 100 to 200
link-delay 0
stp disable
#
rrpp domain 1
control-vlan 1000
protected-vlan reference-instance 1
fast-detection enable
timer fast-fail-timer 30
timer fast-hello-timer 10
ring 1 node-mode master primary-port GigabitEthernet9/0/1 secondary-port GigabitEthernet9/0/2 level 0
ring 1 enable
#
rrpp domain 2
control-vlan 2000
protected-vlan reference-instance 2
ring 1 node-mode transit primary-port GigabitEthernet9/0/1 secondary-port GigabitEthernet9/0/2 level 0
ring 1 enable
#
rrpp enable
#
· Device B:
#
sysname DeviceB
#
vlan 1
#
vlan 100 to 200
#
stp region-configuration
instance 1 vlan 100 to 150
instance 2 vlan 151 to 200
active region-configuration
#
interface GigabitEthernet9/0/1
port link-mode bridge
port link-type trunk
undo port trunk permit vlan 1
port trunk permit vlan 100 to 200
link-delay 0
stp disable
#
interface GigabitEthernet9/0/2
port link-mode bridge
port link-type trunk
undo port trunk permit vlan 1
port trunk permit vlan 100 to 200
link-delay 0
stp disable
#
rrpp domain 1
control-vlan 1000
protected-vlan reference-instance 1
ring 1 node-mode transit primary-port GigabitEthernet9/0/2 secondary-port GigabitEthernet9/0/1 level 0
ring 1 enable
#
rrpp domain 2
control-vlan 2000
protected-vlan reference-instance 2
fast-detection enable
timer fast-fail-timer 30
timer fast-hello-timer 10
ring 1 node-mode master primary-port GigabitEthernet9/0/2 secondary-port GigabitEthernet9/0/1 level 0
ring 1 enable
#
rrpp enable
#
· Device C:
#
sysname DeviceC
#
vlan 1
#
vlan 100 to 200
#
stp region-configuration
instance 1 vlan 100 to 150
instance 2 vlan 151 to 200
active region-configuration
#
interface GigabitEthernet9/0/1
port link-mode bridge
port link-type trunk
undo port trunk permit vlan 1
port trunk permit vlan 100 to 200
link-delay 0
stp disable
#
interface GigabitEthernet9/0/2
port link-mode bridge
port link-type trunk
undo port trunk permit vlan 1
port trunk permit vlan 100 to 200
link-delay 0
stp disable
#
interface GigabitEthernet9/0/3
port link-mode bridge
port link-type trunk
undo port trunk permit vlan 1
port trunk permit vlan 100 to 200
link-delay 0
stp disable
#
interface GigabitEthernet9/0/4
port link-mode bridge
port link-type trunk
undo port trunk permit vlan 1
port trunk permit vlan 100 to 200
link-delay 0
stp disable
#
rrpp domain 1
control-vlan 1000
protected-vlan reference-instance 1
fast-detection enable
timer fast-fail-timer 30
timer fast-hello-timer 10
ring 1 node-mode transit primary-port GigabitEthernet9/0/1 secondary-port GigabitEthernet9/0/2 level 0
ring 1 enable
ring 2 node-mode edge edge-port GigabitEthernet 9/0/3
ring 2 enable
ring 3 node-mode edge edge-port GigabitEthernet 9/0/4
ring 3 enable
#
rrpp domain 2
control-vlan 2000
protected-vlan reference-instance 2
fast-detection enable
timer fast-fail-timer 30
timer fast-hello-timer 10
ring 1 node-mode transit primary-port GigabitEthernet9/0/1 secondary-port GigabitEthernet9/0/2 level 0
ring 1 enable
ring 2 node-mode edge edge-port GigabitEthernet 9/0/3
ring 2 enable
ring 3 node-mode edge edge-port GigabitEthernet 9/0/4
ring 3 enable
#
rrpp ring-group 1
domain 1 ring 2 to 3
domain 2 ring 2 to 3
#
rrpp enable
#
· Device D:
#
sysname DeviceD
#
vlan 1
#
vlan 100 to 200
#
stp region-configuration
instance 1 vlan 100 to 150
instance 2 vlan 151 to 200
active region-configuration
#
interface GigabitEthernet9/0/1
port link-mode bridge
port link-type trunk
undo port trunk permit vlan 1
port trunk permit vlan 100 to 200
link-delay 0
stp disable
#
interface GigabitEthernet9/0/2
port link-mode bridge
port link-type trunk
undo port trunk permit vlan 1
port trunk permit vlan 100 to 200
link-delay 0
stp disable
#
interface GigabitEthernet9/0/3
port link-mode bridge
port link-type trunk
undo port trunk permit vlan 1
port trunk permit vlan 100 to 200
link-delay 0
stp disable
#
interface GigabitEthernet9/0/4
port link-mode bridge
port link-type trunk
undo port trunk permit vlan 1
port trunk permit vlan 100 to 200
link-delay 0
stp disable
#
rrpp domain 1
control-vlan 1000
protected-vlan reference-instance 1
fast-detection enable
timer fast-fail-timer 30
timer fast-hello-timer 10
ring 1 node-mode transit primary-port GigabitEthernet9/0/1 secondary-port GigabitEthernet9/0/2 level 0
ring 1 enable
ring 2 node-mode assistant-edge edge-port GigabitEthernet 9/0/3
ring 2 enable
ring 3 node-mode assistant-edge edge-port GigabitEthernet 9/0/4
ring 3 enable
#
rrpp domain 2
control-vlan 2000
protected-vlan reference-instance 2
fast-detection enable
timer fast-fail-timer 30
timer fast-hello-timer 10
ring 1 node-mode transit primary-port GigabitEthernet9/0/1 secondary-port GigabitEthernet9/0/2 level 0
ring 1 enable
ring 2 node-mode assistant-edge edge-port GigabitEthernet 9/0/3
ring 2 enable
ring 3 node-mode assistant-edge edge-port GigabitEthernet 9/0/4
ring 3 enable
#
rrpp ring-group 1
domain 1 ring 2 to 3
domain 2 ring 2 to 3
#
rrpp enable
#
· Device E:
#
sysname DeviceE
#
vlan 1
#
vlan 100 to 200
#
stp region-configuration
instance 1 vlan 100 to 150
instance 2 vlan 151 to 200
active region-configuration
#
interface GigabitEthernet9/0/1
port link-mode bridge
port link-type trunk
undo port trunk permit vlan 1
port trunk permit vlan 100 to 200
link-delay 0
stp disable
#
interface GigabitEthernet9/0/2
port link-mode bridge
port link-type trunk
undo port trunk permit vlan 1
port trunk permit vlan 100 to 200
link-delay 0
stp disable
#
rrpp domain 1
control-vlan 1000
protected-vlan reference-instance 1
timer hello-timer 1 fail-timer 10
fast-detection enable
timer fast-fail-timer 100
timer fast-hello-timer 10
ring 2 node-mode master primary-port GigabitEthernet9/0/2 secondary-port GigabitEthernet9/0/1 level 1
ring 2 enable
#
rrpp domain 2
control-vlan 2000
protected-vlan reference-instance 2
timer hello-timer 1 fail-timer 10
fast-detection enable
timer fast-fail-timer 100
timer fast-hello-timer 10
ring 2 node-mode master primary-port GigabitEthernet9/0/1 secondary-port GigabitEthernet9/0/2 level 1
ring 2 enable
#
rrpp enable
#
· Device F:
#
sysname DeviceF
#
vlan 1
#
vlan 100 to 200
#
stp region-configuration
instance 1 vlan 100 to 150
instance 2 vlan 151 to 200
active region-configuration
#
interface GigabitEthernet9/0/1
port link-mode bridge
port link-type trunk
undo port trunk permit vlan 1
port trunk permit vlan 100 to 200
link-delay 0
stp disable
#
interface GigabitEthernet9/0/2
port link-mode bridge
port link-type trunk
undo port trunk permit vlan 1
port trunk permit vlan 100 to 200
link-delay 0
stp disable
#
rrpp domain 1
control-vlan 1000
protected-vlan reference-instance 1
timer hello-timer 1 fail-timer 10
fast-detection enable
timer fast-fail-timer 100
timer fast-hello-timer 10
ring 3 node-mode master primary-port GigabitEthernet9/0/2 secondary-port GigabitEthernet9/0/1 level 1
ring 3 enable
#
rrpp domain 2
control-vlan 2000
protected-vlan reference-instance 2
timer hello-timer 1 fail-timer 10
fast-detection enable
timer fast-fail-timer 100
timer fast-hello-timer 10
ring 3 node-mode master primary-port GigabitEthernet9/0/1 secondary-port GigabitEthernet9/0/2 level 1
ring 3 enable
#
rrpp enable
#
· 《H3C S12500系列路由交换机 可靠性配置指导》中的“RRPP”
· 《H3C S12500系列路由交换机 可靠性命令参考》中的“RRPP”
· 《H3C S12500系列路由交换机 二层技术-以太网交换配置指导》中的“生成树”
· 《H3C S12500系列路由交换机 二层技术-以太网交换命令参考》中的“生成树”
不同款型规格的资料略有差异, 详细信息请向具体销售和400咨询。H3C保留在没有任何通知或提示的情况下对资料内容进行修改的权利!