请详细阅读操作文档,结合实际情况进行配置:

        若操作不当将可能导致网络卡顿甚至断网等异常情况。

        若网络中存在业务的情况下,请同步客户风险并征得客户同意后再操作。

        若您不清楚造成的影响或对操作不熟练,请不要操作,请联系专业的锐捷售后工程师进行评估后再决定是否操作。


一、组网需求    

组网方案1需求:    

1、4台S62-1、S62-2、S62-3和S62-4构成一个ERPS环4094,实现核心链路的冗余备份

2、vlan4094 作为ERPS环4094 的rps-vlan

3、S62-1和S62-2通过AP口相连,AP口有多个成员接口

4、S62-1和S62-4之间的AP链路作为ERPS环4094的RPL链路,S62-1的AP接口作为RPL-owner接口,S62-4的AP接口作为RPL接口(RPL链路负载阻塞整个环路,一个ERPS环只能有一个RPL链路,RPL链路有一个RPL-owner接口和RPL接口)     

5、设置WTR定时器为2分钟

   

二、组网拓扑    

组网方案1

   

   

三、方案介绍    

   

ERPS单环-方案1:    

1)  S62-1、S62-2、S62-3和S62-4组成一个单ERPS 环4094

2)  S62-1、S62-2、S62-3和S62-4是通过万M(Ten)接口相连

3)  S62-1通过Ten0/3接口与S62-2的Ten0/3接口建立二层链路

4)  S62-1通过Ten0/9接口、Ten0/10接口建立二层AP口,并与S62-4建立二层链路

5)  S62-2通过Ten0/5接口与S62-3的Ten0/5接口建立二层链路

6)  S62-3通过Ten0/7接口与S62-4的Ten0/7接口建立二层链路

7)  S62-4通过Ten0/9接口、Ten0/10接口建立二层AP口,并与S62-1建立二层链路

8)  S62-1、S62-2、S62-3和S62-4之间相连接口作为ERPS关联接口,通过ERPS协议构成一个ERPS 4094环

9)  S62-1的AP口作为ERPS环4094的RPL-owner接口,S62-4的AP口作为ERPS环4094的RPL接口

10) 在经常出现CRC的链路开启RLDP协议

   

四、配置要点

4.1 ERPS单环的配置思路    

1)  在S62-1和S62-6配置接口聚合,将有所设备上的ERPS需要关联的接口配置成trunk

2)  在S62-1上配shutdown一个erps关联接口,配置ERPS环4094,配置RPL-owner接口,开启ERPS功能,单独no shutdown ERPS关联的接口

3)  在S62-2上配shutdown一个erps关联接口,配置ERPS环4094,开启ERPS功能,单独no shutdown ERPS关联的接口

4)  在S62-3上配shutdown一个erps关联接口,配置ERPS环4094,开启ERPS功能,单独no shutdown ERPS关联的接口

5)  在S62-4上配shutdown一个erps关联接口,配置ERPS环4094,配置RPL接口,开启ERPS功能,单独no shutdown ERPS关联的接口

   

注意:一个erps环必须有一条RPL链路,RPL链路的两个接口,一个为RPL-onwer接口,另一个为RPL接口。RPL链路是在稳定(IDE)状态下,负责阻塞ERPS环。可以选择数据流比较少的链路作为RPL链路

   

4.2故障链路RLDP的配置    

在为非AP接口开启RPL链路检测功能,帮助检测发现链路是否存在CRC错误引起的丢包。RLDP对于检测到链路故障发出警告。    

   

五、配置步骤      

   

5.1ERPS单环配置    

在S62-1配置    

1)将ERPS环4094关联的接口AP128,ten0/3配置成trunk,并shutdown其中一个接口

   

#配置以太网环接口成trunk模式,shutdown其中一个接口

(先将一个ERPS接口shutdown,等ERPS配置好了,在单独no shutdown)

62-1(config)#int ten0/3

62-1(config-if-TenGigabitEthernet 0/3)#sw mode trunk

62-1(config-if-TenGigabitEthernet 0/3)#shutdown   //先shutdown一个接口

62-1(config-if-TenGigabitEthernet 0/3)#exit

62-1(config)#int range ten0/9-10

62-1(config-if-range)#port-group 128

62-1(config-if-range)#exit

