选择区域语言: EN CN HK

H3C 中低端以太网交换机 可靠性典型配置指导-6W100

04-RRPP典型配置指导

本章节下载  (1.59 MB)

docurl=/cn/Service/Document_Software/Document_Center/Switches/Catalog/CE3000/CE3000-EI/Configure/Typical_Configuration_Example/H3C_KKX_CG-6W100/201111/733145_30005_0.htm

04-RRPP典型配置指导

目 

1 RRPP典型配置指导(支持保护VLAN)

1.1 RRPP简介

1.1 RRPP单环拓扑典型配置指导

1.1.1 组网图

1.1.2 应用要求

1.1.3 配置思路

1.1.4 适用产品、版本

1.1.5 配置过程和解释

1.1.6 完整配置

1.1.7 配置注意事项

1.2 RRPP相交环拓扑典型配置指导

1.2.1 组网图

1.2.2 应用要求

1.2.3 配置思路

1.2.4 适用产品、版本

1.2.5 配置过程和解释

1.2.6 完整配置

1.2.7 配置注意事项

1.3 RRPP双边双归属环拓扑典型配置指导

1.3.1 组网图

1.3.2 应用要求

1.3.3 配置思路

1.3.4 适用产品、版本

1.3.5 配置过程和解释

1.3.6 完整配置

1.3.7 配置注意事项

1.4 RRPP相交环负载分担拓扑典型配置指导

1.4.1 组网图

1.4.2 应用要求

1.4.3 配置思路

1.4.4 适用产品、版本

1.4.5 配置过程和解释

1.4.6 完整配置

1.4.7 配置注意事项

1.5 RRPP快速检测典型配置指导

1.5.1 组网图

1.5.2 应用要求

1.5.3 配置思路

1.5.4 适用产品、版本

1.5.5 配置过程和解释

1.5.6 完整配置

1.5.7 配置注意事项

1.6 RRPP与Smart Link混合组网典型配置指导

1.6.1 组网图

1.6.2 应用要求

1.6.3 配置思路

1.6.4 适用产品、版本

1.6.5 配置过程和解释

1.6.6 完整配置

1.6.7 配置注意事项

2 RRPP典型配置指导(不支持保护VLAN)

2.1 RRPP单环拓扑典型配置指导

2.1.1 组网图

2.1.2 应用要求

2.1.3 配置思路

2.1.4 适用产品、版本

2.1.5 配置过程和解释

2.1.6 完整配置

2.1.7 配置注意事项

2.2 RRPP单域相交环拓扑典型配置指导

2.2.1 组网图

2.2.2 应用要求

2.2.3 配置思路

2.2.4 适用产品、版本

2.2.5 配置过程和解释

2.2.6 完整配置

2.2.7 配置注意事项

2.3 RRPP多域相交环拓扑典型配置指导

2.3.1 组网图

2.3.2 应用要求

2.3.3 配置思路

2.3.4 适用产品、版本

2.3.5 配置过程和解释

2.3.6 完整配置

2.3.7 配置注意事项

 


1 RRPP典型配置指导(支持保护VLAN)

1.1  RRPP简介

为了兼容不支持保护VLAN配置的RRPP版本,在使用旧版本配置文件启动设备后,RRPP域保护所有的VLAN。

 

城域网和企业网大多采用环网来构建以提高可靠性,但环上任意一个节点发生故障都会影响业务。环网采用的技术一般是RPR或以太网环。RPR需要专用硬件,因此成本较高。而以太网环技术日趋成熟且成本低廉,城域网和企业网采用以太网环的趋势越来越明显。

目前,解决二层网络环路问题的技术有STP和RRPP(Rapid Ring Protection Protocol,快速环网保护协议)。STP应用比较成熟,但收敛时间在秒级。RRPP是专门应用于以太网环的链路层协议,具有比STP更快的收敛速度。并且RRPP的收敛时间与环网上节点数无关,可应用于网络直径较大的网络。

1.1  RRPP单环拓扑典型配置指导

1.1.1  组网图

图1-1 RRPP单环拓扑组网示意图

 

1.1.2  应用要求

多个小区用户接入汇聚层网络,该汇聚层网络采用RRPP环网结构提高可靠性,同时要求网络具有较高的收敛性能。

1.1.3  配置思路

l              Device A~Device D构成RRPP域1,该域的控制VLAN为VLAN 4092,保护VLAN为VLAN 1~30。

l              Device A、Device B、Device C和Device D构成主环Ring 1。Device A为主环的主节点,GigabitEthernet1/0/1和GigabitEthernet1/0/2分别为主、副端口;Device B、Device C和Device D为主环的传输节点,其各自的GigabitEthernet1/0/1和GigabitEthernet1/0/2分别为主、副端口。

1.1.4  适用产品、版本

表1-1 配置适用的产品与软件版本关系

产品

软件版本

S7500E系列以太网交换机

Release 6300系列,Release 6600系列,Release 6610系列

S7600系列以太网交换机

Release 6600系列,Release 6610系列

S5800&S5820X系列以太网交换机

Release 1110,Release 1211

CE3000-32F以太网交换机

Release 1211

S5500-EI系列以太网交换机

Release 2202,Release 2208

S5500-EI-D系列以太网交换机

Release 2208

S5500-SI系列以太网交换机

Release 2202,Release 2208

S5120-EI系列以太网交换机

Release 2202,Release 2208

S3610&S5510系列以太网交换机

Release 5306,Release 5309

S3500-EA系列以太网交换机

Release 5309

 

1.1.5  配置过程和解释

l    对于S5800、S5820X、CE3000、S5500-EI、S5500-EI-D、S5500-SI及S5120-EI系列以太网交换机,必须配置所有接入RRPP环的端口信认报文的802.1p优先级,以确保端口对RRPP协议报文的处理优先于数据报文。配置方法为在以太网端口视图下执行qos trust dot1p命令。

l    建议在RRPP端口上不要配置端口的物理连接状态up/down抑制时间,以提高RRPP的拓扑变化收敛速度。您可以在以太网端口视图下执行undo link-delay命令取消物理连接状态up/down抑制时间配置。

 

(1)        配置Device A

# 创建VLAN 1~30,将这些VLAN都映射到MSTP实例1上,并激活MST域的配置。

<DeviceA> system-view

[DeviceA] vlan 1 to 30

[DeviceA] stp region-configuration

[DeviceA-mst-region] instance 1 vlan 1 to 30

[DeviceA-mst-region] active region-configuration

[DeviceA-mst-region] quit

# 分别在端口GigabitEthernet1/0/1和GigabitEthernet1/0/2上关闭STP功能,并将端口配置为Trunk端口,且允许VLAN 1~30通过。

[DeviceA] interface gigabitethernet 1/0/1

[DeviceA-GigabitEthernet1/0/1] undo stp enable

[DeviceA-GigabitEthernet1/0/1] port link-type trunk

[DeviceA-GigabitEthernet1/0/1] port trunk permit vlan 1 to 30

[DeviceA-GigabitEthernet1/0/1] quit

[DeviceA] interface gigabitethernet 1/0/2

[DeviceA-GigabitEthernet1/0/2] undo stp enable

[DeviceA-GigabitEthernet1/0/2] port link-type trunk

[DeviceA-GigabitEthernet1/0/2] port trunk permit vlan 1 to 30

[DeviceA-GigabitEthernet1/0/2] quit

# 创建RRPP域1,将VLAN 4092配置为该域的控制VLAN,并将MSTP实例1所映射的VLAN配置为该域的保护VLAN。

[DeviceA] rrpp domain 1

[DeviceA-rrpp-domain1] control-vlan 4092

[DeviceA-rrpp-domain1] protected-vlan reference-instance 1

# 配置本设备为主环1的主节点,主端口为GigabitEthernet1/0/1,副端口为GigabitEthernet1/0/2,并使能该环。

[DeviceA-rrpp-domain1] ring 1 node-mode master primary-port gigabitethernet 1/0/1 secondary-port gigabitethernet 1/0/2 level 0

[DeviceA-rrpp-domain1] ring 1 enable

[DeviceA-rrpp-domain1] quit

# 使能RRPP协议。

[DeviceA] rrpp enable

(2)        配置Device B

# 创建VLAN 1~30,将这些VLAN都映射到MSTP实例1上,并激活MST域的配置。

<DeviceB> system-view

[DeviceB] vlan 1 to 30

[DeviceB] stp region-configuration

[DeviceB-mst-region] instance 1 vlan 1 to 30

[DeviceB-mst-region] active region-configuration

[DeviceB-mst-region] quit

# 分别在端口GigabitEthernet1/0/1和GigabitEthernet1/0/2上关闭STP功能,并将端口配置为Trunk端口,且允许VLAN1~30通过。

[DeviceB] interface gigabitethernet 1/0/1

[DeviceB-GigabitEthernet1/0/1] undo stp enable

[DeviceB-GigabitEthernet1/0/1] port link-type trunk

[DeviceB-GigabitEthernet1/0/1] port trunk permit vlan 1 to 30

[DeviceB-GigabitEthernet1/0/1] quit

[DeviceB] interface gigabitethernet 1/0/2

[DeviceB-GigabitEthernet1/0/2] undo stp enable

[DeviceB-GigabitEthernet1/0/2] port link-type trunk

[DeviceB-GigabitEthernet1/0/2] port trunk permit vlan 1 to 30

[DeviceB-GigabitEthernet1/0/2] quit

# 创建RRPP域1,将VLAN 4092配置为该域的控制VLAN,并将MSTP实例1所映射的VLAN配置为该域的保护VLAN。

[DeviceB] rrpp domain 1

[DeviceB-rrpp-domain1] control-vlan 4092

[DeviceB-rrpp-domain1] protected-vlan reference-instance 1

# 配置本设备为主环1的传输节点,主端口为GigabitEthernet1/0/1,副端口为GigabitEthernet1/0/2,并使能该环。

[DeviceB-rrpp-domain1] ring 1 node-mode transit primary-port gigabitethernet 1/0/1 secondary-port gigabitethernet 1/0/2 level 0

[DeviceB-rrpp-domain1] ring 1 enable

[DeviceB-rrpp-domain1] quit

# 使能RRPP协议。

[DeviceB] rrpp enable

(3)        配置Device C

Device C的配置与Device B相似,配置过程略。

(4)        配置Device D

Device D的配置与Device B相似,配置过程略。

(5)        检验配置效果

配置完成后,用户可以使用display rrpp命令查看各设备上RRPP的配置和运行情况。

1.1.6  完整配置

l              Device A上的配置

#

vlan 1

#

vlan 2 to 30

#

stp region-configuration

 instance 1 vlan 1 to 30

 active region-configuration

#

interface GigabitEthernet1/0/1

 port link-type trunk

 port trunk permit vlan 1 to 30

 stp disable

#

interface GigabitEthernet1/0/2

 port link-type trunk

 port trunk permit vlan 1 to 30

 stp disable

#

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

#

l              Device BDevice CDevice D上的配置

#

vlan 1

#

vlan 2 to 30

#

stp region-configuration

 instance 1 vlan 1 to 30

 active region-configuration

#

interface GigabitEthernet1/0/1

 port link-type trunk

 port trunk permit vlan 1 to 30

 stp disable

#

interface GigabitEthernet1/0/2

 port link-type trunk

 port trunk permit vlan 1 to 30

 stp disable

#

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

#

1.1.7  配置注意事项

l              由于RRPP没有自动选举机制,只有当环网中各节点的配置都正确时,才能真正实现环网的检测和保护,因此请保证配置的准确性。

l              配置RRPP之前,需先搭建好以太网环形拓扑的组网环境。

l              在配置RRPP环之前必须先配置主环控制VLAN。子环的控制VLAN由系统自动分配,其VLAN ID为主环的控制VLAN ID加1。因此,用户在配置控制VLAN时一定要选取两个连续的没有创建过的VLAN。如果当前设备上没有两个连续的没有创建过的VLAN,则配置失败。

l              不要将接入RRPP环的端口的缺省VLAN设置为RRPP控制VLAN或子控制VLAN,以免影响协议报文正常收发。

l              控制VLAN上不能运行QinQ和VLAN映射功能,否则RRPP协议报文不能进行正常转发。

l              如果要在一台未配置RRPP功能的设备上透传RRPP协议报文,应保证该设备上只有接入RRPP环的那两个端口允许该RRPP环所对应控制VLAN的报文通过,而其它端口都不允许其通过;否则,其它VLAN的报文可能通过透传进入控制VLAN,从而对RRPP环产生冲击。

l              配置RRPP环之前必须先配置保护VLAN,RRPP端口允许通过的VLAN都应该被RRPP域保护,在同一RRPP域内的所有节点上应配置相同的保护VLAN。

l              protected-vlan命令通过引用MSTP实例的间接方式来配置RRPP域所保护的VLAN列表。MSTP的实例和VLAN映射关系发生变化时,RRPP域实际所保护的VLAN也会根据RRPP域的保护VLAN所引用的实例变化。

l              RRPP端口的端口类型只能是二层以太网端口或二层聚合接口,但当上述端口是二层聚合组、业务环回组或Smart Link组的成员端口时除外。

l              当把二层聚合接口配置为RRPP端口后,仍可添加或删除对应聚合组中的成员端口。

l              接入RRPP环的端口必须关闭STP功能,且不能开启Smart Link功能。

l              接入RRPP环的端口必须配置为Trunk端口,并允许数据VLAN的报文通过。由于RRPP端口将自动允许控制VLAN的报文通过,因此无需配置RRPP端口允许控制VLAN的报文通过。

l              建议在RRPP端口上不要配置端口的物理连接状态up/down抑制时间,以提高RRPP的拓扑变化收敛速度。用户可通过undo link-delay命令取消端口的物理连接状态up/down抑制时间配置。

l              不建议在RRPP端口上启用OAM远端环回功能,否则可能引起短时间的广播风暴。

l              接入RRPP环的端口不能配置为镜像组的目的端口。

l              必须同时使能RRPP协议和RRPP环,当前设备的RRPP域才能激活。

l              RRPP环的节点角色、端口角色和环的级别一经配置不能直接修改,如果用户想改变上述配置,必须先删除现有的配置。

l              使用undo rrpp domain命令删除RRPP域时,必须保证RRPP域内没有配置RRPP环,否则删除操作不能成功。

1.2  RRPP相交环拓扑典型配置指导

1.2.1  组网图

图1-2 RRPP相交环拓扑组网示意图

 

1.2.2  应用要求

接入层设备Device E以环网形式接入汇聚层,汇聚层也采用环网结构。要求网络具有高可靠性和较强的收敛性能。

1.2.3  配置思路

l              Device A~Device E构成RRPP域1,该域的控制VLAN为VLAN 4092,保护VLAN为VLAN 1~30。

l              Device A、Device B、Device C和Device D构成主环Ring 1;Device B、Device C和Device E构成子环Ring 2。

l              Device A为主环的主节点,GigabitEthernet1/0/1和GigabitEthernet1/0/2分别为主、副端口;Device E为子环的主节点,GigabitEthernet1/0/1和GigabitEthernet1/0/2分别为主、副端口;Device B为主环的传输节点和子环的边缘节点,GigabitEthernet1/0/3为边缘端口;Device C为主环的传输节点和子环的辅助边缘节点,GigabitEthernet1/0/3为边缘端口;Device D为主环的传输节点,GigabitEthernet1/0/1和GigabitEthernet1/0/2分别为主、副端口。

1.2.4  适用产品、版本

表1-2 配置适用的产品与软件版本关系

产品

软件版本

S7500E系列以太网交换机

Release 6300系列,Release 6600系列,Release 6610系列

S7600系列以太网交换机

Release 6600系列,Release 6610系列

S5800&S5820X系列以太网交换机

Release 1110,Release 1211

CE3000-32F以太网交换机

Release 1211

S5500-EI系列以太网交换机

Release 2202,Release 2208

S5500-EI-D系列以太网交换机

Release 2208

S5500-SI系列以太网交换机

Release 2202,Release 2208

S5120-EI系列以太网交换机

Release 2202,Release 2208

S3610&S5510系列以太网交换机

Release 5306,Release 5309

S3500-EA系列以太网交换机

Release 5309

 

1.2.5  配置过程和解释

l    对于S5800、S5820X、CE3000、S5500-EI、S5500-EI-D、S5500-SI及S5120-EI系列以太网交换机,必须配置所有接入RRPP环的端口信认报文的802.1p优先级,以确保端口对RRPP协议报文的处理优先于数据报文。配置方法为在以太网端口视图下执行qos trust dot1p命令。

l    建议在RRPP端口上不要配置端口的物理连接状态up/down抑制时间,以提高RRPP的拓扑变化收敛速度。您可以在以太网端口视图下执行undo link-delay命令取消物理连接状态up/down抑制时间配置。

 

(1)        配置Device A

# 创建VLAN 1~30,将这些VLAN都映射到MSTP实例1上,并激活MST域的配置。

<DeviceA> system-view

[DeviceA] vlan 1 to 30

[DeviceA] stp region-configuration

[DeviceA-mst-region] instance 1 vlan 1 to 30

[DeviceA-mst-region] active region-configuration

[DeviceA-mst-region] quit

# 分别在端口GigabitEthernet1/0/1和GigabitEthernet1/0/2上关闭STP功能,并将端口配置为Trunk端口且允许VLAN 1~30通过。

[DeviceA] interface gigabitethernet 1/0/1

[DeviceA-GigabitEthernet1/0/1] undo stp enable

[DeviceA-GigabitEthernet1/0/1] port link-type trunk

[DeviceA-GigabitEthernet1/0/1] port trunk permit vlan 1 to 30

[DeviceA-GigabitEthernet1/0/1] quit

[DeviceA] interface gigabitethernet 1/0/2

[DeviceA-GigabitEthernet1/0/2] undo stp enable

[DeviceA-GigabitEthernet1/0/2] port link-type trunk

[DeviceA-GigabitEthernet1/0/2] port trunk permit vlan 1 to 30

[DeviceA-GigabitEthernet1/0/2] quit

# 创建RRPP域1,将VLAN 4092配置为该域的控制VLAN,并将MSTP实例1所映射的VLAN配置为该域的保护VLAN。

[DeviceA] rrpp domain 1

[DeviceA-rrpp-domain1] control-vlan 4092

[DeviceA-rrpp-domain1] protected-vlan reference-instance 1

# 配置本设备为主环1的主节点,主端口为GigabitEthernet1/0/1,副端口为GigabitEthernet1/0/2,并使能该环。

[DeviceA-rrpp-domain1] ring 1 node-mode master primary-port gigabitethernet 1/0/1 secondary-port gigabitethernet 1/0/2 level 0

[DeviceA-rrpp-domain1] ring 1 enable

[DeviceA-rrpp-domain1] quit

# 使能RRPP协议。

[DeviceA] rrpp enable

(2)        配置Device B

# 创建VLAN 1~30,将这些VLAN都映射到MSTP实例1上,并激活MST域的配置。

<DeviceB> system-view

[DeviceB] vlan 1 to 30

[DeviceB] stp region-configuration

[DeviceB-mst-region] instance 1 vlan 1 to 30

[DeviceB-mst-region] active region-configuration

[DeviceB-mst-region] quit

# 分别在端口GigabitEthernet1/0/1、GigabitEthernet1/0/2和GigabitEthernet1/0/3上关闭STP功能,并将端口配置为Trunk端口且允许VLAN 1~30通过。

