GTAC-Daisy Publish time 2021-9-9 21:08:16

How to configure RLDP?

The RLDP configuration guide is shown as below:I. RequirementsAdministrator wants to enable RLDP on edge ports on access switch to prevent loop II. Configuration Tips1. Enable RLDP globally2. Configure RLDP on interfaces3. Configure error recovery interval III. Network Topology                                             https://img2.sobot.com/console/eee7ec2e351e4569a4791536fb5f0973/kb/image/4e6baf28fc954a28bf056d2585a5bba5.png IV. Configuration StepsConfiguring access switch :Rujijie#configure terminalRujijie(config)#rldp enable   ------>enable RLDP globallyRujijie(config)#interface range g0/1-24    ------> configure a range interfacesRujijie(config-if-range)#rldp port loop-detect shutdown-port ------>If RLDP detects a loop , RLDP shutdown this portRujijie(config-if-range)#exitRujijie(config)#errdisable recovery interval 300    ------> those portsrecover after 300sRujijie(config)#endRujijie#wr Note:1) We suggest you to enable BPDU Guard and Portfast at the same time (you must enable STP first)Rujijie#configure terminalRuijie(config)#spanning-treeRuijie(config)#interface range g0/1-24Ruijie(config-if-range)#spanning-tree bpduguard enableRuijie(config-if-range)#spanning-tree portfastRuijie(config)#interface gigabitEthernet 0/25Ruijie(config-if-GigabitEthernet 0/25)#spanning-tree bpdufilter enableRuijie(config-if-GigabitEthernet 0/25)#exitRujijie(config)#errdisable recovery interval 300Rujijie(config)#endRujijie#wr V. Verification1. How to display RLDP statushttps://img2.sobot.com/console/eee7ec2e351e4569a4791536fb5f0973/kb/image/205ed60f9565424fa24dd2ff4a417637.png 2. System returns following messages when a loop occurs between ports G0/5 and G0/7Rujijie#*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.

ICT-infra Publish time 2023-10-20 19:00:26

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/25Ruijie(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


data/attachment/forum/202310/20/184529ifjrhnchiiczrn2s.png


GTAC-Jayden Publish time 2023-11-7 14:28:01

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
Pages: [1]
View full version: How to configure RLDP?