62-1(config)#int ag 128

62-1(config-if-AggregatePort 128)#sw mode trunk

62-1(config-if-AggregatePort 128)#exit

62-1(config)#

   

2)配置ERPS环4094

#配置R-APS VLAN 4094。

62-1(config)#erps raps-vlan 4094      //创建ERPS vlan 4094

62-1(config-erps 4094)# ring-port west AggregatePort 128 east TenGigabitEthernet 0/3    //配置ERP环4094的ERPS关联的接口。

62-1(config-erps 4094)#rpl-port west rpl-owner    //配置rpl-onwer接口

62-1(config-erps 4094)#state enable            //开启局部环的ERPS功能

62-1(config-erps 4094)# timer wtr-time 2        //修改WTR定时器2分钟

62-1(config-erps 4094)#exit

62-1(config)#erps enable                     //开启全局的ERPS功能

62-1(config)#int ten0/3

62-1(config-if-TenGigabitEthernet 0/3)#no shutdown  //单独no shutdown一个接口

   

   

在S62-2配置    

#将ERPS环4094关联的接口Ten0/5,ten0/3配置成trunk,并shutdown其中一个接口

(先将一个ERPS接口shutdown,等ERPS配置好了,在单独no shutdown)

62-2(config)#int ten0/3

62-2(config-if-TenGigabitEthernet 0/3)#sw mode trunk

62-2(config-if-TenGigabitEthernet 0/3)#shutdown   //先shutdown一个接口

62-2(config-if-TenGigabitEthernet 0/3)#exit

62-2(config)#int ten0/5

62-2(config-if-TenGigabitEthernet 0/5)#sw mode trunk

62-2(config-if-TenGigabitEthernet 0/5)#exit

   

#配置R-APS VLAN 4094。

62-2(config)#erps raps-vlan 4094      //创建ERPS vlan 4094

62-2(config-erps 4094)# ring-port west TenGigabitEthernet 0/3 east TenGigabitEthernet 0/5    //配置ERP环4094的ERPS关联的接口。

62-2(config-erps 4094)#state enable            //开启局部环的ERPS功能

62-2(config-erps 4094)# timer wtr-time 2        //修改WTR定时器2分钟

62-2(config-erps 4094)#exit

62-2(config)#erps enable                     //开启全局的ERPS功能

62-2(config)#int ten0/3

62-2(config-if-TenGigabitEthernet 0/3)#no shutdown  //单独no shutdown一个接口

   

在S62-3配置    

#将ERPS环4094关联的接口Ten0/5,ten0/7配置成trunk,并shutdown其中一个接口

(先将一个ERPS接口shutdown,等ERPS配置好了,在单独no shutdown)

62-3(config)#int ten0/7

62-3(config-if-TenGigabitEthernet 0/7)#sw mode trunk

62-3(config-if-TenGigabitEthernet 0/7)#shutdown   //先shutdown一个接口

62-3(config-if-TenGigabitEthernet 0/7)#exit

62-3(config)#int ten0/5

62-3(config-if-TenGigabitEthernet 0/5)#sw mode trunk

62-3(config-if-TenGigabitEthernet 0/5)#exit

   

   

#配置R-APS VLAN 4094。

62-3(config)#erps raps-vlan 4094      //创建ERPS vlan 4094

62-3(config-erps 4094)# ring-port west TenGigabitEthernet 0/7 east TenGigabitEthernet 0/5    //配置ERP环4094的ERPS关联的接口。

62-3(config-erps 4094)#state enable            //开启局部环的ERPS功能

62-3(config-erps 4094)# timer wtr-time 2        //修改WTR定时器2分钟

62-3(config-erps 4094)#exit

62-3(config)#erps enable                     //开启全局的ERPS功能

62-3(config)#int ten0/7

62-3(config-if-TenGigabitEthernet 0/7)#no shutdown  //单独no shutdown一个接口

   

在S62-4配置    

#将ERPS环4094关联的接口AP128,ten0/7配置成trunk,并shutdown其中一个接口

   

#配置以太网环接口成trunk模式,shutdown其中一个接口

(先将一个ERPS接口shutdown,等ERPS配置好了,在单独no shutdown)

62-4(config)#int ten0/7