[DeviceB] interface gigabitethernet 1/0/1

[DeviceB-GigabitEthernet1/0/1] undo stp enable

[DeviceB-GigabitEthernet1/0/1] port link-type trunk

[DeviceB-GigabitEthernet1/0/1] port trunk permit vlan 1 to 30

[DeviceB-GigabitEthernet1/0/1] quit

[DeviceB] interface gigabitethernet 1/0/2

[DeviceB-GigabitEthernet1/0/2] undo stp enable

[DeviceB-GigabitEthernet1/0/2] port link-type trunk

[DeviceB-GigabitEthernet1/0/2] port trunk permit vlan 1 to 30

[DeviceB-GigabitEthernet1/0/2] quit

[DeviceB] interface gigabitethernet 1/0/3

[DeviceB-GigabitEthernet1/0/3] undo stp enable

[DeviceB-GigabitEthernet1/0/3] port link-type trunk

[DeviceB-GigabitEthernet1/0/3] port trunk permit vlan 1 to 30

[DeviceB-GigabitEthernet1/0/3] quit

# 创建RRPP域1,将VLAN 4092配置为该域的控制VLAN,并将MSTP实例1所映射的VLAN配置为该域的保护VLAN。

[DeviceB] rrpp domain 1

[DeviceB-rrpp-domain1] control-vlan 4092

[DeviceB-rrpp-domain1] protected-vlan reference-instance 1

# 配置本设备为主环1的传输节点,主端口为GigabitEthernet1/0/1,副端口为GigabitEthernet1/0/2,并使能该环。

[DeviceB-rrpp-domain1] ring 1 node-mode transit primary-port gigabitethernet 1/0/1 secondary-port gigabitethernet 1/0/2 level 0

[DeviceB-rrpp-domain1] ring 1 enable

# 配置本设备为子环2的边缘节点,边缘端口为GigabitEthernet1/0/3,并使能该环。

[DeviceB-rrpp-domain1] ring 2 node-mode edge edge-port gigabitethernet 1/0/3

[DeviceB-rrpp-domain1] ring 2 enable

[DeviceB-rrpp-domain1] quit

# 使能RRPP协议。

[DeviceB] rrpp enable

(3)        配置Device C

# 创建VLAN 1~30,将这些VLAN都映射到MSTP实例1上,并激活MST域的配置。

<DeviceC> system-view

[DeviceC] vlan 1 to 30

[DeviceC] stp region-configuration

[DeviceC-mst-region] instance 1 vlan 1 to 30

[DeviceC-mst-region] active region-configuration

[DeviceC-mst-region] quit

# 分别在端口GigabitEthernet1/0/1、GigabitEthernet1/0/2和GigabitEthernet1/0/3上关闭STP功能,并将端口配置为Trunk端口且允许VLAN 1~30通过。

[DeviceC] interface gigabitethernet 1/0/1

[DeviceC-GigabitEthernet1/0/1] undo stp enable

[DeviceC-GigabitEthernet1/0/1] port link-type trunk

[DeviceC-GigabitEthernet1/0/1] port trunk permit vlan 1 to 30

[DeviceC-GigabitEthernet1/0/1] quit

[DeviceC] interface gigabitethernet 1/0/2

[DeviceC-GigabitEthernet1/0/2] undo stp enable

[DeviceC-GigabitEthernet1/0/2] port link-type trunk

[DeviceC-GigabitEthernet1/0/2] port trunk permit vlan 1 to 30

[DeviceC-GigabitEthernet1/0/2] quit

[DeviceC] interface gigabitethernet 1/0/3

[DeviceC-GigabitEthernet1/0/3] undo stp enable

[DeviceC-GigabitEthernet1/0/3] port link-type trunk

[DeviceC-GigabitEthernet1/0/3] port trunk permit vlan 1 to 30

[DeviceC-GigabitEthernet1/0/3] quit

# 创建RRPP1,将VLAN 4092配置为该域的控制VLAN,并将MSTP实例1所映射的VLAN配置为该域的保护VLAN

[DeviceC] rrpp domain 1

[DeviceC-rrpp-domain1] control-vlan 4092

[DeviceC-rrpp-domain1] protected-vlan reference-instance 1

# 配置本设备为主环1的传输节点,主端口为GigabitEthernet1/0/1,副端口为GigabitEthernet1/0/2,并使能该环。

[DeviceC-rrpp-domain1] ring 1 node-mode transit primary-port gigabitethernet 1/0/1 secondary-port gigabitethernet 1/0/2 level 0

[DeviceC-rrpp-domain1] ring 1 enable

# 配置本设备为子环2的辅助边缘节点,边缘端口为GigabitEthernet1/0/3,并使能该环。

[DeviceC-rrpp-domain1] ring 2 node-mode assistant-edge edge-port gigabitethernet 1/0/3

[DeviceC-rrpp-domain1] ring 2 enable

[DeviceC-rrpp-domain1] quit

# 使能RRPP协议。

[DeviceC] rrpp enable

(4)        配置Device D

# 创建VLAN 1~30,将这些VLAN都映射到MSTP实例1上,并激活MST域的配置。

<DeviceD> system-view

[DeviceD] vlan 1 to 30

[DeviceD] stp region-configuration

[DeviceD-mst-region] instance 1 vlan 1 to 30

[DeviceD-mst-region] active region-configuration

[DeviceD-mst-region] quit

# 分别在端口GigabitEthernet1/0/1和GigabitEthernet1/0/2上关闭STP功能,并将端口配置为Trunk端口且允许VLAN 1~30通过。

[DeviceD] interface gigabitethernet 1/0/1

[DeviceD-GigabitEthernet1/0/1] undo stp enable

[DeviceD-GigabitEthernet1/0/1] port link-type trunk

[DeviceD-GigabitEthernet1/0/1] port trunk permit vlan 1 to 30

[DeviceD-GigabitEthernet1/0/1] quit

[DeviceD] interface gigabitethernet 1/0/2

[DeviceD-GigabitEthernet1/0/2] undo stp enable

[DeviceD-GigabitEthernet1/0/2] port link-type trunk

[DeviceD-GigabitEthernet1/0/2] port trunk permit vlan 1 to 30

[DeviceD-GigabitEthernet1/0/2] quit

# 创建RRPP域1,将VLAN 4092配置为该域的控制VLAN,并将MSTP实例1所映射的VLAN配置为该域的保护VLAN。

[DeviceD] rrpp domain 1

[DeviceD-rrpp-domain1] control-vlan 4092

[DeviceD-rrpp-domain1] protected-vlan reference-instance 1

# 配置本设备为主环1的传输节点,主端口为GigabitEthernet1/0/1,副端口为GigabitEthernet1/0/2,并使能该环。

[DeviceD-rrpp-domain1] ring 1 node-mode transit primary-port gigabitethernet 1/0/1 secondary-port gigabitethernet 1/0/2 level 0

[DeviceD-rrpp-domain1] ring 1 enable

[DeviceD-rrpp-domain1] quit

# 使能RRPP协议。

[DeviceD] rrpp enable

(5)        配置Device E

# 创建VLAN 1~30,将这些VLAN都映射到MSTP实例1上,并激活MST域的配置。

<DeviceE> system-view

[DeviceE] vlan 1 to 30

[DeviceE] stp region-configuration

[DeviceE-mst-region] instance 1 vlan 1 to 30

[DeviceE-mst-region] active region-configuration

[DeviceE-mst-region] quit

# 分别在端口GigabitEthernet1/0/1和GigabitEthernet1/0/2上关闭STP功能,并将端口配置为Trunk端口且允许VLAN 1~30通过。

[DeviceE] interface gigabitethernet 1/0/1

[DeviceE-GigabitEthernet1/0/1] undo stp enable

[DeviceE-GigabitEthernet1/0/1] port link-type trunk

[DeviceE-GigabitEthernet1/0/1] port trunk permit vlan 1 to 30

[DeviceE-GigabitEthernet1/0/1] quit

[DeviceE] interface gigabitethernet 1/0/2

[DeviceE-GigabitEthernet1/0/2] undo stp enable

[DeviceE-GigabitEthernet1/0/2] port link-type trunk

[DeviceE-GigabitEthernet1/0/2] port trunk permit vlan 1 to 30

[DeviceE-GigabitEthernet1/0/2] quit

# 创建RRPP域1,将VLAN 4092配置为该域的控制VLAN,并将MSTP实例1所映射的VLAN配置为该域的保护VLAN。

[DeviceE] rrpp domain 1

[DeviceE-rrpp-domain1] control-vlan 4092

[DeviceE-rrpp-domain1] protected-vlan reference-instance 1

# 配置本设备为子环2的主节点,主端口为GigabitEthernet1/0/1,副端口为GigabitEthernet1/0/2,并使能该环。

[DeviceE-rrpp-domain1] ring 2 node-mode master primary-port gigabitethernet 1/0/1 secondary-port gigabitethernet 1/0/2 level 1

[DeviceE-rrpp-domain1] ring 2 enable

[DeviceE-rrpp-domain1] quit

# 使能RRPP协议。

[DeviceE] rrpp enable

(6)        检验配置效果

配置完成后,用户可以使用display rrpp命令查看各设备上RRPP的配置和运行情况。

1.2.6  完整配置

l              Device A上的配置

#

vlan 1

#

vlan 2 to 30

#

stp region-configuration

 instance 1 vlan 1 to 30

 active region-configuration

#

interface GigabitEthernet1/0/1

 port link-type trunk

 port trunk permit vlan 1 to 30

 stp disable

#

interface GigabitEthernet1/0/2

 port link-type trunk

 port trunk permit vlan 1 to 30

 stp disable

#

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

#

l              Device B上的配置

#

vlan 1

#

vlan 2 to 30

#

stp region-configuration

 instance 1 vlan 1 to 30

 active region-configuration

#

interface GigabitEthernet1/0/1

 port link-type trunk

 port trunk permit vlan 1 to 30

 stp disable

#

interface GigabitEthernet1/0/2

 port link-type trunk

 port trunk permit vlan 1 to 30

 stp disable

#

interface GigabitEthernet1/0/3

 port link-type trunk

 port trunk permit vlan 1 to 30

 stp disable

#

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 2 node-mode edge edge-port GigabitEthernet1/0/3

 ring 1 enable

 ring 2 enable

#

rrpp enable

#

l              Device C上的配置

#

vlan 1

#

vlan 2 to 30

#

stp region-configuration

 instance 1 vlan 1 to 30

 active region-configuration

#

interface GigabitEthernet1/0/1

 port link-type trunk

 port trunk permit vlan 1 to 30

 stp disable

#

interface GigabitEthernet1/0/2

 port link-type trunk

 port trunk permit vlan 1 to 30

 stp disable

#

interface GigabitEthernet1/0/3

 port link-type trunk

 port trunk permit vlan 1 to 30

 stp disable

#

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 2 node-mode assistant-edge edge-port GigabitEthernet1/0/3

 ring 1 enable

 ring 2 enable

#

rrpp enable

#

l              Device D上的配置

#

vlan 1

#

vlan 2 to 30

#

stp region-configuration

 instance 1 vlan 1 to 30

 active region-configuration

#

interface GigabitEthernet1/0/1

 port link-type trunk

 port trunk permit vlan 1 to 30

 stp disable

#

interface GigabitEthernet1/0/2

 port link-type trunk

 port trunk permit vlan 1 to 30

 stp disable

#

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

#

l              Device E上的配置

#

vlan 1

#

vlan 2 to 30

#

stp region-configuration

 instance 1 vlan 1 to 30

 active region-configuration

#

interface GigabitEthernet1/0/1

 port link-type trunk

 port trunk permit vlan 1 to 30

 stp disable

#

interface GigabitEthernet1/0/2

 port link-type trunk

 port trunk permit vlan 1 to 30

 stp disable

#

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

#

1.2.7  配置注意事项

l              配置RRPP域时,最好先配置主环,再配置子环,并且在同一个RRPP域中,不同的RRPP环不能使用相同的Ring ID。

l              如果一台设备处于同一RRPP域的多个RRPP环上,则只能有一个主环,且该设备在其它子环上的节点角色只能是边缘节点或辅助边缘节点。

l              一台设备在所有RRPP域中配置的环的总数不能大于16。

l              为避免子环的Hello报文在主环上形成环路,在子环的主节点上使能子环之前,请先在主环的主节点上使能主环。在边缘节点和辅助边缘节点上,需对主环和子环分别进行操作:使能子环前必须先使能主环;关闭主环前必须先关闭其所在RRPP域内的所有子环。

l              使用ring命令对边缘节点或辅助边缘节点进行配置的时候,不需要配置level参数。

l              配置边缘节点和辅助边缘节点时,必须先进行主环配置,然后再进行子环配置。并且,在删除边缘节点的主环配置前,必须先删除所有的子环配置。但是,处于使能状态的RRPP环不能被删除。

l              配置时,应确保Fail定时器的值不小于Hello定时器取值的3倍。

l              其它注意事项请参见1.1.7  配置注意事项

1.3  RRPP双边双归属环拓扑典型配置指导

1.3.1  组网图

图1-3 RRPP双边双归属环拓扑组网示意图

 

1.3.2  应用要求

多台接入层设备以环网形式接入汇聚层,汇聚层也采用环网结构。要求网络具有高可靠性和较强的收敛性能。

1.3.3  配置思路

l              Device A~Device H构成RRPP域1,该域的控制VLAN为VLAN 4092,保护VLAN为VLAN 1~30。

l              Device A~Device D构成主环Ring 1;Device A、Device B和Device E构成子环Ring 2;Device A、Device B和Device F构成子环Ring 3;Device C、Device D和Device G构成子环Ring 4;Device C、Device D和Device H构成子环Ring 5。

l              Device A、Device E、Device F、Device G和Device H分别是Ring 1~Ring 5的主节点,其各自的GigabitEthernet1/0/1和GigabitEthernet1/0/2分别为主、副端口。

l              Device A同时也是其所在子环的边缘节点,GigabitEthernet1/0/3和GigabitEthernet1/0/4为边缘端口;Device D是主环的传输节点及其所在子环的边缘节点,GigabitEthernet1/0/3和GigabitEthernet1/0/4为边缘端口;Device B和Device C都是主环的传输节点及其所在子环的辅助边缘节点,其各自的GigabitEthernet1/0/3和GigabitEthernet1/0/4都为边缘端口。

请对主节点的主、副端口进行合理规划,以免由于副端口阻塞数据VLAN而影响其它协议的正常应用。

 

1.3.4  适用产品、版本

表1-3 配置适用的产品与软件版本关系

产品

软件版本

S7500E系列以太网交换机

Release 6300系列,Release 6600系列,Release 6610系列

S7600系列以太网交换机

Release 6600系列,Release 6610系列

S5800&S5820X系列以太网交换机

Release 1110,Release 1211

CE3000-32F以太网交换机

Release 1211

S5500-EI系列以太网交换机

Release 2202,Release 2208

S5500-EI-D系列以太网交换机

Release 2208

S5500-SI系列以太网交换机

Release 2202,Release 2208

S5120-EI系列以太网交换机

Release 2202,Release 2208

S3610&S5510系列以太网交换机

Release 5306,Release 5309

S3500-EA系列以太网交换机

Release 5309

 

1.3.5  配置过程和解释

l    对于S5800、S5820X、CE3000、S5500-EI、S5500-EI-D、S5500-SI及S5120-EI系列以太网交换机,必须配置所有接入RRPP环的端口信认报文的802.1p优先级,以确保端口对RRPP协议报文的处理优先于数据报文。配置方法为在以太网端口视图下执行qos trust dot1p命令。

l    建议在RRPP端口上不要配置端口的物理连接状态up/down抑制时间,以提高RRPP的拓扑变化收敛速度。您可以在以太网端口视图下执行undo link-delay命令取消物理连接状态up/down抑制时间配置。

 

(1)        配置Device A

# 创建VLAN 1~30,将这些VLAN都映射到MSTI 1上,并激活MST域的配置。

<DeviceA> system-view

[DeviceA] vlan 1 to 30

[DeviceA] stp region-configuration

[DeviceA-mst-region] instance 1 vlan 1 to 30

[DeviceA-mst-region] active region-configuration

[DeviceA-mst-region] quit

# 分别在端口GigabitEthernet1/0/1~GigabitEthernet1/0/4上取消物理连接状态up/down抑制时间配置(可选,缺省关闭),关闭生成树协议,并将端口配置为Trunk端口且允许VLAN 1~30通过。

[DeviceA] interface gigabitethernet 1/0/1

[DeviceA-GigabitEthernet1/0/1] undo link-delay

[DeviceA-GigabitEthernet1/0/1] undo stp enable

[DeviceA-GigabitEthernet1/0/1] port link-type trunk

[DeviceA-GigabitEthernet1/0/1] port trunk permit vlan 1 to 30

[DeviceA-GigabitEthernet1/0/1] quit

[DeviceA] interface gigabitethernet 1/0/2

[DeviceA-GigabitEthernet1/0/2] undo link-delay

[DeviceA-GigabitEthernet1/0/2] undo stp enable

[DeviceA-GigabitEthernet1/0/2] port link-type trunk

[DeviceA-GigabitEthernet1/0/2] port trunk permit vlan 1 to 30

[DeviceA-GigabitEthernet1/0/2] quit

[DeviceA] interface gigabitethernet 1/0/3

[DeviceA-GigabitEthernet1/0/3] undo link-delay

[DeviceA-GigabitEthernet1/0/3] undo stp enable

[DeviceA-GigabitEthernet1/0/3] port link-type trunk

[DeviceA-GigabitEthernet1/0/3] port trunk permit vlan 1 to 30

[DeviceA-GigabitEthernet1/0/3] quit

[DeviceA] interface gigabitethernet 1/0/4

[DeviceA-GigabitEthernet1/0/4] undo link-delay

[DeviceA-GigabitEthernet1/0/4] undo stp enable

[DeviceA-GigabitEthernet1/0/4] port link-type trunk

[DeviceA-GigabitEthernet1/0/4] port trunk permit vlan 1 to 30

[DeviceA-GigabitEthernet1/0/4] quit

# 创建RRPP域1,将VLAN 4092配置为该域的控制VLAN,并将MSTI 1所映射的VLAN配置为该域的保护VLAN。

[DeviceA] rrpp domain 1

[DeviceA-rrpp-domain1] control-vlan 4092

[DeviceA-rrpp-domain1] protected-vlan reference-instance 1

# 配置本设备为主环Ring 1的主节点,主端口为GigabitEthernet1/0/1,副端口为GigabitEthernet1/0/2,并使能该环。

[DeviceA-rrpp-domain1] ring 1 node-mode master primary-port gigabitethernet 1/0/1 secondary-port gigabitethernet 1/0/2 level 0

[DeviceA-rrpp-domain1] ring 1 enable

# 配置本设备为子环Ring 2的边缘节点,边缘端口为GigabitEthernet1/0/4,并使能该环。

[DeviceA-rrpp-domain1] ring 2 node-mode edge edge-port gigabitethernet 1/0/4

[DeviceA-rrpp-domain1] ring 2 enable

# 配置本设备为子环Ring 3的边缘节点,边缘端口为GigabitEthernet1/0/3,并使能该环。

[DeviceA-rrpp-domain1] ring 3 node-mode edge edge-port gigabitethernet 1/0/3

