Forgot password?
 Register now

Welcome to use this form to feedback your problems with Ruijie Community

The category of your feedback

Your Feedback

Your Email address (optional):

How to configure RLDP? Reply

GTAC-Daisy

Level 1

How to configure RLDP?
8379 2 2021-9-9 21:08:16
Original

The RLDP configuration guide is shown as below:

I. Requirements

Administrator wants to enable RLDP on edge ports on access switch to prevent loop

II. Configuration Tips

1. Enable RLDP globally

2. Configure RLDP on interfaces

3. Configure error recovery interval

III. Network Topology

                                               

IV. Configuration Steps

Configuring access switch :

Rujijie#configure terminal

Rujijie(config)#rldp enable   ------>enable RLDP globally

Rujijie(config)#interface range g0/1-24    ------> configure a range interfaces

Rujijie(config-if-range)#rldp port loop-detect shutdown-port ------>If RLDP detects a loop , RLDP shutdown this port

Rujijie(config-if-range)#exit

Rujijie(config)#errdisable recovery interval 300    ------> those ports  recover after 300s

Rujijie(config)#end

Rujijie#wr

Note

1) We suggest you to enable BPDU Guard and Portfast at the same time (you must enable STP first)

Rujijie#configure terminal

Ruijie(config)#spanning-tree

Ruijie(config)#interface range g0/1-24

Ruijie(config-if-range)#spanning-tree bpduguard enable

Ruijie(config-if-range)#spanning-tree portfast

Ruijie(config)#interface gigabitEthernet 0/25

Ruijie(config-if-GigabitEthernet 0/25)#spanning-tree bpdufilter enable

Ruijie(config-if-GigabitEthernet 0/25)#exit

Rujijie(config)#errdisable recovery interval 300

Rujijie(config)#end

Rujijie#wr

V. Verification

1. How to display RLDP status

2. System returns following messages when a loop occurs between ports G0/5 and G0/7

Rujijie#

*Mar 19 20:16:00: %RLDP-3-LINK_DETECT_ERROR: loop detection error detect on interface GigabitEthernet 0/7.set this interface errordisable!

*Mar 19 20:16:00: %RLDP-3-LINK_DETECT_ERROR: loop detection error detect on interface GigabitEthernet 0/5.set this interface errordisable!

Mar 19 20:16:01: %LINEPROTO-5-UPDOWN: Line protocol on Interface VLAN 1, changed state to down.

*Mar 19 20:16:02: %LINK-3-UPDOWN: Interface GigabitEthernet 0/5, changed state to down.

*Mar 19 20:16:02: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet 0/5, changed state to down.

*Mar 19 20:16:02: %LINK-3-UPDOWN: Interface GigabitEthernet 0/7, changed state to down.

*Mar 19 20:16:02: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet 0/7, changed state to down.


0 2023-10-20 19:00:26 View all replies
Hi
In this example, both RLDP and spanning-tree bpduguard are enabled on all interface of the switch.

how about the below command? what does it mean in the configuration and how would it affect in the network.

Ruijie(config)#interface gigabitEthernet 0/25

Ruijie(config-if-GigabitEthernet 0/25)#spanning-tree bpdufilter enable




Currently, we have the following setup: RLDP is enabled on all switches, and we're planning to enable BPDU Guard and Portfast as suggested above. I'm uncertain about whether I should enable
'spanning-tree bpdufilter'
and, if so, on which port it should be enabled, or if it can be safely ignored





0 2023-11-7 14:28:01 View all replies
ICT-infra replied at 2023-10-20 19:00
Hi
In this example, both RLDP and spanning-tree bpduguard are enabled on all interface of the switch ...

Dear ICT-infra,

Spanning-tree bpdufilter enable is used to configure the port not to receive nor send BPDU packets, and the port will be in forwarding mode directly.
While the downlink ports are recommended to enable RLDP with BPDU Guard and Portfast, the command "spanning-tree bpdufilter enable" should be configured on the uplink port to prevent the STP packets from being sent to the uplink core switch and affecting the network.


Best regards,
Jayden

Related Posts
Product Model

Share this topic to

Cancel

This site contains user submitted content, comments and opinions and is for informational purposes only. Ruijie may provide or recommend responses as a possible solution based on the information provided; every potential issue may involve several factors not detailed in the conversations captured in an electronic forum and Ruijie can therefore provide no guarantee as to the efficacy of any proposed solutions on the community forums. Ruijie disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Ruijie Community Terms of Use.

More ways to get help: Visit Support Videos, call us via Service Hotline, Facebook or Live Chat.

©2000-2023 Ruijie Networks Co,Ltd