62-4(config-if-TenGigabitEthernet 0/7)#sw mode trunk

62-4(config-if-TenGigabitEthernet 0/7)#shutdown   //先shutdown一个接口

62-4(config-if-TenGigabitEthernet 0/7)#exit

62-4(config)#int range ten0/9-10

62-4(config-if-range)#port-group 128

62-4(config-if-range)#exit

62-4(config)#int ag 128

62-4(config-if-AggregatePort 128)#sw mode trunk

62-4(config-if-AggregatePort 128)#exit

62-4(config)#

   

#配置ERPS环4094

#配置R-APS VLAN 4094。

62-4(config)#erps raps-vlan 4094      //创建ERPS vlan 4094

62-4(config-erps 4094)# ring-port west AggregatePort 128 east TenGigabitEthernet 0/7    //配置ERP环4094的ERPS关联的接口。

62-4(config-erps 4094)#rpl-port west           //配置rpl接口

62-4(config-erps 4094)#state enable            //开启局部环的ERPS功能

62-4(config-erps 4094)# timer wtr-time 2       //修改WTR定时器2分钟

62-4(config-erps 4094)#exit

62-4(config)#erps enable                      //开启全局的ERPS功能

62-4(config)#int ten0/7

62-4(config-if-TenGigabitEthernet 0/7)#no shutdown  //单独no shutdown一个接口

   

六、功能验证

   

       6.1 ERPS单环的配置信息

       ERPS环的所有设备都配置好了时候处于protection状态,等待2分钟恢复IDE状态

#在各个节点上执行show erps命令,确认配置。

查看62-1

62-1(config-erps 4094)#show erps

ERPS Information

Global Status               : Enabled    

Link monitored by           : Not Oam

-------------------------------------------

R-APS VLAN                  : 4094    

Ring Status                 : Enabled    

West Port                   : Ag128        (Blocking)    //可以看到处于IDE状态RPL-owner接口是被block的

East Port                   : Te0/3        (Forwarding)    //IDE状态,非RPL-owner接口处于转发状态

RPL Port                    : West Port

Protected VLANs             : ALL

RPL Owner                   : Enabled

Holdoff Time                : 0 milliseconds

Guard Time                  : 500 milliseconds

WTR Time                    : 2 minutes

Current Ring State          : idle

62-1(config-erps 4094)#     

查看62-2    

62-2#show erps

ERPS Information

Global Status               : Enabled    

Link monitored by           : Not Oam

-------------------------------------------

R-APS VLAN                  : 4094    

Ring Status                 : Enabled    

West Port                   : Te0/5        (Forwarding)  //IDE状态,非RPL-owner接口处于转发状

East Port                   : Te0/3        (Forwarding)       

RPL Port                    : None

Protected VLANs             : ALL

RPL Owner                   : Disabled

Holdoff Time                : 0 milliseconds

Guard Time                  : 500 milliseconds

WTR Time                    : 2 minutes

Current Ring State          : idle

   

查看62-3

ERPS Information

Global Status               : Enabled    

Link monitored by           : Not Oam

-------------------------------------------

R-APS VLAN                  : 4094    

Ring Status                 : Enabled    

West Port                   : Te0/5        (Forwarding)  //IDE状态,非RPL-owner接口处于转发状

East Port                   : Te0/7        (Forwarding)    

RPL Port                    : None

Protected VLANs             : ALL

RPL Owner                   : Disabled

Holdoff Time                : 0 milliseconds

Guard Time                  : 500 milliseconds

WTR Time                    : 2 minutes

Current Ring State          : idle

62-3#     

查看62-4

62-4#show erps

ERPS Information

Global Status               : Enabled    

Link monitored by           : Not Oam

-------------------------------------------

R-APS VLAN                  : 4094    

Ring Status                 : Enabled

West Port                   : Ag128        (Forwarding)  // IDE状态,RPL端口第一次配置处于block,//重新收敛后面都是Forwarding    

East Port                   : Te0/7        (Forwarding)   //IDE状态,非RPL-owner接口处于转发状

RPL Port                    : West Port

Protected VLANs             : ALL

RPL Owner                   : Disabled

Holdoff Time                : 0 milliseconds

Guard Time                  : 500 milliseconds

WTR Time                    : 2 minutes

Current Ring State          : idle