[DeviceA-rrpp-domain1] ring 3 enable

[DeviceA-rrpp-domain1] quit

# 使能RRPP协议。

[DeviceA] rrpp enable

(2)        配置Device B

# 创建VLAN 1~30,将这些VLAN都映射到MSTI 1上,并激活MST域的配置。

<DeviceB> system-view

[DeviceB] vlan 1 to 30

[DeviceB] stp region-configuration

[DeviceB-mst-region] instance 1 vlan 1 to 30

[DeviceB-mst-region] active region-configuration

[DeviceB-mst-region] quit

# 分别在端口GigabitEthernet1/0/1~GigabitEthernet1/0/4上取消物理连接状态up/down抑制时间配置(可选,缺省关闭),关闭生成树协议,并将端口配置为Trunk端口且允许VLAN 1~30通过。

[DeviceB] interface gigabitethernet 1/0/1

[DeviceB-GigabitEthernet1/0/1] undo link-delay

[DeviceB-GigabitEthernet1/0/1] undo stp enable

[DeviceB-GigabitEthernet1/0/1] port link-type trunk

[DeviceB-GigabitEthernet1/0/1] port trunk permit vlan 1 to 30

[DeviceB-GigabitEthernet1/0/1] quit

[DeviceB] interface gigabitethernet 1/0/2

[DeviceB-GigabitEthernet1/0/2] undo link-delay

[DeviceB-GigabitEthernet1/0/2] undo stp enable

[DeviceB-GigabitEthernet1/0/2] port link-type trunk

[DeviceB-GigabitEthernet1/0/2] port trunk permit vlan 1 to 30

[DeviceB-GigabitEthernet1/0/2] quit

[DeviceB] interface gigabitethernet 1/0/3

[DeviceB-GigabitEthernet1/0/3] undo link-delay

[DeviceB-GigabitEthernet1/0/3] undo stp enable

[DeviceB-GigabitEthernet1/0/3] port link-type trunk

[DeviceB-GigabitEthernet1/0/3] port trunk permit vlan 1 to 30

[DeviceB-GigabitEthernet1/0/3] quit

[DeviceB] interface gigabitethernet 1/0/4

[DeviceB-GigabitEthernet1/0/4] undo link-delay

[DeviceB-GigabitEthernet1/0/4] undo stp enable

[DeviceB-GigabitEthernet1/0/4] port link-type trunk

[DeviceB-GigabitEthernet1/0/4] port trunk permit vlan 1 to 30

[DeviceB-GigabitEthernet1/0/4] quit

# 创建RRPP域1,将VLAN 4092配置为该域的控制VLAN,并将MSTI 1所映射的VLAN配置为该域的保护VLAN。

[DeviceB] rrpp domain 1

[DeviceB-rrpp-domain1] control-vlan 4092

[DeviceB-rrpp-domain1] protected-vlan reference-instance 1

# 配置本设备为主环Ring 1的传输节点,主端口为GigabitEthernet1/0/1,副端口为GigabitEthernet1/0/2,并使能该环。

[DeviceB-rrpp-domain1] ring 1 node-mode transit primary-port gigabitethernet 1/0/1 secondary-port gigabitethernet 1/0/2 level 0

[DeviceB-rrpp-domain1] ring 1 enable

# 配置本设备为子环Ring 2的辅助边缘节点,边缘端口为GigabitEthernet1/0/4,并使能该环。

[DeviceB-rrpp-domain1] ring 2 node-mode assistant-edge edge-port gigabitethernet 1/0/4

[DeviceB-rrpp-domain1] ring 2 enable

# 配置本设备为子环Ring 3的辅助边缘节点,边缘端口为GigabitEthernet1/0/3,并使能该环。

[DeviceB-rrpp-domain1] ring 3 node-mode assistant-edge edge-port gigabitethernet 1/0/3

[DeviceB-rrpp-domain1] ring 3 enable

[DeviceB-rrpp-domain1] quit

# 使能RRPP协议。

[DeviceB] rrpp enable

(3)        配置Device C

# 创建VLAN 1~30,将这些VLAN都映射到MSTI 1上,并激活MST域的配置。

<DeviceC> system-view

[DeviceC] vlan 1 to 30

[DeviceC] stp region-configuration

[DeviceC-mst-region] instance 1 vlan 1 to 30

[DeviceC-mst-region] active region-configuration

[DeviceC-mst-region] quit

# 分别在端口GigabitEthernet1/0/1~GigabitEthernet1/0/4上取消物理连接状态up/down抑制时间配置(可选,缺省关闭),关闭生成树协议,并将端口配置为Trunk端口且允许VLAN 1~30通过。

[DeviceC] interface gigabitethernet 1/0/1

[DeviceC-GigabitEthernet1/0/1] undo link-delay

[DeviceC-GigabitEthernet1/0/1] undo stp enable

[DeviceC-GigabitEthernet1/0/1] port link-type trunk

[DeviceC-GigabitEthernet1/0/1] port trunk permit vlan 1 to 30

[DeviceC-GigabitEthernet1/0/1] quit

[DeviceC] interface gigabitethernet 1/0/2

[DeviceC-GigabitEthernet1/0/2] undo link-delay

[DeviceC-GigabitEthernet1/0/2] undo stp enable

[DeviceC-GigabitEthernet1/0/2] port link-type trunk

[DeviceC-GigabitEthernet1/0/2] port trunk permit vlan 1 to 30

[DeviceC-GigabitEthernet1/0/2] quit

[DeviceC] interface gigabitethernet 1/0/3

[DeviceC-GigabitEthernet1/0/3] undo link-delay

[DeviceC-GigabitEthernet1/0/3] undo stp enable

[DeviceC-GigabitEthernet1/0/3] port link-type trunk

[DeviceC-GigabitEthernet1/0/3] port trunk permit vlan 1 to 30

[DeviceC-GigabitEthernet1/0/3] quit

[DeviceC] interface gigabitethernet 1/0/4

[DeviceC-GigabitEthernet1/0/4] undo link-delay

[DeviceC-GigabitEthernet1/0/4] undo stp enable

[DeviceC-GigabitEthernet1/0/4] port link-type trunk

[DeviceC-GigabitEthernet1/0/4] port trunk permit vlan 1 to 30

[DeviceC-GigabitEthernet1/0/4] quit

# 创建RRPP域1,将VLAN 4092配置为该域的控制VLAN,并将MSTI 1所映射的VLAN配置为该域的保护VLAN。

[DeviceC] rrpp domain 1

[DeviceC-rrpp-domain1] control-vlan 4092

[DeviceC-rrpp-domain1] protected-vlan reference-instance 1

# 配置本设备为主环Ring 1的传输节点,主端口为GigabitEthernet1/0/1,副端口为GigabitEthernet1/0/2,并使能该环。

[DeviceC-rrpp-domain1] ring 1 node-mode transit primary-port gigabitethernet 1/0/1 secondary-port gigabitethernet 1/0/2 level 0

[DeviceC-rrpp-domain1] ring 1 enable

# 配置本设备为子环Ring 4的辅助边缘节点,边缘端口为GigabitEthernet1/0/3,并使能该环。

[DeviceC-rrpp-domain1] ring 4 node-mode assistant-edge edge-port gigabitethernet 1/0/3

[DeviceC-rrpp-domain1] ring 4 enable

# 配置本设备为子环Ring 5的辅助边缘节点,边缘端口为GigabitEthernet1/0/4,并使能该环。

[DeviceC-rrpp-domain1] ring 5 node-mode assistant-edge edge-port gigabitethernet 1/0/4

[DeviceC-rrpp-domain1] ring 5 enable

[DeviceC-rrpp-domain1] quit

# 使能RRPP协议。

[DeviceC] rrpp enable

(4)        配置Device D

# 创建VLAN 1~30,将这些VLAN都映射到MSTI 1上,并激活MST域的配置。

<DeviceD> system-view

[DeviceD] vlan 1 to 30

[DeviceD] stp region-configuration

[DeviceD-mst-region] instance 1 vlan 1 to 30

[DeviceD-mst-region] active region-configuration

[DeviceD-mst-region] quit

# 分别在端口GigabitEthernet1/0/1~GigabitEthernet1/0/4上取消物理连接状态up/down抑制时间配置(可选,缺省关闭),关闭生成树协议,并将端口配置为Trunk端口且允许VLAN 1~30通过。

[DeviceD] interface gigabitethernet 1/0/1

[DeviceD-GigabitEthernet1/0/1] undo link-delay

[DeviceD-GigabitEthernet1/0/1] undo stp enable

[DeviceD-GigabitEthernet1/0/1] port link-type trunk

[DeviceD-GigabitEthernet1/0/1] port trunk permit vlan 1 to 30

[DeviceD-GigabitEthernet1/0/1] quit

[DeviceD] interface gigabitethernet 1/0/2

[DeviceD-GigabitEthernet1/0/2] undo link-delay

[DeviceD-GigabitEthernet1/0/2] undo stp enable

[DeviceD-GigabitEthernet1/0/2] port link-type trunk

[DeviceD-GigabitEthernet1/0/2] port trunk permit vlan 1 to 30

[DeviceD-GigabitEthernet1/0/2] quit

[DeviceD] interface gigabitethernet 1/0/3

[DeviceD-GigabitEthernet1/0/3] undo link-delay

[DeviceD-GigabitEthernet1/0/3] undo stp enable

[DeviceD-GigabitEthernet1/0/3] port link-type trunk

[DeviceD-GigabitEthernet1/0/3] port trunk permit vlan 1 to 30

[DeviceD-GigabitEthernet1/0/3] quit

[DeviceD] interface gigabitethernet 1/0/4

[DeviceD-GigabitEthernet1/0/4] undo link-delay

[DeviceD-GigabitEthernet1/0/4] undo stp enable

[DeviceD-GigabitEthernet1/0/4] port link-type trunk

[DeviceD-GigabitEthernet1/0/4] port trunk permit vlan 1 to 30

[DeviceD-GigabitEthernet1/0/4] quit

# 创建RRPP域1,将VLAN 4092配置为该域的控制VLAN,并将MSTI 1所映射的VLAN配置为该域的保护VLAN。

[DeviceD] rrpp domain 1

[DeviceD-rrpp-domain1] control-vlan 4092

[DeviceD-rrpp-domain1] protected-vlan reference-instance 1

# 配置本设备为主环Ring 1的传输节点,主端口为GigabitEthernet1/0/1,副端口为GigabitEthernet1/0/2,并使能该环。

[DeviceD-rrpp-domain1] ring 1 node-mode transit primary-port gigabitethernet 1/0/1 secondary-port gigabitethernet 1/0/2 level 0

[DeviceD-rrpp-domain1] ring 1 enable

# 配置本设备为子环Ring 4的边缘节点,边缘端口为GigabitEthernet1/0/3,并使能该环。

[DeviceD-rrpp-domain1] ring 4 node-mode edge edge-port gigabitethernet 1/0/3

[DeviceD-rrpp-domain1] ring 4 enable

# 配置本设备为子环Ring 5的边缘节点,边缘端口为GigabitEthernet1/0/4,并使能该环。

[DeviceD-rrpp-domain1] ring 5 node-mode edge edge-port gigabitethernet 1/0/4

[DeviceD-rrpp-domain1] ring 5 enable

[DeviceD-rrpp-domain1] quit

# 使能RRPP协议。

[DeviceD] rrpp enable

(5)        配置Device E

# 创建VLAN 1~30,将这些VLAN都映射到MSTI 1上,并激活MST域的配置。

<DeviceE> system-view

[DeviceE] vlan 1 to 30

[DeviceE] stp region-configuration

[DeviceE-mst-region] instance 1 vlan 1 to 30

[DeviceE-mst-region] active region-configuration

[DeviceE-mst-region] quit

# 分别在端口GigabitEthernet1/0/1和GigabitEthernet1/0/2上取消物理连接状态up/down抑制时间配置(可选,缺省关闭),关闭生成树协议,并将端口配置为Trunk端口且允许VLAN 1~30通过。

[DeviceE] interface gigabitethernet 1/0/1

[DeviceE-GigabitEthernet1/0/1] undo link-delay

[DeviceE-GigabitEthernet1/0/1] undo stp enable

[DeviceE-GigabitEthernet1/0/1] port link-type trunk

[DeviceE-GigabitEthernet1/0/1] port trunk permit vlan 1 to 30

[DeviceE-GigabitEthernet1/0/1] quit

[DeviceE] interface gigabitethernet 1/0/2

[DeviceE-GigabitEthernet1/0/2] undo link-delay

[DeviceE-GigabitEthernet1/0/2] undo stp enable

[DeviceE-GigabitEthernet1/0/2] port link-type trunk

[DeviceE-GigabitEthernet1/0/2] port trunk permit vlan 1 to 30

[DeviceE-GigabitEthernet1/0/2] quit

# 创建RRPP域1,将VLAN 4092配置为该域的控制VLAN,并将MSTI 1所映射的VLAN配置为该域的保护VLAN。

[DeviceE] rrpp domain 1

[DeviceE-rrpp-domain1] control-vlan 4092

[DeviceE-rrpp-domain1] protected-vlan reference-instance 1

# 配置本设备为子环Ring 2的主节点,主端口为GigabitEthernet1/0/1,副端口为GigabitEthernet1/0/2,并使能该环。

[DeviceE-rrpp-domain1] ring 2 node-mode master primary-port gigabitethernet 1/0/1 secondary-port gigabitethernet 1/0/2 level 1

[DeviceE-rrpp-domain1] ring 2 enable

[DeviceE-rrpp-domain1] quit

# 使能RRPP协议。

[DeviceE] rrpp enable

(6)        配置Device F

# 创建VLAN 1~30,将这些VLAN都映射到MSTI 1上,并激活MST域的配置。

<DeviceF> system-view

[DeviceF] vlan 1 to 30

[DeviceF] stp region-configuration

[DeviceF-mst-region] instance 1 vlan 1 to 30

[DeviceF-mst-region] active region-configuration

[DeviceF-mst-region] quit

# 分别在端口GigabitEthernet1/0/1和GigabitEthernet1/0/2上取消物理连接状态up/down抑制时间配置(可选,缺省关闭),关闭生成树协议,并将端口配置为Trunk端口且允许VLAN 1~30通过。

[DeviceF] interface gigabitethernet 1/0/1

[DeviceF-GigabitEthernet1/0/1] undo link-delay

[DeviceF-GigabitEthernet1/0/1] undo stp enable

[DeviceF-GigabitEthernet1/0/1] port link-type trunk

[DeviceF-GigabitEthernet1/0/1] port trunk permit vlan 1 to 30

[DeviceF-GigabitEthernet1/0/1] quit

[DeviceF] interface gigabitethernet 1/0/2

[DeviceF-GigabitEthernet1/0/2] undo link-delay

[DeviceF-GigabitEthernet1/0/2] undo stp enable

[DeviceF-GigabitEthernet1/0/2] port link-type trunk

[DeviceF-GigabitEthernet1/0/2] port trunk permit vlan 1 to 30

[DeviceF-GigabitEthernet1/0/2] quit

# 创建RRPP域1,将VLAN 4092配置为该域的控制VLAN,并将MSTI 1所映射的VLAN配置为该域的保护VLAN。

[DeviceF] rrpp domain 1

[DeviceF-rrpp-domain1] control-vlan 4092

[DeviceF-rrpp-domain1] protected-vlan reference-instance 1

# 配置本设备为子环Ring 3的主节点,主端口为GigabitEthernet1/0/1,副端口为GigabitEthernet1/0/2,并使能该环。

[DeviceF-rrpp-domain1] ring 3 node-mode master primary-port gigabitethernet 1/0/1 secondary-port gigabitethernet 1/0/2 level 1

[DeviceF-rrpp-domain1] ring 3 enable

[DeviceF-rrpp-domain1] quit

# 使能RRPP协议。

[DeviceF] rrpp enable

(7)        配置Device G

# 创建VLAN 1~30,将这些VLAN都映射到MSTI 1上,并激活MST域的配置。

<DeviceG> system-view

[DeviceG] vlan 1 to 30

[DeviceG] stp region-configuration

[DeviceG-mst-region] instance 1 vlan 1 to 30

[DeviceG-mst-region] active region-configuration

[DeviceG-mst-region] quit

# 分别在端口GigabitEthernet1/0/1和GigabitEthernet1/0/2上取消物理连接状态up/down抑制时间配置(可选,缺省关闭),关闭生成树协议,并将端口配置为Trunk端口且允许VLAN 1~30通过。

[DeviceG] interface gigabitethernet 1/0/1

[DeviceG-GigabitEthernet1/0/1] undo link-delay

[DeviceG-GigabitEthernet1/0/1] undo stp enable

[DeviceG-GigabitEthernet1/0/1] port link-type trunk

[DeviceG-GigabitEthernet1/0/1] port trunk permit vlan 1 to 30

[DeviceG-GigabitEthernet1/0/1] quit

[DeviceG] interface gigabitethernet 1/0/2

[DeviceG-GigabitEthernet1/0/2] undo link-delay

[DeviceG-GigabitEthernet1/0/2] undo stp enable

[DeviceG-GigabitEthernet1/0/2] port link-type trunk

[DeviceG-GigabitEthernet1/0/2] port trunk permit vlan 1 to 30

[DeviceG-GigabitEthernet1/0/2] quit

# 创建RRPP域1,将VLAN 4092配置为该域的控制VLAN,并将MSTI 1所映射的VLAN配置为该域的保护VLAN。

[DeviceG] rrpp domain 1

[DeviceG-rrpp-domain1] control-vlan 4092

[DeviceG-rrpp-domain1] protected-vlan reference-instance 1

# 配置本设备为子环Ring 4的主节点,主端口为GigabitEthernet1/0/1,副端口为GigabitEthernet1/0/2,并使能该环。

[DeviceG-rrpp-domain1] ring 4 node-mode master primary-port gigabitethernet 1/0/1 secondary-port gigabitethernet 1/0/2 level 1

[DeviceG-rrpp-domain1] ring 4 enable

[DeviceG-rrpp-domain1] quit

# 使能RRPP协议。

[DeviceG] rrpp enable

(8)        配置Device H

# 创建VLAN 1~30,将这些VLAN都映射到MSTI 1上,并激活MST域的配置。

<DeviceH> system-view

[DeviceH] vlan 1 to 30

[DeviceH] stp region-configuration

[DeviceH-mst-region] instance 1 vlan 1 to 30

[DeviceH-mst-region] active region-configuration

[DeviceH-mst-region] quit

# 分别在端口GigabitEthernet1/0/1和GigabitEthernet1/0/2上取消物理连接状态up/down抑制时间配置(可选,缺省关闭),关闭生成树协议,并将端口配置为Trunk端口且允许VLAN 1~30通过。

[DeviceH] interface gigabitethernet 1/0/1

[DeviceH-GigabitEthernet1/0/1] undo link-delay

[DeviceH-GigabitEthernet1/0/1] undo stp enable

[DeviceH-GigabitEthernet1/0/1] port link-type trunk

[DeviceH-GigabitEthernet1/0/1] port trunk permit vlan 1 to 30

[DeviceH-GigabitEthernet1/0/1] quit

[DeviceH] interface gigabitethernet 1/0/2

[DeviceH-GigabitEthernet1/0/2] undo link-delay

