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.
Ruijie(config)#interface gigabitEthernet 0/25
Ruijie(config-if-GigabitEthernet 0/25)#spanning-tree bpdufilter enable
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 ...
Welcome to Ruijie Community (https://community.ruijienetworks.com/) | Powered by Discuz! X3.2 |