Please select To the mobile version | Continue to access the desktop computer version
 Forgot password?
 Register now


Switch

View: 68|Reply: 0

How to configure RLDP?

[Copy link]

36

Digests

659

Posts

841

Credits

administrator

Rank: 9Rank: 9Rank: 9

Credits
841
Post time 2021-9-9 21:08:16 | Show all posts |Read mode

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.


Reply

Use magic Report

You have to log in before you can reply Login | Register now