[DeviceH-GigabitEthernet1/0/2] undo stp enable

[DeviceH-GigabitEthernet1/0/2] port link-type trunk

[DeviceH-GigabitEthernet1/0/2] port trunk permit vlan 1 to 30

[DeviceH-GigabitEthernet1/0/2] quit

# 创建RRPP域1,将VLAN 4092配置为该域的控制VLAN,并将MSTI 1所映射的VLAN配置为该域的保护VLAN。

[DeviceH] rrpp domain 1

[DeviceH-rrpp-domain1] control-vlan 4092

[DeviceH-rrpp-domain1] protected-vlan reference-instance 1

# 配置本设备为子环Ring 5的主节点,主端口为GigabitEthernet1/0/1,副端口为GigabitEthernet1/0/2,并使能该环。

[DeviceH-rrpp-domain1] ring 5 node-mode master primary-port gigabitethernet 1/0/1 secondary-port gigabitethernet 1/0/2 level 1

[DeviceH-rrpp-domain1] ring 5 enable

[DeviceH-rrpp-domain1] quit

# 使能RRPP协议。

[DeviceH] rrpp enable

(9)        检验配置效果

配置完成后,用户可以使用display rrpp命令查看各设备上RRPP的配置和运行情况。

1.3.6  完整配置

l              Device A上的配置

#

vlan 1

#

vlan 2 to 30

#

stp region-configuration

 instance 1 vlan 1 to 30

 active region-configuration

#

interface GigabitEthernet1/0/1

 port link-type trunk

 port trunk permit vlan 1 to 30

 stp disable

#

interface GigabitEthernet1/0/2

 port link-type trunk

 port trunk permit vlan 1 to 30

 stp disable

#

interface GigabitEthernet1/0/3

 port link-type trunk

 port trunk permit vlan 1 to 30

 stp disable

#

interface GigabitEthernet1/0/4

 port link-type trunk

 port trunk permit vlan 1 to 30

 stp disable

#

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 2 node-mode edge edge-port GigabitEthernet1/0/4

 ring 3 node-mode edge edge-port GigabitEthernet1/0/3

 ring 1 enable

 ring 2 enable

 ring 3 enable

#

rrpp enable

#

l              Device B上的配置

#

vlan 1

#

vlan 2 to 30

#

stp region-configuration

 instance 1 vlan 1 to 30

 active region-configuration

#

interface GigabitEthernet1/0/1

 port link-type trunk

 port trunk permit vlan 1 to 30

 stp disable

#

interface GigabitEthernet1/0/2

 port link-type trunk

 port trunk permit vlan 1 to 30

 stp disable

#

interface GigabitEthernet1/0/3

 port link-type trunk

 port trunk permit vlan 1 to 30

 stp disable

#

interface GigabitEthernet1/0/4

 port link-type trunk

 port trunk permit vlan 1 to 30

 stp disable

#

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 2 node-mode assistant-edge edge-port GigabitEthernet1/0/4

 ring 3 node-mode assistant-edge edge-port GigabitEthernet1/0/3

 ring 1 enable

 ring 2 enable

 ring 3 enable

#

rrpp enable

#

l              Device C上的配置

#

vlan 1

#

vlan 2 to 30

#

stp region-configuration

 instance 1 vlan 1 to 30

 active region-configuration

#

interface GigabitEthernet1/0/1

 port link-type trunk

 port trunk permit vlan 1 to 30

 stp disable

#

interface GigabitEthernet1/0/2

 port link-type trunk

 port trunk permit vlan 1 to 30

 stp disable

#

interface GigabitEthernet1/0/3

 port link-type trunk

 port trunk permit vlan 1 to 30

 stp disable

#

interface GigabitEthernet1/0/4

 port link-type trunk

 port trunk permit vlan 1 to 30

 stp disable

#

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 4 node-mode assistant-edge edge-port GigabitEthernet1/0/3

 ring 5 node-mode assistant-edge edge-port GigabitEthernet1/0/4

 ring 1 enable

 ring 4 enable

 ring 5 enable

#

rrpp enable

#

l              Device D上的配置

#

vlan 1

#

vlan 2 to 30

#

stp region-configuration

 instance 1 vlan 1 to 30

 active region-configuration

#

interface GigabitEthernet1/0/1

 port link-type trunk

 port trunk permit vlan 1 to 30

 stp disable

#

interface GigabitEthernet1/0/2

 port link-type trunk

 port trunk permit vlan 1 to 30

 stp disable

#

interface GigabitEthernet1/0/3

 port link-type trunk

 port trunk permit vlan 1 to 30

 stp disable

#

interface GigabitEthernet1/0/4

 port link-type trunk

 port trunk permit vlan 1 to 30

 stp disable

#

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 4 node-mode edge edge-port GigabitEthernet1/0/3

 ring 5 node-mode edge edge-port GigabitEthernet1/0/4

 ring 1 enable

 ring 4 enable

 ring 5 enable

#

rrpp enable

#

l              Device E上的配置

#

vlan 1

#

vlan 2 to 30

#

stp region-configuration

 instance 1 vlan 1 to 30

 active region-configuration

#

interface GigabitEthernet1/0/1

 port link-type trunk

 port trunk permit vlan 1 to 30

 stp disable

#

interface GigabitEthernet1/0/2

 port link-type trunk

 port trunk permit vlan 1 to 30

 stp disable

#

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

#

l              Device F上的配置

#

vlan 1

#

vlan 2 to 30

#

stp region-configuration

 instance 1 vlan 1 to 30

 active region-configuration

#

interface GigabitEthernet1/0/1

 port link-type trunk

 port trunk permit vlan 1 to 30

 stp disable

#

interface GigabitEthernet1/0/2

 port link-type trunk

 port trunk permit vlan 1 to 30

 stp disable

#

rrpp domain 1

 control-vlan 4092

 protected-vlan reference-instance 1

 ring 3 node-mode master primary-port GigabitEthernet1/0/1 secondary-port GigabitEthernet1/0/2 level 1

 ring 3 enable

#

rrpp enable

#

l              Device G上的配置

#

vlan 1

#

vlan 2 to 30

#

stp region-configuration

 instance 1 vlan 1 to 30

 active region-configuration

#

interface GigabitEthernet1/0/1

 port link-type trunk

 port trunk permit vlan 1 to 30

 stp disable

#

interface GigabitEthernet1/0/2

 port link-type trunk

 port trunk permit vlan 1 to 30

 stp disable

#

rrpp domain 1

 control-vlan 4092

 protected-vlan reference-instance 1

 ring 4 node-mode master primary-port GigabitEthernet1/0/1 secondary-port GigabitEthernet1/0/2 level 1

 ring 4 enable

#

rrpp enable

#

l              Device H上的配置

#

vlan 1

#

vlan 2 to 30

#

stp region-configuration

 instance 1 vlan 1 to 30

 active region-configuration

#

interface GigabitEthernet1/0/1

 port link-type trunk

 port trunk permit vlan 1 to 30

 stp disable

#

interface GigabitEthernet1/0/2

 port link-type trunk

 port trunk permit vlan 1 to 30

 stp disable

#

rrpp domain 1

 control-vlan 4092

 protected-vlan reference-instance 1

 ring 5 node-mode master primary-port GigabitEthernet1/0/1 secondary-port GigabitEthernet1/0/2 level 1

 ring 5 enable

#

rrpp enable

#

1.3.7  配置注意事项

l              在双归属环组网中,为避免主环故障时出现临时环路,应确保子环主节点与主环主节点上的Fail定时器取值之差大于子环主节点上Hello定时器取值的2倍。

l              其它注意事项请参见1.2.7  配置注意事项

1.4  RRPP相交环负载分担拓扑典型配置指导

在同一个环网中,可能同时存在多个VLAN的数据流量,RRPP可以实现流量的负载分担,即不同VLAN的流量沿不同的路径进行转发。

通过在同一个环网上配置多个RRPP域,不同RRPP域发送不同VLAN(称之为保护VLAN)的流量,实现不同VLAN的数据流量在该环网中的拓扑不同,从而达到负载分担的目的。

1.4.1  组网图

图1-4 RRPP相交环负载分担拓扑组网示意图

 

1.4.2  应用要求

两个接入层网络以环网形式通过相同的两台设备接入汇聚层,汇聚层网络也采用环网结构。网络上承载的业务使用VLAN 11和VLAN 12。要求网络具有较强的收敛性能,同时不同VLAN的流量采用不同的转发路径,实现流量的负载分担。

1.4.3  配置思路

l              Device A、Device B、Device C、Device D和Device F构成RRPP域1,该域的控制VLAN为VLAN 100。在该域中,Device A为主环1的主节点,Device D为主环1的传输节点,Device F为子环3的主节点,Device C为子环3的边缘节点,Device B为子环3的辅助边缘节点。

l              Device A、Device B、Device C、Device D和Device E构成RRPP域2,该域的控制VLAN为VLAN 105。在该域中,Device A为主环1的主节点,Device D为主环1的传输节点,Device E为子环2的主节点,Device C为子环2的边缘节点,Device B为子环2的辅助边缘节点。

l              RRPP域1保护VLAN 11,RRPP域2保护VLAN 12。由此可以按照VLAN在主环上实现负载分担。

l              由于子环2和子环3的边缘节点和辅助边缘节点的配置一样,并且对应的主环链路也相同,因此可以将子环2和子环3加入环组,从而减少Edge-Hello报文的收发数量。

1.4.4  适用产品、版本

表1-4 配置适用的产品与软件版本关系

产品

软件版本

S7500E系列以太网交换机

Release 6300系列,Release 6600系列,Release 6610系列

S7600系列以太网交换机

Release 6600系列,Release 6610系列

S5800&S5820X系列以太网交换机

Release 1110,Release 1211

CE3000-32F以太网交换机

Release 1211

S5500-EI系列以太网交换机

Release 2202,Release 2208

S5500-EI-D系列以太网交换机

Release 2208

S5500-SI系列以太网交换机

Release 2202,Release 2208

S5120-EI系列以太网交换机

Release 2202,Release 2208

S3610&S5510系列以太网交换机

Release 5306,Release 5309

S3500-EA系列以太网交换机

Release 5309

 

1.4.5  配置过程和解释

l    对于S5800、S5820X、CE3000、S5500-EI、S5500-EI-D、S5500-SI及S5120-EI系列以太网交换机,必须配置所有接入RRPP环的端口信认报文的802.1p优先级,以确保端口对RRPP协议报文的处理优先于数据报文。配置方法为在以太网端口视图下执行qos trust dot1p命令。

l    建议在RRPP端口上不要配置端口的物理连接状态up/down抑制时间,以提高RRPP的拓扑变化收敛速度。您可以在以太网端口视图下执行undo link-delay命令取消物理连接状态up/down抑制时间配置。

 

(1)        配置Device A

# 创建VLAN 11和12,将VLAN 11和12分别映射到MSTI 1和2上,并激活MST域的配置。

<DeviceA> system-view

[DeviceA] vlan 11 to 12

[DeviceA] stp region-configuration

[DeviceA-mst-region] instance 1 vlan 11

[DeviceA-mst-region] instance 2 vlan 12

[DeviceA-mst-region] active region-configuration

[DeviceA-mst-region] quit

# 分别在端口GigabitEthernet1/0/1GigabitEthernet1/0/2上取消物理连接状态up/down抑制时间配置(可选,缺省关闭),关闭生成树协议,将端口配置为Trunk端口,禁止VLAN 1通过、允许VLAN 1112通过,并配置其缺省VLANVLAN 11

[DeviceA] interface gigabitethernet 1/0/1

[DeviceA-GigabitEthernet1/0/1] undo link-delay

[DeviceA-GigabitEthernet1/0/1] undo stp enable

[DeviceA-GigabitEthernet1/0/1] port link-type trunk

[DeviceA-GigabitEthernet1/0/1] undo port trunk permit vlan 1

[DeviceA-GigabitEthernet1/0/1] port trunk permit vlan 11 12

[DeviceA-GigabitEthernet1/0/1] port trunk pvid vlan 11

[DeviceA-GigabitEthernet1/0/1] quit

[DeviceA] interface gigabitethernet 1/0/2

[DeviceA-GigabitEthernet1/0/2] undo link-delay

[DeviceA-GigabitEthernet1/0/2] undo stp enable

[DeviceA-GigabitEthernet1/0/2] port link-type trunk

[DeviceA-GigabitEthernet1/0/2] undo port trunk permit vlan 1

[DeviceA-GigabitEthernet1/0/2] port trunk permit vlan 11 12

[DeviceA-GigabitEthernet1/0/2] port trunk pvid vlan 11

[DeviceA-GigabitEthernet1/0/2] quit

# 创建RRPP1,将VLAN 100配置为该域的控制VLAN,并将MSTP实例1所映射的VLAN配置为该域的保护VLAN

[DeviceA] rrpp domain 1

[DeviceA-rrpp-domain1] control-vlan 100

[DeviceA-rrpp-domain1] protected-vlan reference-instance 1

# 在RRPP域1内配置本设备为主环1的主节点,主端口为GigabitEthernet1/0/1,副端口为GigabitEthernet1/0/2,并使能该环。

[DeviceA-rrpp-domain1] ring 1 node-mode master primary-port gigabitethernet 1/0/1 secondary-port gigabitethernet 1/0/2 level 0

[DeviceA-rrpp-domain1] ring 1 enable

[DeviceA-rrpp-domain1] quit

# 创建RRPP域2,将VLAN 105配置为该域的控制VLAN,并将MSTP实例2所映射的VLAN配置为该域的保护VLAN。

[DeviceA] rrpp domain 2

[DeviceA-rrpp-domain2] control-vlan 105

[DeviceA-rrpp-domain2] protected-vlan reference-instance 2

# 在RRPP域2内配置本设备为主环1的主节点,主端口为GigabitEthernet1/0/2,副端口为GigabitEthernet1/0/1,并使能该环。

[DeviceA-rrpp-domain2] ring 1 node-mode master primary-port gigabitethernet 1/0/2 secondary-port gigabitethernet 1/0/1 level 0

[DeviceA-rrpp-domain2] ring 1 enable

[DeviceA-rrpp-domain2] quit

# 使能RRPP协议。

[DeviceA] rrpp enable

(2)        配置Device B

# 创建VLAN 11和12,将VLAN 11和12分别映射到MSTP实例1和2上,并激活MST域的配置。

<DeviceB> system-view

[DeviceB] vlan 11 to 12

[DeviceB] stp region-configuration

[DeviceB-mst-region] instance 1 vlan 11

[DeviceB-mst-region] instance 2 vlan 12

[DeviceB-mst-region] active region-configuration

[DeviceB-mst-region] quit

# 分别在端口GigabitEthernet1/0/1GigabitEthernet1/0/2上取消物理连接状态up/down抑制时间配置(可选,缺省关闭),关闭生成树协议,将端口配置为Trunk端口,禁止VLAN 1通过、允许VLAN 1112通过,并配置其缺省VLANVLAN 11

[DeviceB] interface gigabitethernet 1/0/1

[DeviceB-GigabitEthernet1/0/1] undo link-delay

[DeviceB-GigabitEthernet1/0/1] undo stp enable

[DeviceB-GigabitEthernet1/0/1] port link-type trunk

[DeviceB-GigabitEthernet1/0/1] undo port trunk permit vlan 1

[DeviceB-GigabitEthernet1/0/1] port trunk permit vlan 11 12

[DeviceB-GigabitEthernet1/0/1] port trunk pvid vlan 11

[DeviceB-GigabitEthernet1/0/1] quit

[DeviceB] interface gigabitethernet 1/0/2

[DeviceB-GigabitEthernet1/0/2] undo link-delay

[DeviceB-GigabitEthernet1/0/2] undo stp enable

[DeviceB-GigabitEthernet1/0/2] port link-type trunk

[DeviceB-GigabitEthernet1/0/2] undo port trunk permit vlan 1

[DeviceB-GigabitEthernet1/0/2] port trunk permit vlan 11 12

[DeviceB-GigabitEthernet1/0/2] port trunk pvid vlan 11

[DeviceB-GigabitEthernet1/0/2] quit

# 在端口GigabitEthernet1/0/3上取消物理连接状态up/down抑制时间配置(可选,缺省关闭),关闭生成树协议,将端口配置为Trunk端口,禁止VLAN 1通过、允许VLAN 12通过,并配置其缺省VLANVLAN 12

[DeviceB] interface gigabitethernet 1/0/3

[DeviceB-GigabitEthernet1/0/3] undo link-delay

[DeviceB-GigabitEthernet1/0/3] undo stp enable

[DeviceB-GigabitEthernet1/0/3] port link-type trunk

[DeviceB-GigabitEthernet1/0/3] undo port trunk permit vlan 1

[DeviceB-GigabitEthernet1/0/3] port trunk permit vlan 12

[DeviceB-GigabitEthernet1/0/3] port trunk pvid vlan 12

[DeviceB-GigabitEthernet1/0/3] quit

# 在端口GigabitEthernet1/0/4上取消物理连接状态up/down抑制时间配置(可选,缺省关闭),关闭生成树协议,将端口配置为Trunk端口,禁止VLAN 1通过、允许VLAN 11通过,并配置其缺省VLANVLAN 11

[DeviceB] interface gigabitethernet 1/0/4

[DeviceB-GigabitEthernet1/0/4] undo link-delay

[DeviceB-GigabitEthernet1/0/4] undo stp enable

[DeviceB-GigabitEthernet1/0/4] port link-type trunk

[DeviceB-GigabitEthernet1/0/4] undo port trunk permit vlan 1

[DeviceB-GigabitEthernet1/0/4] port trunk permit vlan 11

[DeviceB-GigabitEthernet1/0/4] port trunk pvid vlan 11

[DeviceB-GigabitEthernet1/0/4] quit

# 创建RRPP域1,将VLAN 100配置为该域的控制VLAN,并将MSTP实例1所映射的VLAN配置为该域的保护VLAN。

[DeviceB] rrpp domain 1

[DeviceB-rrpp-domain1] control-vlan 100

[DeviceB-rrpp-domain1] protected-vlan reference-instance 1

# RRPP1内配置本设备为主环1的传输节点,主端口为GigabitEthernet1/0/1,副端口为GigabitEthernet1/0/2,并使能该环。

[DeviceB-rrpp-domain1] ring 1 node-mode transit primary-port gigabitethernet 1/0/1 secondary-port gigabitethernet 1/0/2 level 0

[DeviceB-rrpp-domain1] ring 1 enable

# 在RRPP域1内配置本设备为子环3的辅助边缘节点,边缘端口为GigabitEthernet1/0/4,并使能该环。

[DeviceB-rrpp-domain1] ring 3 node-mode assistant-edge edge-port gigabitethernet 1/0/4

[DeviceB-rrpp-domain1] ring 3 enable

[DeviceB-rrpp-domain1] quit

# 创建RRPP域2,将VLAN 105配置为该域的控制VLAN,并将MSTP实例2所映射的VLAN配置为该域的保护VLAN。

[DeviceB] rrpp domain 2

[DeviceB-rrpp-domain2] control-vlan 105

[DeviceB-rrpp-domain2] protected-vlan reference-instance 2

# RRPP2内配置本设备为主环1的传输节点,主端口为GigabitEthernet1/0/1,副端口为GigabitEthernet1/0/2,并使能该环。

[DeviceB-rrpp-domain2] ring 1 node-mode transit primary-port gigabitethernet 1/0/1 secondary-port gigabitethernet 1/0/2 level 0

[DeviceB-rrpp-domain2] ring 1 enable

# 在RRPP域2内配置本设备为子环2的辅助边缘节点,边缘端口为GigabitEthernet1/0/3,并使能该环。

[DeviceB-rrpp-domain2] ring 2 node-mode assistant-edge edge-port gigabitethernet 1/0/3

[DeviceB-rrpp-domain2] ring 2 enable

[DeviceB-rrpp-domain2] quit

# 使能RRPP协议。

[DeviceB] rrpp enable

(3)        配置Device C

# 创建VLAN 11和12,将VLAN 11和12分别映射到MSTP实例1和2上,并激活MST域的配置。

<DeviceC> system-view

[DeviceC] vlan 11 to 12

[DeviceC] stp region-configuration

[DeviceC-mst-region] instance 1 vlan 11

[DeviceC-mst-region] instance 2 vlan 12

[DeviceC-mst-region] active region-configuration

[DeviceC-mst-region] quit

# 分别在端口GigabitEthernet1/0/1GigabitEthernet1/0/2上取消物理连接状态up/down抑制时间配置(可选,缺省关闭),关闭生成树协议,将端口配置为Trunk端口,禁止VLAN 1通过、允许VLAN 1112通过,并配置其缺省VLANVLAN 11

[DeviceC] interface gigabitethernet 1/0/1

[DeviceC-GigabitEthernet1/0/1] undo link-delay

[DeviceC-GigabitEthernet1/0/1] undo stp enable

[DeviceC-GigabitEthernet1/0/1] port link-type trunk

[DeviceC-GigabitEthernet1/0/1] undo port trunk permit vlan 1

[DeviceC-GigabitEthernet1/0/1] port trunk permit vlan 11 12

[DeviceC-GigabitEthernet1/0/1] port trunk pvid vlan 11

[DeviceC-GigabitEthernet1/0/1] quit

[DeviceC] interface gigabitethernet 1/0/2

[DeviceC-GigabitEthernet1/0/2] undo link-delay

[DeviceC-GigabitEthernet1/0/2] undo stp enable

[DeviceC-GigabitEthernet1/0/2] port link-type trunk

[DeviceC-GigabitEthernet1/0/2] undo port trunk permit vlan 1

[DeviceC-GigabitEthernet1/0/2] port trunk permit vlan 11 12

[DeviceC-GigabitEthernet1/0/2] port trunk pvid vlan 11

[DeviceC-GigabitEthernet1/0/2] quit

# 在端口GigabitEthernet1/0/3上取消物理连接状态up/down抑制时间配置(可选,缺省关闭),关闭生成树协议,将端口配置为Trunk端口,禁止VLAN 1通过、允许VLAN 12通过,并配置其缺省VLANVLAN 12

[DeviceC] interface gigabitethernet 1/0/3

[DeviceC-GigabitEthernet1/0/3] undo link-delay

[DeviceC-GigabitEthernet1/0/3] undo stp enable

[DeviceC-GigabitEthernet1/0/3] port link-type trunk

[DeviceC-GigabitEthernet1/0/3] undo port trunk permit vlan 1

[DeviceC-GigabitEthernet1/0/3] port trunk permit vlan 12

[DeviceC-GigabitEthernet1/0/3] port trunk pvid vlan 12

[DeviceC-GigabitEthernet1/0/3] quit

# 在端口GigabitEthernet1/0/4上取消物理连接状态up/down抑制时间配置(可选,缺省关闭),关闭生成树协议,将端口配置为Trunk端口,禁止VLAN 1通过、允许VLAN 11通过,并配置其缺省VLANVLAN 11

[DeviceC] interface gigabitethernet 1/0/4

[DeviceC-GigabitEthernet1/0/4] undo link-delay

[DeviceC-GigabitEthernet1/0/4] undo stp enable

[DeviceC-GigabitEthernet1/0/4] port link-type trunk

[DeviceC-GigabitEthernet1/0/4] undo port trunk permit vlan 1

[DeviceC-GigabitEthernet1/0/4] port trunk permit vlan 11

[DeviceC-GigabitEthernet1/0/4] port trunk pvid vlan 11

[DeviceC-GigabitEthernet1/0/4] quit

# 创建RRPP1,将VLAN 100配置为该域的控制VLAN,并将MSTP实例1所映射的VLAN配置为该域的保护VLAN

[DeviceC] rrpp domain 1

[DeviceC-rrpp-domain1] control-vlan 100

[DeviceC-rrpp-domain1] protected-vlan reference-instance 1

# RRPP1内配置本设备为主环1的传输节点,主端口为GigabitEthernet1/0/1,副端口为GigabitEthernet1/0/2,并使能该环。

[DeviceC-rrpp-domain1] ring 1 node-mode transit primary-port gigabitethernet 1/0/1 secondary-port gigabitethernet 1/0/2 level 0

[DeviceC-rrpp-domain1] ring 1 enable

# RRPP1内配置本设备为子环3的边缘节点,边缘端口为GigabitEthernet1/0/4,并使能该环。

[DeviceC-rrpp-domain1] ring 3 node-mode edge edge-port gigabitethernet 1/0/4

[DeviceC-rrpp-domain1] ring 3 enable

[DeviceC-rrpp-domain1] quit

# 创建RRPP2,将VLAN 105配置为该域的控制VLAN,并将MSTP实例2所映射的VLAN配置为该域的保护VLAN

[DeviceC] rrpp domain 2

[DeviceC-rrpp-domain2] control-vlan 105

[DeviceC-rrpp-domain2] protected-vlan reference-instance 2

# RRPP2内配置本设备为主环1的传输节点,主端口为GigabitEthernet1/0/1,副端口为GigabitEthernet1/0/2,并使能该环。

[DeviceC-rrpp-domain2] ring 1 node-mode transit primary-port gigabitethernet 1/0/1 secondary-port gigabitethernet 1/0/2 level 0

[DeviceC-rrpp-domain2] ring 1 enable

# RRPP2内配置本设备为子环2的边缘节点,边缘端口为GigabitEthernet1/0/3,并使能该环。

[DeviceC-rrpp-domain2] ring 2 node-mode edge edge-port gigabitethernet1/0/3

[DeviceC-rrpp-domain2] ring 2 enable

[DeviceC-rrpp-domain2] quit

# 使能RRPP协议。

[DeviceC] rrpp enable

(4)        配置Device D

# 创建VLAN 11和12,将VLAN 11和12分别映射到MSTP实例1和2上,并激活MST域的配置。

<DeviceD> system-view

[DeviceD] vlan 11 to 12

[DeviceD] stp region-configuration

[DeviceD-mst-region] instance 1 vlan 11

[DeviceD-mst-region] instance 2 vlan 12

[DeviceD-mst-region] active region-configuration

[DeviceD-mst-region] quit

# 分别在端口GigabitEthernet1/0/1和GigabitEthernet1/0/2上取消物理连接状态up/down抑制时间配置(可选,缺省关闭),关闭生成树协议,将端口配置为Trunk端口,禁止VLAN 1通过、允许VLAN 1112通过,并配置其缺省VLANVLAN 11

[DeviceD] interface gigabitethernet 1/0/1

[DeviceD-GigabitEthernet1/0/1] undo link-delay

[DeviceD-GigabitEthernet1/0/1] undo stp enable

[DeviceD-GigabitEthernet1/0/1] port link-type trunk

[DeviceD-GigabitEthernet1/0/1] undo port trunk permit vlan 1

[DeviceD-GigabitEthernet1/0/1] port trunk permit vlan 11 12

[DeviceD-GigabitEthernet1/0/1] port trunk pvid vlan 11

[DeviceD-GigabitEthernet1/0/1] quit

[DeviceD] interface gigabitethernet 1/0/2

[DeviceD-GigabitEthernet1/0/2] undo link-delay

[DeviceD-GigabitEthernet1/0/2] undo stp enable

[DeviceD-GigabitEthernet1/0/2] port link-type trunk

[DeviceD-GigabitEthernet1/0/2] undo port trunk permit vlan 1

[DeviceD-GigabitEthernet1/0/2] port trunk permit vlan 11 12

[DeviceD-GigabitEthernet1/0/2] port trunk pvid vlan 11

[DeviceD-GigabitEthernet1/0/2] quit

# 创建RRPP域1,将VLAN 100配置为该域的控制VLAN,并将MSTP实例1所映射的VLAN配置为该域的保护VLAN。

[DeviceD] rrpp domain 1

[DeviceD-rrpp-domain1] control-vlan 100

[DeviceD-rrpp-domain1] protected-vlan reference-instance 1

# 在RRPP域1内配置本设备为主环1的传输节点,主端口为GigabitEthernet1/0/1,副端口为GigabitEthernet1/0/2,并使能该环。

[DeviceD-rrpp-domain1] ring 1 node-mode transit primary-port gigabitethernet 1/0/1 secondary-port gigabitethernet 1/0/2 level 0

[DeviceD-rrpp-domain1] ring 1 enable

[DeviceD-rrpp-domain1] quit

# 创建RRPP域2,将VLAN 105配置为该域的控制VLAN,并将MSTP实例2所映射的VLAN配置为该域的保护VLAN。

[DeviceD] rrpp domain 2

[DeviceD-rrpp-domain2] control-vlan 105

[DeviceD-rrpp-domain2] protected-vlan reference-instance 2

# 在RRPP域2内配置本设备为主环1的传输节点,主端口为GigabitEthernet1/0/1,副端口为GigabitEthernet1/0/2,并使能该环。

[DeviceD-rrpp-domain2] ring 1 node-mode transit primary-port gigabitethernet 1/0/1 secondary-port gigabitethernet 1/0/2 level 0

[DeviceD-rrpp-domain2] ring 1 enable

[DeviceD-rrpp-domain2] quit

# 使能RRPP协议。

[DeviceD] rrpp enable

(5)        配置Device E

# 创建VLAN 12,将VLAN 12映射到MSTP实例2上,并激活MST域的配置。

<DeviceE> system-view

[DeviceE] vlan 12

[DeviceE-vlan12] quit

[DeviceE] stp region-configuration

[DeviceE-mst-region] instance 2 vlan 12

[DeviceE-mst-region] active region-configuration

[DeviceE-mst-region] quit

# 分别在端口GigabitEthernet1/0/1和GigabitEthernet1/0/2上取消物理连接状态up/down抑制时间配置(可选,缺省关闭),关闭生成树协议,将端口配置为Trunk端口,禁止VLAN 1通过、允许VLAN 12通过,并配置其缺省VLAN为VLAN 12。

[DeviceE] interface gigabitethernet 1/0/1

[DeviceE-GigabitEthernet1/0/1] undo link-delay

[DeviceE-GigabitEthernet1/0/1] undo stp enable

[DeviceE-GigabitEthernet1/0/1] port link-type trunk

[DeviceE-GigabitEthernet1/0/1] undo port trunk permit vlan 1

[DeviceE-GigabitEthernet1/0/1] port trunk permit vlan 12

[DeviceE-GigabitEthernet1/0/1] port trunk pvid vlan 12

[DeviceE-GigabitEthernet1/0/1] quit

[DeviceE] interface gigabitethernet 1/0/2

[DeviceE-GigabitEthernet1/0/2] undo link-delay

[DeviceE-GigabitEthernet1/0/2] undo stp enable

[DeviceE-GigabitEthernet1/0/2] port link-type trunk

[DeviceE-GigabitEthernet1/0/2] undo port trunk permit vlan 1

[DeviceE-GigabitEthernet1/0/2] port trunk permit vlan 12

[DeviceE-GigabitEthernet1/0/2] port trunk pvid vlan 12

[DeviceE-GigabitEthernet1/0/2] quit

# 创建RRPP域2,将VLAN 105配置为该域的控制VLAN,并将MSTP实例2所映射的VLAN配置为该域的保护VLAN。

[DeviceE] rrpp domain 2

[DeviceE-rrpp-domain2] control-vlan 105

[DeviceE-rrpp-domain2] protected-vlan reference-instance 2

# 在RRPP域2内配置本设备为子环2的主节点,主端口为GigabitEthernet1/0/2,副端口为GigabitEthernet1/0/1,并使能该环。

[DeviceE-rrpp-domain2] ring 2 node-mode master primary-port gigabitethernet 1/0/2 secondary-port gigabitethernet 1/0/1 level 1

[DeviceE-rrpp-domain2] ring 2 enable

[DeviceE-rrpp-domain2] quit

# 使能RRPP协议。

[DeviceE] rrpp enable

(6)        配置Device F

# 创建VLAN 11,将VLAN 11映射到MSTP实例1上,并激活MST域的配置。

<DeviceF> system-view

[DeviceF] vlan 11

[DeviceF-vlan11] quit

[DeviceF] stp region-configuration

[DeviceF-mst-region] instance 1 vlan 11

[DeviceF-mst-region] active region-configuration

[DeviceF-mst-region] quit

# 分别在端口GigabitEthernet1/0/1和GigabitEthernet1/0/2上取消物理连接状态up/down抑制时间配置(可选,缺省关闭),关闭生成树协议,将端口配置为Trunk端口,禁止VLAN 1通过、允许VLAN 11通过,并配置其缺省VLANVLAN 11

[DeviceF] interface gigabitethernet 1/0/1

[DeviceF-GigabitEthernet1/0/1] undo link-delay

[DeviceF-GigabitEthernet1/0/1] undo stp enable

[DeviceF-GigabitEthernet1/0/1] port link-type trunk

[DeviceF-GigabitEthernet1/0/1] undo port trunk permit vlan 1

[DeviceF-GigabitEthernet1/0/1] port trunk permit vlan 11

[DeviceF-GigabitEthernet1/0/1] port trunk pvid vlan 11

[DeviceF-GigabitEthernet1/0/1] quit

[DeviceF] interface gigabitethernet 1/0/2

[DeviceF-GigabitEthernet1/0/2] undo link-delay

[DeviceF-GigabitEthernet1/0/2] undo stp enable

[DeviceF-GigabitEthernet1/0/2] port link-type trunk

[DeviceF-GigabitEthernet1/0/2] undo port trunk permit vlan 1

[DeviceF-GigabitEthernet1/0/2] port trunk permit vlan 11

[DeviceF-GigabitEthernet1/0/2] port trunk pvid vlan 11

[DeviceF-GigabitEthernet1/0/2] quit

# 创建RRPP1,将VLAN 100配置为该域的控制VLAN,并将MSTP实例1所映射的VLAN配置为该域的保护VLAN

[DeviceF] rrpp domain 1

[DeviceF-rrpp-domain1] control-vlan 100

[DeviceF-rrpp-domain1] protected-vlan reference-instance 1

# 在RRPP域2内配置本设备为子环3的主节点,主端口为GigabitEthernet1/0/1,副端口为GigabitEthernet1/0/2,并使能该环。

[DeviceF-rrpp-domain1] ring 3 node-mode master primary-port gigabitethernet 1/0/1 secondary-port gigabitethernet 1/0/2 level 1

[DeviceF-rrpp-domain1] ring 3 enable

[DeviceF-rrpp-domain1] quit

# 使能RRPP协议。

[DeviceF] rrpp enable

(7)        完成以上配置后,在Device B和Device C上分别配置RRPP环组

# 在Device B上创建RRPP环组1,并为其配置子环。

[DeviceB] rrpp ring-group 1

[DeviceB-rrpp-ring-group1] domain 2 ring 2

[DeviceB-rrpp-ring-group1] domain 1 ring 3

# 在Device C上创建RRPP环组1,并为其配置子环。

[DeviceC] rrpp ring-group 1

[DeviceC-rrpp-ring-group1] domain 2 ring 2

[DeviceC-rrpp-ring-group1] domain 1 ring 3

(8)        检验配置效果

配置完成后,用户可以使用display rrpp命令查看各设备上RRPP的配置和运行情况。

1.4.6  完整配置

l              Device A上的配置

#

vlan 11 to 12

#

stp region-configuration

 instance 1 vlan 11

 instance 2 vlan 12

 active region-configuration

#

interface GigabitEthernet1/0/1

 port link-type trunk

 undo port trunk permit vlan 1

 port trunk permit vlan 11 to 12

 port trunk pvid vlan 11

 stp disable

#

interface GigabitEthernet1/0/2

 port link-type trunk

 undo port trunk permit vlan 1

 port trunk permit vlan 11 to 12

 port trunk pvid vlan 11

 stp disable

#

rrpp domain 1

 control-vlan 100

 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 domain 2

 control-vlan 105

 protected-vlan reference-instance 1

 ring 1 node-mode master primary-port GigabitEthernet1/0/2 secondary-port GigabitEthernet1/0/1 level 0

 ring 1 enable

#

rrpp enable

#

l              Device B上的配置

#

vlan 11 to 12

#

stp region-configuration

 instance 1 vlan 11

 instance 2 vlan 12

 active region-configuration

#

interface GigabitEthernet1/0/1

 port link-type trunk

 undo port trunk permit vlan 1

 port trunk permit vlan 11 to 12

 port trunk pvid vlan 11

 stp disable

#

interface GigabitEthernet1/0/2

 port link-type trunk

 undo port trunk permit vlan 1

 port trunk permit vlan 11 to 12

 port trunk pvid vlan 11

 stp disable

#

interface GigabitEthernet1/0/3

 port link-type trunk

 undo port trunk permit vlan 1

 port trunk permit vlan 12

 port trunk pvid vlan 12

 stp disable

#

interface GigabitEthernet1/0/4

 port link-type trunk

 undo port trunk permit vlan 1

 port trunk permit vlan 11

 port trunk pvid vlan 11

 stp disable

#

rrpp domain 1

 control-vlan 100

 protected-vlan reference-instance 1

 ring 1 node-mode transit primary-port GigabitEthernet1/0/1 secondary-port GigabitEthernet1/0/2 level 0

 ring 3 node-mode assistant-edge edge-port GigabitEthernet1/0/4

 ring 1 enable

 ring 3 enable

#

rrpp domain 2

 control-vlan 105

 protected-vlan reference-instance 2

 ring 1 node-mode transit primary-port GigabitEthernet1/0/1 secondary-port GigabitEthernet1/0/2 level 0

 ring 2 node-mode assistant-edge edge-port GigabitEthernet1/0/3

 ring 1 enable

 ring 2 enable

#

rrpp ring-group 1

 domain 2 ring 2

 domain 1 ring 3

#

rrpp enable

#

l              Device C上的配置

#

vlan 11 to 12

#

stp region-configuration

 instance 1 vlan 11

 instance 2 vlan 12

 active region-configuration

#

interface GigabitEthernet1/0/1

 port link-type trunk

 undo port trunk permit vlan 1

 port trunk permit vlan 11 to 12

 port trunk pvid vlan 11

 stp disable

#

interface GigabitEthernet1/0/2

 port link-type trunk

 undo port trunk permit vlan 1

 port trunk permit vlan 11 to 12

 port trunk pvid vlan 11

 stp disable

#

interface GigabitEthernet1/0/3

 port link-type trunk

 undo port trunk permit vlan 1

 port trunk permit vlan 12

 port trunk pvid vlan 12

 stp disable

#

interface GigabitEthernet1/0/4

 port link-type trunk

 undo port trunk permit vlan 1

 port trunk permit vlan 11

 port trunk pvid vlan 11

 stp disable

#

rrpp domain 1

 control-vlan 100

 protected-vlan reference-instance 1

 ring 1 node-mode transit primary-port GigabitEthernet1/0/1 secondary-port GigabitEthernet1/0/2 level 0

 ring 3 node-mode edge edge-port GigabitEthernet1/0/4

 ring 1 enable

 ring 3 enable

#

rrpp domain 2

 control-vlan 105

 protected-vlan reference-instance 1

 ring 1 node-mode transit primary-port GigabitEthernet1/0/1 secondary-port GigabitEthernet1/0/2 level 0

 ring 2 node-mode edge edge-port GigabitEthernet1/0/3

 ring 1 enable

 ring 2 enable

#

rrpp ring-group 1

 domain 2 ring 2

 domain 1 ring 3

#

rrpp enable

#

l              Device D上的配置

#

vlan 11 to 12

#

stp region-configuration

 instance 1 vlan 11

 instance 2 vlan 12

 active region-configuration

#

interface GigabitEthernet1/0/1

 port link-type trunk

 undo port trunk permit vlan 1

 port trunk permit vlan 11 to 12

 port trunk pvid vlan 11

 stp disable

#

interface GigabitEthernet1/0/2

 port link-type trunk

 undo port trunk permit vlan 1

 port trunk permit vlan 11 to 12

 port trunk pvid vlan 11

 stp disable

#

rrpp domain 1

 control-vlan 100

 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 domain 2

 control-vlan 105

 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

#

l              Device E上的配置

#

vlan 12

#

stp region-configuration

 instance 2 vlan 12

 active region-configuration

#

interface GigabitEthernet1/0/1

 port link-type trunk

 undo port trunk permit vlan 1

 port trunk permit vlan 12

 port trunk pvid vlan 12

 stp disable

#

interface GigabitEthernet1/0/2

 port link-type trunk

 undo port trunk permit vlan 1

 port trunk permit vlan 12

 port trunk pvid vlan 12

 stp disable

#

rrpp domain 2

 control-vlan 105

 protected-vlan reference-instance 2

 ring 2 node-mode master primary-port GigabitEthernet1/0/2 secondary-port GigabitEthernet1/0/1 level 1

 ring 2 enable

#

rrpp enable

#

l              Device F上的配置

#

vlan 11

#

stp region-configuration

 instance 1 vlan 11

 active region-configuration

#

interface GigabitEthernet1/0/1

 port link-type trunk

 undo port trunk permit vlan 1

 port trunk permit vlan 11

 port trunk pvid vlan 11

 stp disable

#

interface GigabitEthernet1/0/2

 port link-type trunk

 undo port trunk permit vlan 1

 port trunk permit vlan 11

 port trunk pvid vlan 11

 stp disable

#

rrpp domain 1

 control-vlan 100

 protected-vlan reference-instance 1

 ring 3 node-mode master primary-port GigabitEthernet1/0/1 secondary-port GigabitEthernet1/0/2 level 1

 ring 3 enable

#

rrpp enable

#

1.4.7  配置注意事项

l              在配置负载分担时,不同域的保护VLAN必须不同。

l              为了减少Edge-Hello报文的收发数量,用户可以采用环组机制,即将具有相同边缘节点/辅助边缘节点配置的一组子环加入环组。在配置了环组的情况下,与不支持环组配置的RRPP版本不能互通。

l              只能在边缘节点设备或辅助边缘节点设备上才能进行环组配置,而且两个设备上配置的环组中包含的子环必须相同,否则环组不能正常工作。

l              一个子环只能属于一个环组。

l              设备在一个环组内的所有子环上应该具有相同的类型,要么都是边缘节点,要么都是辅助边缘节点。

l              如果需要将激活的环加入环组,需要按照下述顺序进行操作:先在辅助边缘节点将环加入环组,再在边缘节点将环加入环组。

l              如果需要将激活的环从环组中删除,需要按照下述顺序进行操作:先在边缘节点将环从环组中删除,再在辅助边缘节点将环从环组中删除。

l              在同一环组中,子环所对应主环的链路必须相同,如果主环链路本身的配置就不相同,或者由于修改配置以后不相同,环组功能都不能正常运行。

l              边缘节点环组和对应的辅助边缘节点环组的配置和激活状态必须相同。

l              其它注意事项请参见1.3.7  配置注意事项

1.5  RRPP快速检测典型配置指导

RRPP的快速收敛依赖于传输节点能够快速检测到链路故障,并立即发出通知。而在RRPP的实际运用中,环网中的某些设备并不支持RRPP协议,由于无法感知到这些设备之间的链路故障,RRPP只能通过超时机制进行链路切换,但这将导致流量中断时间过长,不能达到用户毫秒级切换的需要。

RRPP快速检测机制可以解决上述问题。在配置了快速检测功能之后,当RRPP在检测以太网环的链路状况时:

l              主节点会以Fast-Hello定时器周期性地从主端口发送Fast-Hello报文:在Fast-Fail定时器超时前,若其副端口收到了该报文,就认为环路处于健康状态;否则,认为环路处于断裂状态。

l              边缘节点会以最高精度定时器周期性地从公共端口发送Fast-Edge-Hello报文:在三倍于最高精度定时器值的时间间隔内,若辅助边缘节点没有收到该报文,就认为子环在主环上的传输通道处于断裂状态。

l    最高精度定时器就是设备所能提供的周期最短的定时器。

l    要实现快速检测功能,要求RRPP环的主节点、边缘节点和辅助边缘节点都支持快速检测机制。

 

1.5.1  组网图

图1-5 RRPP快速检测组网示意图

 

 

1.5.2  应用要求

多个小区用户接入汇聚层网络,该汇聚层网络采用RRPP环网结构提高可靠性,其中Device B和Device C不支持RRPP。要求网络具有较强的收敛性能。

1.5.3  配置思路

l              Device A、Device B、Device C和Device D构成RRPP域1,该域的控制VLAN为VLAN 4092,保护VLAN 1~30。

l              Device A为主节点,支持RRPP快速检测功能;Device D为传输节点。

l              由于Device B和Device C都不支持RRPP协议,它们之间的链路出现故障时无法及时通知主节点,因此要求通过配置RRPP快速检测功能,使Device B和Device C之间的链路出现故障后环网也能够快速切换。

1.5.4  适用产品、版本

表1-5 配置适用的产品与软件版本关系

产品

软件版本

S7500E系列以太网交换机

Release 6600系列,Release 6610系列

S7600系列以太网交换机

Release 6600系列,Release 6610系列

S5800&S5820X系列以太网交换机

Release 1211

CE3000-32F以太网交换机

Release 1211

 

1.5.5  配置过程和解释

l    对于S5800、S5820X及CE3000系列以太网交换机,必须配置所有接入RRPP环的端口信认报文的802.1p优先级,以确保端口对RRPP协议报文的处理优先于数据报文。配置方法为在以太网端口视图下执行qos trust dot1p命令。

l    建议在RRPP端口上不要配置端口的物理连接状态up/down抑制时间,以提高RRPP的拓扑变化收敛速度。您可以在以太网端口视图下执行undo link-delay命令取消物理连接状态up/down抑制时间配置。

 

(1)        配置Device A

# 创建VLAN 1~30,将这些VLAN都映射到MSTP实例1上,并激活MST域的配置。

<DeviceA> system-view

[DeviceA] vlan 1 to 30

[DeviceA] stp region-configuration

[DeviceA-mst-region] instance 1 vlan 1 to 30

[DeviceA-mst-region] active region-configuration

[DeviceA-mst-region] quit

# 分别在端口GigabitEthernet1/0/1和GigabitEthernet1/0/2上取消物理连接状态up/down抑制时间配置(可选,缺省关闭),关闭STP功能,并将端口配置为Trunk端口且允许VLAN 1~30通过。

[DeviceA] interface gigabitethernet 1/0/1

[DeviceA-GigabitEthernet1/0/1] undo link-delay

[DeviceA-GigabitEthernet1/0/1] undo stp enable

[DeviceA-GigabitEthernet1/0/1] port link-type trunk

[DeviceA-GigabitEthernet1/0/1] port trunk permit vlan 1 to 30

[DeviceA-GigabitEthernet1/0/1] quit

[DeviceA] interface gigabitethernet 1/0/2

[DeviceA-GigabitEthernet1/0/2] undo link-delay

[DeviceA-GigabitEthernet1/0/2] undo stp enable

[DeviceA-GigabitEthernet1/0/2] port link-type trunk

[DeviceA-GigabitEthernet1/0/2] port trunk permit vlan 1 to 30

[DeviceA-GigabitEthernet1/0/2] quit

# 创建RRPP域1,将VLAN 4092配置为该域的控制VLAN,并将MSTP实例1所映射的VLAN配置为该域的保护VLAN。

[DeviceA] rrpp domain 1

[DeviceA-rrpp-domain1] control-vlan 4092

[DeviceA-rrpp-domain1] protected-vlan reference-instance 1

# 配置本设备为主环1的主节点,主端口为GigabitEthernet1/0/1,副端口为GigabitEthernet1/0/2,并使能该环。

[DeviceA-rrpp-domain1] ring 1 node-mode master primary-port gigabitethernet 1/0/1 secondary-port gigabitethernet 1/0/2 level 0

[DeviceA-rrpp-domain1] ring 1 enable

# 使能快速检测功能,并配置Fast-Hello定时器和Fast-Fail定时器的值分别为100毫秒和300毫秒。请注意在配置时,确保Fast-Fail定时器的值不小于Fast-Hello定时器取值的3倍,否则将无法配置成功。

[DeviceA-rrpp-domain1] fast-detection enable

[DeviceA-rrpp-domain1] timer fast-hello-timer 100

[DeviceA-rrpp-domain1] timer fast-fail-timer 300

[DeviceA-rrpp-domain1] quit

# 使能RRPP协议。

[DeviceA] rrpp enable

(2)        配置Device B

# 创建VLAN 4092和4093。

<DeviceB> system-view

[DeviceB] vlan 4092 to 4093

# 分别在端口GigabitEthernet1/0/1和GigabitEthernet1/0/2上取消物理连接状态up/down抑制时间配置(可选,缺省关闭),关闭STP功能,并将端口配置为Trunk端口且允许VLAN 1~30、4092和4093通过。

[DeviceB] interface gigabitethernet 1/0/1

[DeviceB-GigabitEthernet1/0/1] undo link-delay

[DeviceB-GigabitEthernet1/0/1] undo stp enable

[DeviceB-GigabitEthernet1/0/1] port link-type trunk

[DeviceB-GigabitEthernet1/0/1] port trunk permit vlan 1 to 30 4092 4093

[DeviceB-GigabitEthernet1/0/1] quit

[DeviceB] interface gigabitethernet 1/0/2

[DeviceB-GigabitEthernet1/0/2] undo link-delay

[DeviceB-GigabitEthernet1/0/2] undo stp enable

[DeviceB-GigabitEthernet1/0/2] port link-type trunk

[DeviceB-GigabitEthernet1/0/2] port trunk permit vlan 1 to 30 4092 4093

(3)        配置Device C

# 创建VLAN 4092和4093。

<DeviceC> system-view

[DeviceC] vlan 4092 to 4093

# 分别在端口GigabitEthernet1/0/1和GigabitEthernet1/0/2上取消物理连接状态up/down抑制时间配置(可选,缺省关闭),关闭STP功能,并将端口配置为Trunk端口且允许VLAN 1~30、4092和4093通过。

[DeviceC] interface gigabitethernet 1/0/1

[DeviceC-GigabitEthernet1/0/1] undo link-delay

[DeviceC-GigabitEthernet1/0/1] undo stp enable

[DeviceC-GigabitEthernet1/0/1] port link-type trunk

[DeviceC-GigabitEthernet1/0/1] port trunk permit vlan 1 to 30 4092 4093

[DeviceC-GigabitEthernet1/0/1] quit

[DeviceC] interface gigabitethernet 1/0/2

[DeviceC-GigabitEthernet1/0/2] undo link-delay

[DeviceC-GigabitEthernet1/0/2] undo stp enable

[DeviceC-GigabitEthernet1/0/2] port link-type trunk

[DeviceC-GigabitEthernet1/0/2] port trunk permit vlan 1 to 30 4092 4093

(4)        配置Device D

# 创建VLAN 1~30,将这些VLAN都映射到MSTP实例1上,并激活MST域的配置。

<DeviceD] system-view

[DeviceD] vlan 1 to 30

[DeviceD] stp region-configuration

[DeviceD-mst-region] instance 1 vlan 1 to 30

[DeviceD-mst-region] active region-configuration

[DeviceD-mst-region] quit

# 分别在端口GigabitEthernet1/0/1和GigabitEthernet1/0/2上取消物理连接状态up/down抑制时间配置(可选,缺省关闭),关闭STP功能,并将端口配置为Trunk端口且允许VLAN 1~30通过。

[DeviceD] interface gigabitethernet 1/0/1

[DeviceD-GigabitEthernet1/0/1] undo link-delay

[DeviceD-GigabitEthernet1/0/1] undo stp enable

[DeviceD-GigabitEthernet1/0/1] port link-type trunk

[DeviceD-GigabitEthernet1/0/1] port trunk permit vlan 1 to 30

[DeviceD-GigabitEthernet1/0/1] quit

[DeviceD] interface gigabitethernet 1/0/2

[DeviceD-GigabitEthernet1/0/2] undo link-delay

[DeviceD-GigabitEthernet1/0/2] undo stp enable

[DeviceD-GigabitEthernet1/0/2] port link-type trunk

[DeviceD-GigabitEthernet1/0/2] port trunk permit vlan 1 to 30

[DeviceD-GigabitEthernet1/0/2] quit

# 创建RRPP域1,将VLAN 4092配置为该域的控制VLAN,并将MSTP实例1所映射的VLAN配置为该域的保护VLAN。

[DeviceD] rrpp domain 1

[DeviceD-rrpp-domain1] control-vlan 4092

[DeviceD-rrpp-domain1] protected-vlan reference-instance 1

# 配置本设备为主环1的传输节点,主端口为GigabitEthernet1/0/1,副端口为GigabitEthernet1/0/2,并使能该环。

[DeviceD-rrpp-domain1] ring 1 node-mode transit primary-port gigabitethernet 1/0/1 secondary-port gigabitethernet 1/0/2 level 0

[DeviceD-rrpp-domain1] ring 1 enable

[DeviceD-rrpp-domain1] quit

# 使能RRPP协议。

[DeviceD] rrpp enable

(5)        检验配置效果

配置完成后,用户可以使用display rrpp命令查看Device A和Device D上RRPP的配置和运行情况。

1.5.6  完整配置

l              Device A上的配置

#

vlan 1

#

vlan 2 to 30

#

stp region-configuration

 instance 1 vlan 1 to 30

 active region-configuration

#

interface GigabitEthernet1/0/1

 port link-type trunk

 port trunk permit vlan 1 to 30

 stp disable

#

interface GigabitEthernet1/0/2

 port link-type trunk

 port trunk permit vlan 1 to 30

 stp disable

#

rrpp domain 1

 control-vlan 4092

 fast-detection enable

 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

 timer fast-fail-timer 300

 timer fast-hello-timer 100

#

rrpp enable

#

l              Device B上的配置

#

vlan 4092

#

vlan 4093

#

interface GigabitEthernet1/0/1

 port link-type trunk

 port trunk permit vlan 1 to 30 4092 4093

 stp disable

#

interface GigabitEthernet1/0/2

 port link-type trunk

 port trunk permit vlan 1 to 30 4092 4093

 stp disable

l              Device C上的配置

#

vlan 4092

#

vlan 4093

#

interface GigabitEthernet1/0/1

 port link-type trunk

 port trunk permit vlan 1 to 30 4092 4093

 stp disable

#

interface GigabitEthernet1/0/2

 port link-type trunk

 port trunk permit vlan 1 to 30 4092 4093

 stp disable

#

l              Device D上的配置

#

vlan 1

#

vlan 2 to 30

#

stp region-configuration

 instance 1 vlan 1 to 30

 active region-configuration

#

interface GigabitEthernet1/0/1

 port link-type trunk

 port trunk permit vlan 1 to 30

 stp disable

#

interface GigabitEthernet1/0/2

 port link-type trunk

 port trunk permit vlan 1 to 30

 stp disable

#

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

#

1.5.7  配置注意事项

l              当S7500E/S7600系列以太网交换机安装了SD或EB类单板后,才能支持RRPP快速检测功能。

l              在RRPP子环的主节点上配置快速检测功能时,需保证该环的边缘节点和辅助边缘节点也都支持快速检测功能,否则不建议配置此功能。

l              请按照先边缘节点、后辅助边缘节点的顺序来配置快速检测功能,否则辅助边缘节点可能会因收不到Fast-Edge-Hello报文而误认为主环故障。

l              配置时,应确保Fast-Fail定时器的值不小于Fast-Hello定时器取值的3倍。

l              在双归属环组网中,为避免主环故障时出现临时环路,应确保子环主节点上Fast-Fail定时器的值不小于600毫秒,且子环主节点与主环主节点上的Fast-Fail定时器取值之差大于子环主节点上Fast-Hello定时器取值的2倍。

l              其它注意事项请参见1.4.7  配置注意事项

1.6  RRPP与Smart Link混合组网典型配置指导

RRPP相交环组网配置比较复杂,而且大多接入层设备不支持RRPP,无法采用RRPP相交环的方式来提高接入层的可靠性。

用户可以采用RRPP与Smart Link混合组网的方式替代RRPP相交环组网,汇聚层采用RRPP单环组网,同时在接入层设备上配置Smart Link双上行到汇聚层设备,这样比在接入层配置RRPP子环更简单方便,同时还适用于接入层设备不支持RRPP的场合。

1.6.1  组网图

图1-6 RRPP与Smart Link混合组网示意图

 

1.6.2  应用要求

汇聚层网络采用RRPP环网结构,接入层设备Device E不支持RRPP。但是用户希望接入及汇聚网络都具有较高的可靠性和收敛性能。

1.6.3  配置思路

l              Device A、Device B、Device C和Device D构成RRPP单环组网,选择性能较高的Device A作为主节点,其它设备为传输节点。该域的控制VLAN为VLAN 4092,保护VLAN 1~30。

l              Device E不支持RRPP,采用Smart Link双上行组网接入RRPP环,提高可靠性。

1.6.4  适用产品、版本

Device A、Device B、Device C和Device D需支持RRPP,适用产品及版本请参见表1-1;Device E需要支持Smart Link,适用产品及版本请参见表1-6

表1-6 配置适用的产品与软件版本关系

产品

软件版本

S7500E系列以太网交换机

Release 6300系列,Release 6600系列,Release 6610系列

S7600系列以太网交换机

Release 6600系列,Release 6610系列

S5800&S5820X系列以太网交换机

Release 1110,Release 1211

CE3000-32F以太网交换机

Release 1211

S5810系列以太网交换机

Release 1102

S5500-EI系列以太网交换机

Release 2202,Release 2208

S5500-EI-D系列以太网交换机

Release 2208

S5500-SI系列以太网交换机

Release 2202,Release 2208

S5120-EI系列以太网交换机

Release 2202,Release 2208

S5120-EI-D系列以太网交换机

Release 1505

S5120-SI系列以太网交换机

Release 1505

S3610&S5510系列以太网交换机

Release 5306,Release 5309

S3500-EA系列以太网交换机

Release 5309

S3100V2-EI系列以太网交换机

Release 5103

E126B以太网交换机

Release 5103

 

1.6.5  配置过程和解释

Device A、Device B、Device C和Device D已经完成RRPP单环配置,具体配置请参见1.1  RRPP单环拓扑典型配置指导

 

(1)        配置Device E

# 创建VLAN 1~30,将这些VLAN都映射到MSTP实例1上,并激活MST域的配置。

<DeviceE> system-view

[DeviceE] vlan 1 to 30

[DeviceE] stp region-configuration

[DeviceE-mst-region] instance 1 vlan 1 to 30

[DeviceE-mst-region] active region-configuration

[DeviceE-mst-region] quit

# 在端口GigabitEthernet1/0/1GigabitEthernet1/0/2上分别关闭STP功能,并将端口配置为Trunk端口且允许VLAN 130通过。

[DeviceE] interface gigabitethernet 1/0/1

[DeviceE-GigabitEthernet1/0/1] undo stp enable

[DeviceE-GigabitEthernet1/0/1] port link-type trunk

[DeviceE-GigabitEthernet1/0/1] port trunk permit vlan 1 to 30

[DeviceE-GigabitEthernet1/0/1] quit

[DeviceE] interface gigabitethernet 1/0/2

[DeviceE-GigabitEthernet1/0/2] undo stp enable

[DeviceE-GigabitEthernet1/0/2] port link-type trunk

[DeviceE-GigabitEthernet1/0/2] port trunk permit vlan 1 to 30

[DeviceE-GigabitEthernet1/0/2] quit

# 创建Smart Link1,并配置其保护VLANMSTP实例1所映射的VLAN

[DeviceE] smart-link group 1

[DeviceE-smlk-group1] protected-vlan reference-instance 1

# 配置Smart Link1的主端口为GigabitEthernet1/0/1,从端口为GigabitEthernet1/0/2

[DeviceE-smlk-group1] port gigabitethernet 1/0/1 master

[DeviceE-smlk-group1] port gigabitethernet 1/0/2 slave

# Smart Link1中使能发送Flush报文的功能,并指定发送Flush报文的控制VLANVLAN 10

[DeviceE-smlk-group1] flush enable control-vlan 10

[DeviceE-smlk-group1] quit

(2)        配置Device C

# 将端口GigabitEthernet1/0/3配置为Trunk端口且允许VLAN 130通过,并在这些端口上使能接收Flush报文的功能。

[DeviceC] interface gigabitethernet 1/0/3

[DeviceC-GigabitEthernet1/0/3] port link-type trunk

[DeviceC-GigabitEthernet1/0/3] port trunk permit vlan 1 to 30

[DeviceC-GigabitEthernet1/0/3] smart-link flush enable control-vlan 10

[DeviceC-GigabitEthernet1/0/3] quit

(3)        配置Device D

# 将端口GigabitEthernet1/0/3配置为Trunk端口且允许VLAN 130通过,并在这些端口上使能接收Flush报文的功能。

[DeviceD] interface gigabitethernet 1/0/3

[DeviceD-GigabitEthernet1/0/3] port link-type trunk

[DeviceD-GigabitEthernet1/0/3] port trunk permit vlan 1 to 30

[DeviceD-GigabitEthernet1/0/3] smart-link flush enable control-vlan 10

[DeviceD-GigabitEthernet1/0/3] quit

(4)        检验配置效果

配置完成后,用户可以使用display rrpp命令查看Device A~Device E上RRPP及Smart Link的配置和运行情况。

1.6.6  完整配置

Device A~Device D已经完成RRPP单环配置,具体配置请参见1.1.6  完整配置

l              Device C上的配置

#

interface GigabitEthernet1/0/3

 port link-type trunk

 port trunk permit vlan 1 to 30

 smart-link flush enable control-vlan 10

#

l              Device D上的配置

#

interface GigabitEthernet1/0/3

 port link-type trunk

 port trunk permit vlan 1 to 30

 smart-link flush enable control-vlan 10

#

l              Device E上的配置

#

vlan 1

#

vlan 2 to 30

#

stp region-configuration

 instance 1 vlan 1 to 30

 active region-configuration

#

smart-link group 1

 protected-vlan reference-instance 1

 flush enable control-vlan 10

#

interface GigabitEthernet1/0/1

 port link-type trunk

 port trunk permit vlan 1 to 30

 stp disable

 port smart-link group 1 master

#

interface GigabitEthernet1/0/2

 port link-type trunk

 port trunk permit vlan 1 to 30

 stp disable

 port smart-link group 1 slave

#

1.6.7  配置注意事项

参见1.1.7  配置注意事项

 


2 RRPP典型配置指导(不支持保护VLAN)

2.1  RRPP单环拓扑典型配置指导

2.1.1  组网图

图2-1 RRPP单环拓扑组网示意图

 

2.1.2  应用要求

多个小区用户接入汇聚层网络,该汇聚层网络采用RRPP环网结构提高可靠性,同时要求网络具有较高的收敛性能。

2.1.3  配置思路

l              Device A、Device B、Device C、Device D构成RRPP域1;

l              RRPP域1的控制VLAN为VLAN 4092;

l              Device A、Device B、Device C和Device D构成主环1;

l              Device A为主环的主节点,GigabitEthernet1/0/1为主端口,GigabitEthernet1/0/2为副端口;

l              Device B、Device C和Device D为主环的传输节点,各自的GigabitEthernet1/0/1为主端口,GigabitEthernet1/0/2为副端口;

l              主环的定时器取缺省值。

2.1.4  适用产品、版本

表2-1 配置适用的产品与软件版本关系

产品

软件版本

S7500E系列以太网交换机

Release 6100系列

S3610&S5510系列以太网交换机

Release 5301,Release 5303

S3500-EA系列以太网交换机

Release 5303

 

2.1.5  配置过程和解释

(1)        配置接入RRPP环的端口

# 分别在Device ADevice BDevice CDevice D接入RRPP环的端口GigabitEthernet1/0/1GigabitEthernet1/0/2上关闭STP功能,并将端口配置为Trunk端口,且允许所有VLAN通过。各端口上的配置相同,下面以Device A的端口GigabitEthernet1/0/1为例进行介绍。

<DeviceA> system-view

[DeviceA] interface gigabitethernet 1/0/1

[DeviceA-GigabitEthernet1/0/1] stp disable

[DeviceA-GigabitEthernet1/0/1] port link-type trunk

[DeviceA-GigabitEthernet1/0/1] port trunk permit vlan all

[DeviceA-GigabitEthernet1/0/1] quit

(2)        配置Device A

# 在Device A上创建RRPP域,并指定控制VLAN。

<DeviceA> system-view

[DeviceA] rrpp domain 1

[DeviceA-rrpp-domain1] control-vlan 4092

# 指定Device A为RRPP主环主节点,同时指定Device A接入RRPP主环的主端口和副端口分别为GigabitEthernet1/0/1、GigabitEthernet1/0/2。

[DeviceA-rrpp-domain1] ring 1 node-mode master primary-port gigabitethernet 1/0/1 secondary-port gigabitethernet 1/0/2 level 0

# 使能RRPP环。

[DeviceA-rrpp-domain1] ring 1 enable

[DeviceA-rrpp-domain1] quit

# 使能RRPP协议

[DeviceA] rrpp enable

(3)        配置Device B

# 在Device B上创建RRPP域,并指定控制VLAN。注意与域内其它节点使用相同域ID、相同控制VLAN。

<DeviceB> system-view

[DeviceB] rrpp domain 1

[DeviceB-rrpp-domain1] control-vlan 4092

# 指定Device B为RRPP主环传输节点,同时指定Device B接入RRPP主环的主端口和副端口分别为GigabitEthernet1/0/1、GigabitEthernet1/0/2。

[DeviceB-rrpp-domain1] ring 1 node-mode transit primary-port gigabitethernet 1/0/1 secondary-port gigabitethernet 1/0/2 level 0

# 使能RRPP环。

[DeviceB-rrpp-domain1] ring 1 enable

[DeviceB-rrpp-domain1] quit

# 使能RRPP协议。

[DeviceB] rrpp enable

(4)        配置Device C

Device C的配置与Device B相似,配置过程略。

(5)        配置Device D

Device D的配置与Device B相似,配置过程略。

(6)        检验配置效果

配置完成后,用户可以使用display rrpp命令查看各设备上RRPP的配置和运行情况。

2.1.6  完整配置

l              Device A上的配置

#

interface GigabitEthernet1/0/1

 port link-type trunk

 port trunk permit vlan all

 stp disable

#

interface GigabitEthernet1/0/2

 port link-type trunk

 port trunk permit vlan all

 stp disable

#

rrpp domain 1

 control-vlan 4092

 ring 1 node-mode master primary-port GigabitEthernet1/0/1 secondary-port GigabitEthernet1/0/2 level 0

 ring 1 enable

#

rrpp enable

#

l              Device BDevice CDevice D上的配置

#

interface GigabitEthernet1/0/1

 port link-type trunk

 port trunk permit vlan all

 stp disable

#

interface GigabitEthernet1/0/2

 port link-type trunk

 port trunk permit vlan all

 stp disable

#

rrpp domain 1

 control-vlan 4092

 ring 1 node-mode transit primary-port GigabitEthernet1/0/1 secondary-port GigabitEthernet1/0/2 level 0

 ring 1 enable

#

rrpp enable

#

2.1.7  配置注意事项

l              RRPP没有自动选举机制,因此只有为环网上的每个节点进行正确配置,才能让协议真正实现环网的检测和保护。请注意保证配置的正确性。

l              在配置RRPP功能之前,需要在物理上搭建以太网环形拓扑的组网环境。

l              在配置RRPP环之前必须先配置控制VLAN。

l              为RRPP域配置的控制VLAN必须是设备上没有创建过的VLAN。

l              用户可以配置主环的控制VLAN,而子环的控制VLAN由系统自动分配,其VLAN ID为主环的控制VLAN ID加1。因此,用户在配置控制VLAN时一定要选取两个连续的没有创建过的VLAN。如果当前设备上没有两个连续的没有创建过的VLAN,则配置失败。

l              每一个RRPP域都有唯一的控制VLAN和它绑定,控制VLAN的删除是在删除RRPP域的同时完成的,控制VLAN不能用undo vlan all命令删除。

l              控制VLAN不能被指定为远程镜像VLAN或isolate-user-vlan。

l              控制VLAN上不能运行QinQ和VLAN映射功能,否则RRPP协议报文不能进行正常转发。

l              不要将接入RRPP环的端口的缺省VLAN ID设置为RRPP控制VLAN ID,以免影响协议报文正常收发。

l              RRPP环的节点角色、端口角色和环的级别一经配置不能直接修改,如果用户想改变上述配置,必须先删除现有的配置。

l              使用undo rrpp domain命令删除RRPP域时,必须保证RRPP域内没有配置RRPP环,否则删除操作不能成功。

l              接入RRPP环的端口必须配置为Trunk端口,并允许数据VLAN的报文通过。

l              接入RRPP环的端口不能是聚合端口、业务环回口。

l              接入RRPP环的端口不能使能STP、802.1x、MAC地址认证、Voice VLAN、Smart Link功能。

l              不建议在RRPP端口上启用OAM远端环回功能,否则可能引起短时间的广播风暴。

l              建议接入RRPP环的端口使能链路状态快速上报功能(端口的link-delay设置为0),以提高RRPP的拓扑变化收敛速度。

l              如果用户想在一个没有配置RRPP功能的设备上透传RRPP协议报文,需保证该设备上只有接入RRPP环的两个端口允许所在RRPP环对应的控制VLAN的报文通过,而其他端口不允许控制VLAN的报文通过。否则,其他VLAN的报文可能通过透传进入控制VLAN,对RRPP环产生冲击。

2.2  RRPP单域相交环拓扑典型配置指导

2.2.1  组网图

图2-2 RRPP单域相交环拓扑组网示意图

 

2.2.2  应用要求

接入层设备Device E以环网形式接入汇聚层,汇聚层也采用环网结构。要求网络具有高可靠性和较强的收敛性能。

2.2.3  配置思路

l              Device A、Device B、Device C、Device D和Device E构成RRPP域1;

l              RRPP域1的控制VLAN为VLAN 4092;

l              Device A、Device B、Device C和Device D构成主环Ring 1;

l              Device B、Device C和Device E构成子环Ring 2;

l              Device A为主环的主节点,GigabitEthernet1/0/1为主端口,GigabitEthernet1/0/2为副端口;

l              Device E为子环的主节点,GigabitEthernet1/0/1为主端口,GigabitEthernet1/0/2为副端口;

l              Device B为主环的传输节点和子环的边缘节点,GigabitEthernet1/0/2为公共端口,GigabitEthernet1/0/3为边缘端口;

l              Device C为主环的传输节点和子环的辅助边缘节点,GigabitEthernet1/0/1为公共端口,GigabitEthernet1/0/3为边缘端口;

l              Device D为主环的传输节点,GigabitEthernet1/0/1为主端口,GigabitEthernet1/0/2为副端口;

l              主环和子环的定时器都取缺省值。

2.2.4  适用产品、版本

表2-2 配置适用的产品与软件版本关系

产品

软件版本

S7500E系列以太网交换机

Release 6100系列

S3610&S5510系列以太网交换机

Release 5301,Release 5303

S3500-EA系列以太网交换机

Release 5303

 

2.2.5  配置过程和解释

(1)        配置接入RRPP环的端口

# 分别在Device ADevice BDevice CDevice DDevice E接入RRPP环的端口上关闭STP功能,并将端口配置为Trunk端口,且允许所有VLAN通过。各端口上的配置相同,下面以Device A的端口GigabitEthernet1/0/1为例进行介绍。

<DeviceA> system-view

[DeviceA] interface gigabitethernet 1/0/1

[DeviceA-GigabitEthernet1/0/1] stp disable

[DeviceA-GigabitEthernet1/0/1] port link-type trunk

[DeviceA-GigabitEthernet1/0/1] port trunk permit vlan all

[DeviceA-GigabitEthernet1/0/1] quit

(2)        配置Device A

# 在Device A上创建RRPP域,并指定控制VLAN。

<DeviceA> system-view

[DeviceA] rrpp domain 1

[DeviceA-rrpp-domain1] control-vlan 4092

# 指定Device A为RRPP主环主节点,同时指定Device A接入RRPP主环的主端口和副端口分别为GigabitEthernet1/0/1、GigabitEthernet1/0/2。

[DeviceA-rrpp-domain1] ring 1 node-mode master primary-port gigabitethernet 1/0/1 secondary-port gigabitethernet 1/0/2 level 0

# 使能RRPP环。

[DeviceA-rrpp-domain1] ring 1 enable

[DeviceA-rrpp-domain1] quit

# 使能RRPP协议

[DeviceA] rrpp enable

(3)        配置Device B

# 在Device B上创建RRPP域,并指定控制VLAN。注意与域内其它节点使用相同域ID、相同控制VLAN。

<DeviceB> system-view

[DeviceB] rrpp domain 1

[DeviceB-rrpp-domain1] control-vlan 4092

# 指定Device B为RRPP主环传输节点,同时指定Device B接入RRPP主环的主端口和副端口分别为GigabitEthernet1/0/1、GigabitEthernet1/0/2。

[DeviceB-rrpp-domain1] ring 1 node-mode transit primary-port gigabitethernet 1/0/1 secondary-port gigabitethernet 1/0/2 level 0

# 指定Device B为RRPP子环边缘节点,同时指定Device B接入RRPP子环的公共端口和边缘端口分别为GigabitEthernet1/0/2、GigabitEthernet1/0/3。注意使用ring命令对边缘节点进行配置的时候,不需要配置level参数。

[DeviceB-rrpp-domain1] ring 2 node-mode edge common-port gigabitethernet 1/0/2 edge-port gigabitethernet 1/0/3

# 使能RRPP主环和RRPP子环。

[DeviceB-rrpp-domain1] ring 1 enable

[DeviceB-rrpp-domain1] ring 2 enable

[DeviceB-rrpp-domain1] quit

# 使能RRPP协议。

[DeviceB] rrpp enable

(4)        配置Device C

# Device C上创建RRPP域,并指定控制VLAN。注意与域内其它节点使用相同域ID、相同控制VLAN

<DeviceC> system-view

[DeviceC] rrpp domain 1

[DeviceC-rrpp-domain1] control-vlan 4092

# 指定Device C为RRPP主环传输节点,同时指定Device C接入RRPP主环的主端口和副端口分别为GigabitEthernet1/0/1、GigabitEthernet1/0/2。

[DeviceC-rrpp-domain1] ring 1 node-mode transit primary-port gigabitethernet 1/0/1 secondary-port gigabitethernet 1/0/2 level 0

# 指定Device C为RRPP子环辅助边缘节点,同时指定Device C接入RRPP子环的公共端口和边缘端口分别为GigabitEthernet1/0/1、GigabitEthernet1/0/3。注意使用ring命令对辅助边缘节点进行配置的时候,不需要配置level参数。

[DeviceC-rrpp-domain1] ring 2 node-mode assistant-edge common-port gigabitethernet 1/0/1 edge-port gigabitethernet 1/0/3

# 使能RRPP主环和RRPP子环。

[DeviceC-rrpp-domain1] ring 1 enable

[DeviceC-rrpp-domain1] ring 2 enable

[DeviceC-rrpp-domain1] quit

# 使能RRPP协议。

[DeviceC] rrpp enable

(5)        配置Device D

# Device D上创建RRPP域,并指定控制VLAN。注意与域内其它节点使用相同域ID、相同控制VLAN

<DeviceD> system-view

[DeviceD] rrpp domain 1

[DeviceD-rrpp-domain1] control-vlan 4092

# 指定Device D为RRPP主环传输节点,同时指定Device D接入RRPP主环的主端口和副端口分别为GigabitEthernet1/0/1、GigabitEthernet1/0/2。

[DeviceD-rrpp-domain1] ring 1 node-mode transit primary-port gigabitethernet 1/0/1 secondary-port gigabitethernet 1/0/2 level 0

# 使能RRPP环。

[DeviceD-rrpp-domain1] ring 1 enable

[DeviceD-rrpp-domain1] quit

# 使能RRPP协议。

[DeviceD] rrpp enable

(6)        配置Device E

# Device E上创建RRPP域,并指定控制VLAN。注意与域内其它节点使用相同域ID、相同控制VLAN

<DeviceE> system-view

[DeviceE] rrpp domain 1

[DeviceE-rrpp-domain1] control-vlan 4092

# 指定Device E为RRPP子环主节点,同时指定Device E接入RRPP子环的主端口和副端口分别为GigabitEthernet1/0/1、GigabitEthernet1/0/2。

[DeviceE-rrpp-domain1] ring 2 node-mode master primary-port gigabitethernet 1/0/1 secondary-port gigabitethernet 1/0/2 level 1

# 使能RRPP子环。

[DeviceE-rrpp-domain1] ring 2 enable

[DeviceE-rrpp-domain1] quit

# 使能RRPP协议。

[DeviceE] rrpp enable

(7)        检验配置效果

配置完成后,用户可以使用display rrpp命令查看各设备上RRPP的配置和运行情况。

2.2.6  完整配置

l              Device A上的配置

#

interface GigabitEthernet1/0/1

 port link-type trunk

 port trunk permit vlan all

 stp disable

#

interface GigabitEthernet1/0/2

 port link-type trunk

 port trunk permit vlan all

 stp disable

#

rrpp domain 1

 control-vlan 4092

 ring 1 node-mode master primary-port GigabitEthernet1/0/1 secondary-port GigabitEthernet1/0/2 level 0

 ring 1 enable

#

rrpp enable

#

l              Device B上的配置

#

interface GigabitEthernet1/0/1

 port link-type trunk

 port trunk permit vlan all

 stp disable

#

interface GigabitEthernet1/0/2

 port link-type trunk

 port trunk permit vlan all

 stp disable

#

interface GigabitEthernet1/0/3

 port link-type trunk

 port trunk permit vlan all

 stp disable

#

rrpp domain 1

 control-vlan 4092

 ring 1 node-mode transit primary-port GigabitEthernet1/0/1 secondary-port GigabitEthernet1/0/2 level 0

 ring 2 node-mode edge common-port GigabitEthernet1/0/2 edge-port GigabitEthernet1/0/3

 ring 1 enable

 ring 2 enable

#

rrpp enable

#

l              Device C上的配置

#

interface GigabitEthernet1/0/1

 port link-type trunk

 port trunk permit vlan all

 stp disable

#

interface GigabitEthernet1/0/2

 port link-type trunk

 port trunk permit vlan all

 stp disable

#

interface GigabitEthernet1/0/3

 port link-type trunk

 port trunk permit vlan all

 stp disable

#

rrpp domain 1

 control-vlan 4092

 ring 1 node-mode transit primary-port GigabitEthernet1/0/1 secondary-port GigabitEthernet1/0/2 level 0

 ring 2 node-mode assistant-edge common-port GigabitEthernet1/0/1 edge-port GigabitEthernet1/0/3

 ring 1 enable

 ring 2 enable

#

rrpp enable

#

l              Device D上的配置

#

interface GigabitEthernet1/0/1

 port link-type trunk

 port trunk permit vlan all

 stp disable

#

interface GigabitEthernet1/0/2

 port link-type trunk

 port trunk permit vlan all

 stp disable

#

rrpp domain 1

 control-vlan 4092

 ring 1 node-mode transit primary-port GigabitEthernet1/0/1 secondary-port GigabitEthernet1/0/2 level 0

 ring 1 enable

#

rrpp enable

#

l              Device E上的配置

#

interface GigabitEthernet1/0/1

 port link-type trunk

 port trunk permit vlan all

 stp disable

#

interface GigabitEthernet1/0/2

 port link-type trunk

 port trunk permit vlan all

 stp disable

#

rrpp domain 1

 control-vlan 4092

 ring 2 node-mode master primary-port GigabitEthernet1/0/1 secondary-port GigabitEthernet1/0/2 level 1

 ring 2 enable

#

rrpp enable

#

2.2.7  配置注意事项

l              配置RRPP域时,最好先配置主环,再配置子环,并且在同一个RRPP域中,不同的RRPP环不能使用相同的Ring ID。

l              如果一台设备在同一个RRPP域中的多个RRPP环上,则只能有一个主环,而且在其他子环上的节点角色只能是边缘节点或者辅助边缘节点。

l              使用ring命令对边缘节点或辅助边缘节点进行配置的时候,不需要配置level参数。

l              一台设备在所有RRPP域中配置的环的总数不能大于16。

l              不要将接入RRPP环的端口的缺省VLAN ID设置为RRPP控制VLAN ID或者子控制VLAN ID(子控制VLAN ID为主控制VLAN ID加1),以免影响协议报文正常收发。

l              配置边缘节点和辅助边缘节点时,必须先进行主环配置,然后再进行子环配置。并且,在删除边缘节点的主环配置前,必须先删除所有的子环配置。但是,处于使能状态的RRPP环不能被删除。

l              其它注意事项请参见2.1.7  配置注意事项

2.3  RRPP多域相交环拓扑典型配置指导

2.3.1  组网图

图2-3 RRPP多域相交环拓扑组网示意图

 

2.3.2  应用要求

两个接入层网络均以环网形式与相同的两台汇聚层设备相连。一个接入网络上承载的业务使用VLAN 10,另一个接入网络上承载的业务使用VLAN 20。要求网络具有高可靠性和较强的收敛性能。

2.3.3  配置思路

l              Device A、Device B、Device C和Device D构成RRPP域1;Device E、Device F、Device C和Device B构成RRPP域2;

l              RRPP域1的控制VLAN为VLAN 4090,RRPP域2的控制VLAN为VLAN 4092;

l              RRPP域1的数据VLAN为VLAN 10,RRPP域2的数据VLAN为VLAN 20;

l              Device A、Device B、Device C和Device D构成主环1;

l              Device E、Device F、Device C和Device B构成主环2;

l              在RRPP域1的主环1上,Device A为主环的主节点,GigabitEthernet1/0/1为主端口,GigabitEthernet1/0/2为副端口;

l              在RRPP域2的主环2上Device E为主环的主节点,GigabitEthernet1/0/1为主端口,GigabitEthernet1/0/2为副端口;

l              Device B为RRPP域1的主环1上的传输节点和RRPP域2的主环2上的传输节点,GigabitEthernet1/0/2为多域相交公共端口;

l              Device C为RRPP域1的主环1上的传输节点和RRPP域2的主环2上的传输节点,GigabitEthernet1/0/2为多域相交公共端口;

l              Device D为RRPP域1的主环1上的传输节点,GigabitEthernet1/0/1为主端口,GigabitEthernet1/0/2为副端口;

l              Device F为RRPP域2的主环2上的传输节点,GigabitEthernet1/0/1为主端口,GigabitEthernet1/0/2为副端口;

l              各域主环的定时器都取缺省值。

2.3.4  适用产品、版本

表2-3 配置适用的产品与软件版本关系

产品

软件版本

S3610&S5510系列以太网交换机

Release 5301,Release 5303

S3500-EA系列以太网交换机

Release 5303

 

2.3.5  配置过程和解释

对于多域相交环,各域内环的配置是相互独立的,不同域内的数据VLAN必须相互隔离。

 

(1)        配置接入RRPP环的端口

# 分别在Device ADevice D接入RRPP Ring1的端口GigabitEthernet1/0/1GigabitEthernet1/0/2上,以及Device BDevice C的端口GigabitEthernet1/0/1上关闭STP功能,并将端口配置为Trunk端口,且允许数据VLAN 10的报文通过。各端口上的配置相同,下面以Device A的端口GigabitEthernet1/0/1为例进行介绍。

<DeviceA> system-view

[DeviceA] interface gigabitethernet 1/0/1

[DeviceA-GigabitEthernet1/0/1] stp disable

[DeviceA-GigabitEthernet1/0/1] port link-type trunk

[DeviceA-GigabitEthernet1/0/1] port trunk permit vlan 10

[DeviceA-GigabitEthernet1/0/1] quit

# 分别在Device E、Device F接入RRPP Ring2的端口GigabitEthernet1/0/1和GigabitEthernet1/0/2上,以及Device B、Device C的端口GigabitEthernet1/0/3上关闭STP功能,并将端口配置为Trunk端口,且允许数据VLAN 20的报文通过。各端口上的配置相同,下面以Device E的端口GigabitEthernet1/0/1为例进行介绍。

<DeviceE> system-view

[DeviceE] interface gigabitethernet 1/0/1

[DeviceE-GigabitEthernet1/0/1] stp disable

[DeviceE-GigabitEthernet1/0/1] port link-type trunk

[DeviceE-GigabitEthernet1/0/1] port trunk permit vlan 20

[DeviceE-GigabitEthernet1/0/1] quit

# 分别在Device B、Device C的端口GigabitEthernet1/0/2上关闭STP功能,并将端口配置为Trunk端口,且允许数据VLAN 10和VLAN 20的报文通过。各端口上的配置相同,下面以Device B的端口GigabitEthernet1/0/2为例进行介绍。

<DeviceB> system-view

[DeviceB] interface gigabitethernet 1/0/2

[DeviceB-GigabitEthernet1/0/2] stp disable

[DeviceB-GigabitEthernet1/0/2] port link-type trunk

[DeviceB-GigabitEthernet1/0/2] port trunk permit vlan 10 20

[DeviceB-GigabitEthernet1/0/2] quit

(2)        配置Device A

# 在Device A上创建RRPP域1,并指定控制VLAN。

<DeviceA> system-view

[DeviceA] rrpp domain 1

[DeviceA-rrpp-domain1] control-vlan 4090

# 指定Device A为RRPP主环主节点,同时指定Device A接入RRPP主环的主端口和副端口分别为GigabitEthernet1/0/1、GigabitEthernet1/0/2。

[DeviceA-rrpp-domain1] ring 1 node-mode master primary-port gigabitethernet 1/0/1 secondary-port gigabitethernet 1/0/2 level 0

# 使能RRPP环。

[DeviceA-rrpp-domain1] ring 1 enable

[DeviceA-rrpp-domain1] quit

# 使能RRPP协议

[DeviceA] rrpp enable

(3)        配置Device B

# Device B上创建RRPP1,并指定控制VLAN。注意与Domain1内其它节点使用相同域ID、相同控制VLAN

<DeviceB> system-view

[DeviceB] rrpp domain 1

[DeviceB-rrpp-domain1] control-vlan 4090

# 指定Device B为Domain1 RRPP主环传输节点,同时指定Device B接入RRPP主环的主端口和副端口分别为GigabitEthernet1/0/1、GigabitEthernet1/0/2。

[DeviceB-rrpp-domain1] ring 1 node-mode transit primary-port gigabitethernet 1/0/1 secondary-port gigabitethernet 1/0/2 level 0

# 使能RRPP环1。

[DeviceB-rrpp-domain1] ring 1 enable

[DeviceB-rrpp-domain1] quit

# 在Device B上创建RRPP域2,并指定控制VLAN。注意与Domain2内其它节点使用相同域ID、相同控制VLAN。

[DeviceB] rrpp domain 2

[DeviceB-rrpp-domain2] control-vlan 4092

# 指定Device B为Domain2 RRPP主环传输节点,同时指定Device B接入RRPP主环的主端口和副端口分别为GigabitEthernet1/0/2、GigabitEthernet1/0/3。

[DeviceB-rrpp-domain2] ring 2 node-mode transit primary-port gigabitethernet 1/0/2 secondary-port gigabitethernet 1/0/3 level 0

# 使能RRPP环2。

[DeviceB-rrpp-domain2] ring 2 enable

[DeviceB-rrpp-domain2] quit

# 使能RRPP协议。

[DeviceB] rrpp enable

(4)        配置Device C

# Device C上创建RRPP1,并指定控制VLAN。注意与Domain1内其它节点使用相同域ID、相同控制VLAN

<DeviceC> system-view

[DeviceC] rrpp domain 1

[DeviceC-rrpp-domain1] control-vlan 4090

# 指定Device C为Domain1 RRPP主环传输节点,同时指定Device C接入RRPP主环的主端口和副端口分别为GigabitEthernet1/0/1、GigabitEthernet1/0/2。

[DeviceC-rrpp-domain1] ring 1 node-mode transit primary-port gigabitethernet 1/0/1 secondary-port gigabitethernet 1/0/2 level 0

# 使能RRPP环1。

[DeviceC-rrpp-domain1] ring 1 enable

[DeviceC-rrpp-domain1] quit

# 在Device C上创建RRPP域2,并指定控制VLAN。注意与Domain2内其它节点使用相同域ID、相同控制VLAN。

[DeviceC] rrpp domain 2

[DeviceC-rrpp-domain2] control-vlan 4092

# 指定Device CDomain2 RRPP主环传输节点,同时指定Device C接入RRPP主环的主端口和副端口分别为GigabitEthernet1/0/3GigabitEthernet1/0/2

[DeviceC-rrpp-domain2] ring 2 node-mode transit primary-port gigabitethernet 1/0/3 secondary-port gigabitethernet 1/0/2 level 0

# 使能RRPP2

[DeviceC-rrpp-domain2] ring 2 enable

[DeviceC-rrpp-domain2] quit

# 使能RRPP协议。

[DeviceC] rrpp enable

(5)        配置Device D

# Device D上创建RRPP1,并指定控制VLAN。注意与Domain1内其它节点使用相同域ID、相同控制VLAN

<DeviceD> system-view

[DeviceD] rrpp domain 1

[DeviceD-rrpp-domain1] control-vlan 4090

# 指定Device D为Domain1 RRPP主环传输节点,同时指定Device D接入RRPP主环的主端口和副端口分别为GigabitEthernet1/0/1、GigabitEthernet1/0/2。

[DeviceD-rrpp-domain1] ring 1 node-mode transit primary-port gigabitethernet 1/0/1 secondary-port gigabitethernet 1/0/2 level 0

# 使能RRPP环1。

[DeviceD-rrpp-domain1] ring 1 enable

[DeviceD-rrpp-domain1] quit

# 使能RRPP协议。

[DeviceD] rrpp enable

(6)        配置Device E

# Device E上创建RRPP2,并指定控制VLAN。注意与Domain2内其它节点使用相同域ID、相同控制VLAN

<DeviceE> system-view

[DeviceE] rrpp domain 2

[DeviceE-rrpp-domain2] control-vlan 4092

# 指定Device E为Domain2 RRPP主环主节点,同时指定Device E接入RRPP主环的主端口和副端口分别为GigabitEthernet1/0/1、GigabitEthernet1/0/2。

[DeviceE-rrpp-domain2] ring 2 node-mode master primary-port gigabitethernet 1/0/1 secondary-port gigabitethernet 1/0/2 level 0

# 使能RRPP环2。

[DeviceE-rrpp-domain2] ring 2 enable

[DeviceE-rrpp-domain2] quit

# 使能RRPP协议。

[DeviceE] rrpp enable

(7)        配置Device F

# Device F上创建RRPP2,并指定控制VLAN。注意与Domain2内其它节点使用相同域ID、相同控制VLAN

<DeviceF> system-view

[DeviceF] rrpp domain 2

[DeviceF-rrpp-domain2] control-vlan 4092

# 指定Device F为Domain2 RRPP主环传输节点,同时指定Device F接入RRPP主环的主端口和副端口分别为GigabitEthernet1/0/1、GigabitEthernet1/0/2。

[DeviceF-rrpp-domain2] ring 2 node-mode transit primary-port gigabitethernet 1/0/1 secondary-port gigabitethernet 1/0/2 level 0

# 使能RRPP环2。

[DeviceF-rrpp-domain2] ring 2 enable

[DeviceF-rrpp-domain2] quit

# 使能RRPP协议。

[DeviceF] rrpp enable

(8)        检验配置效果

配置完成后,用户可以使用display rrpp命令查看各设备上RRPP的配置和运行情况。

2.3.6  完整配置

l              Device A上的配置

#

vlan 10

#

interface GigabitEthernet1/0/1

 port link-type trunk

 port trunk permit vlan 10

 stp disable

#

interface GigabitEthernet1/0/2

 port link-type trunk

 port trunk permit vlan 10

 stp disable

#

rrpp domain 1

 control-vlan 4090

 ring 1 node-mode master primary-port GigabitEthernet1/0/1 secondary-port GigabitEthernet1/0/2 level 0

 ring 1 enable

#

rrpp enable

#

l              Device B上的配置

#

vlan 10

#

vlan 20

#

interface GigabitEthernet1/0/1

 port link-type trunk

 port trunk permit vlan 10

 stp disable

#

interface GigabitEthernet1/0/2

 port link-type trunk

 port trunk permit vlan 10 20

 stp disable

#

interface GigabitEthernet1/0/3

 port link-type trunk

 port trunk permit vlan 20

 stp disable

#

rrpp domain 1

 control-vlan 4090

 ring 1 node-mode transit primary-port GigabitEthernet1/0/1 secondary-port GigabitEthernet1/0/2 level 0

 ring 1 enable

#

rrpp domain 2

 control-vlan 4092

 ring 2 node-mode transit primary-port GigabitEthernet1/0/2 secondary-port GigabitEthernet1/0/3 level 0

 ring 2 enable

#

rrpp enable

#

l              Device C上的配置

#

vlan 10

#

vlan 20

#

interface GigabitEthernet1/0/1

 port link-type trunk

 port trunk permit vlan 10

 stp disable

#

interface GigabitEthernet1/0/2

 port link-type trunk

 port trunk permit vlan 10 20

 stp disable

#

interface GigabitEthernet1/0/3

 port link-type trunk

 port trunk permit vlan 20

 stp disable

#

rrpp domain 1

 control-vlan 4090

 ring 1 node-mode transit primary-port GigabitEthernet1/0/1 secondary-port GigabitEthernet1/0/2 level 0

 ring 1 enable

#

rrpp domain 2

 control-vlan 4092

 ring 2 node-mode transit primary-port GigabitEthernet1/0/3 secondary-port GigabitEthernet1/0/2 level 0

 ring 2 enable

#

rrpp enable

#

l              Device D上的配置

#

vlan 10

#

interface GigabitEthernet1/0/1

 port link-type trunk

 port trunk permit vlan 10

 stp disable

#

interface GigabitEthernet1/0/2

 port link-type trunk

 port trunk permit vlan 10

 stp disable

#

rrpp domain 1

 control-vlan 4090

 ring 1 node-mode transit primary-port GigabitEthernet1/0/1 secondary-port GigabitEthernet1/0/2 level 0

 ring 1 enable

#

rrpp enable

#

l              Device E上的配置

#

vlan 20

#

interface GigabitEthernet1/0/1

 port link-type trunk

 port trunk permit vlan 20

 stp disable

#

interface GigabitEthernet1/0/2

 port link-type trunk

 port trunk permit vlan 20

 stp disable

#

rrpp domain 2

 control-vlan 4092

 ring 2 node-mode master primary-port GigabitEthernet1/0/1 secondary-port GigabitEthernet1/0/2 level 0

 ring 2 enable

#

rrpp enable

#

l              Device F上的配置

#

vlan 20

#

interface GigabitEthernet1/0/1

 port link-type trunk

 port trunk permit vlan 20

 stp disable

#

interface GigabitEthernet1/0/2

 port link-type trunk

 port trunk permit vlan 20

 stp disable

#

rrpp domain 2

 control-vlan 4092

 ring 2 node-mode transit primary-port GigabitEthernet1/0/1 secondary-port GigabitEthernet1/0/2 level 0

 ring 2 enable

#

rrpp enable

#

2.3.7  配置注意事项

l              多域相交环必须是主环相交,即不可以把子环节点上的端口配置为多域相交公共端口。

l              主节点副端口处于阻塞状态,不能配置为多域相交公共端口。

l              不可以把同一节点接入同一RRPP环的两个端口同时配置为多域相交公共端口。

l              在配置多域相交环时,不可以在RRPP协议全局使能的情况下使能或关闭多域相交公共端口所在的RRPP环。

l              在配置多域相交环时,各域内环的配置是相互独立的,不同域内的数据VLAN必须相互隔离。

l              其它注意事项请参见2.2.7  配置注意事项

不同款型规格的资料略有差异, 详细信息请向具体销售和400咨询。H3C保留在没有任何通知或提示的情况下对资料内容进行修改的权利!