BRCD Edge Loop Detection DP
BRCD Edge Loop Detection DP
BRCD Edge Loop Detection DP
September 2014
Brocade, the B-wing symbol, Brocade Assurance, ADX, AnyIO, DCX, Fabric OS, FastIron, HyperEdge, ICX, MLX, MyBrocade, NetIron,
OpenScript, VCS, VDX, and Vyatta are registered trademarks, and The Effortless Network and the On-Demand Data Center are trademarks
of Brocade Communications Systems, Inc., in the United States and in other countries. Other brands and product names mentioned may be
trademarks of others.
Notice: This document is for informational purposes only and does not set forth any warranty, expressed or implied, concerning any
equipment, equipment feature, or service offered or to be offered by Brocade. Brocade reserves the right to make changes to this document
at any time, without notice, and assumes no responsibility for its use. This informational document describes features that may not be
currently available. Contact a Brocade sales office for information on feature and product availability. Export of technical data contained in
this document may require an export license from the United States government.
The authors and Brocade Communications Systems, Inc. assume no liability or responsibility to any person or entity with respect to the
accuracy of this document or any loss, cost, liability, or damages arising from the information contained herein or the computer programs that
accompany it.
The product described by this document may contain open source software covered by the GNU General Public License or other open
source license agreements. To find out which open source software is included in Brocade products, view the licensing terms applicable to
the open source software, and obtain a copy of the programming source code, please visit http://www.brocade.com/support/oscd.
Contents
Brocade Edge Loop Detection (ELD) Deployment Guide..............................................................5
Preface..............................................................................................................5
ELD Configuration.............................................................................................5
Configuring the Access Interface.......................................................... 6
Configuring Port Channels and Multiple Instances............................... 7
ELD Port-Priority Configuration...........................................................10
ELD Hello-Interval Configuration.........................................................12
ELD PDU RX Limit Configuration........................................................12
ELD Shutdown Time Configuration.....................................................13
Loop Detection and Removal..........................................................................14
Port Channel Configuration.................................................................15
Viewing ELD Counters........................................................................ 15
Loop Detection.................................................................................... 16
Post Loop Interface State....................................................................18
Post Loop ELD State...........................................................................19
Preface
This document is a deployment guide for implementing Edge Loop Detection in a Brocade VCS fabric.
ELD allows better utilization of network capacity without sacrificing reliability or increasing design
complexity.
This document is written for technology decision-makers, architects, systems engineers, NOC
engineers and other experts responsible for network upgrades and migration. It provides step-by-step
procedures and examples to perform and verify ELD configuration. For design considerations, refer to
the Edge Loop Detection Design Guide.
It is assumed that the reader is familiar with establishing console access and entering commands using
the Brocade CLI. For information about the Brocade CLI, refer to theNetwork OS Administration Guide.
Document History
Date
Version
Description
September 2014
ELD Configuration
This section describes the configuration required to implement ELD. Figure 1 illustrates the topology of
the example used for this configuration:
In this example, a server is connected to the VCS fabric edge, through a physical interface (Ten 6/2/1)
on 8770_RB6.
NOTE
The interface must be a member of the VLAN to enable ELD on the interface.
After applying this configuration, the show command displays interface ELD information that indicates
the following:
rcvd
0 <- Transmit count of ELD frames incrementing on
To configure the port channels and enable ELD in the example deployment, complete the following
steps:
Procedure
Step 1: Configure the port channel on Rbridge 7.
6740-RB7# show port-channel 79
LACP Aggregator: Po 79 (vLAG) <-vLAG designation
Aggregator type: Standard
Ignore-split is enabled
Member rbridges:
rbridge-id: 7 (1) <-refers to physical rbridge 7
rbridge-id: 8 (1) <- refers to physical rbridge 8
Admin Key: 0079 - Oper Key 0079
Partner System ID - 0x0001,10-1f-74-78-c6-cf
Partner Oper Key 0031
Member ports on rbridge-id 7:
Link: Te 7/0/21 (0x7180A8014) sync: 1
* <-Primary LAG member
The port-channel configuration is shown below that includes ELD on all VLANs.
NOTE
The port channel and ELD configuration must be replicated on both rbridges in the vLAG.
The example shown here on Rbridge 7 and 8 indicates the following:
ELD is enabled on all VLANs configured on the Port Channel (18 VLANs in total)
Native VLAN 926 is untagged and has ELD enabled. ELD frames are sent untagged in this case.
Remaining VLANs (other than 926) are sent tagged.
Step 3: Configure ELD on the port channel on Rbridge 7.
6740-RB7# show running-config interface Port-channel 79
interface Port-channel 79
vlag ignore-split
switchport
switchport mode trunk
switchport trunk allowed vlan add 24,31,50-51,81,601-602,901,915,918-919,922,924926,932,946-947
no switchport trunk tag native-vlan
switchport trunk native-vlan 926
edge-loop-detection vlan
24,31,50-51,81,601-602,901,915,918-919,922,924-926,932,946-947
spanning-tree shutdown
no shutdown
24,31,50-51,81,601-602,901,915,918-919,922,924-926,932,946-947
spanning-tree shutdown
no shutdown
rcvd
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
6740-RB7#
6740-RB7# show edge-loop-detection int port-channel 79
rbridgeid: 7
Number of eld instances: 18
Enabled on VLANs:
24,31,50-51,81,601-602,901,915,918-919,922,924-926,932,946-947
Priority:
128
Protocol status:
UP
Auto enable in:
Never
Packet Statistics:
vlan
sent
24
651790
31
651790
50
651790
51
651790
81
651790
601
651790
602
651790
901
651790
915
651790
918
651790
919
651790
922
651790
924
651790
925
651790
926
651790
932
651790
946
651790
947
651790
rcvd
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
rcvd
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
NOTE
ELD priority is a per interface configuration parameter and in the case of port-channels that span 2 or
more physical nodes the ELD priority must be configured on all nodes in the port-channel to maintain
behavior consistency.
To configure ELD priority on a port-channel that spans Rbridge 7 and 8, complete the following steps:
Procedure
Step 1: Configure ELD port priority on Rbridge 7.
6740-RB7# show running-config interface Port-channel 79
interface Port-channel 79
vlag ignore-split
switchport
switchport mode trunk
switchport trunk allowed vlan add
24,31,50-51,81,601-602,901,915,918-919,922,924-926,932,946-947
no switchport trunk tag native-vlan
switchport trunk native-vlan 926
edge-loop-detection port-priority 100 <- Configured non-default ELD priority
edge-loop-detection vlan
24,31,50-51,81,601-602,901,915,918-919,922,924-926,932,946-947
spanning-tree shutdown
no shutdown
!
6740-RB7#
6740-RB7# show edge-loop-detection interface port-channel 79
rbridgeid: 7
Number of eld instances: 18
Enabled on VLANs:
10
24,31,50-51,81,601-602,901,915,918-919,922,924-926,932,946-947
Priority:
100
<- Configured ELD priority
Protocol status:
UP
Auto enable in:
Never
Packet Statistics:
vlan
sent
24
800706
31
800706
50
800706
51
800706
81
800706
601
800706
602
800706
901
800706
915
800706
918
800706
919
800706
922
800706
924
800706
925
800706
926
800706
932
800706
946
800706
947
800706
rcvd
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
6740-RB7#
rcvd
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
11
6740-RB8#
NOTE
ELD hello-interval is a global configuration parameter per node and for consistent results is required to
be the same on all Rbridges that have member links in a given port channel.
Procedure
Step 1: Configure the ELD hello interval on Rbridge 8.
6740-RB8# conf t
Entering configuration mode terminal
6740-RB8(config)# protocol edge-loop-detection
6740-RB8(conf-eld)# hello-interval ?
Possible completions:
<100-5000>
Millisecond (Default: 1000)[100] <- Default of 1s
6740-RB8(conf-eld)# hello-interval 100
6740-RB8(conf-eld)#exit
6740-RB8# show running-config protocol edge-loop-detection
protocol edge-loop-detection
hello-interval 100
1
0
100
1
0
100
NOTE
ELD PDU-RX-LIMIT is a global configuration parameter per node and for consistent results is required
to be the same on all Rbridges that have member links in given port-channel.
To configure the ELD PDU-RX-LIMIT for Rbridge 7 and 8, complete the following steps:
12
Procedure
Step 1: Configure the ELD PDU RX limit on Rbridge 7.
6740-RB7# conf t
Entering configuration mode terminal
6740-RB7(config)# protocol edge-loop-detection
6740-RB7(conf-eld)# pdu-rx-limit ?
Possible completions:
<1-5>
Number (Default: 1)[1] <- Default
6740-RB7(conf-eld)# pdu-rx-limit 5
0
100
0
100
NOTE
ELD Shutdown Time is a global configuration parameter per node and for consistent results should be
the same on all rbridges with member links in a given port channel.
To configure the ELD Shutdown Time for Rbridge 7 and 8, complete the following steps:
Procedure
Step 1: Configure ELD Shutdown Time on Rbridge 7.
6740-RB7# conf t
Entering configuration mode terminal
6740-RB7(config)# protocol edge-loop-detection
6740-RB7(conf-eld)# shutdown-time ?
Possible completions:
<0, 10-1440>
Minute (Default: 0)[0]
<- default is 0 i.e. requires manual
intervention to re-enable after ELD disables an interface
6740-RB7(conf-eld)# shutdown-time 10
6740-RB7(conf-eld)#
13
5
10
100
5
10
100
Port Channels 91 and 92, as shown in Figure 3 , each span two physical rbridges, as follows:
Physical ports for Port Channel 91 reside on Rbridge 1 and 2
Physical ports for Port Channel 92 reside on Rbridge 1 and 2
14
ELD is configured on both port-channels for all VLANs enabled, as shown in the output later in this
document.
rcvd
0
0
0
0
0
0
15
Loop Detection
60
81
136
901
915
918
919
924
925
926
927
928
932
947
1529
1529
1529
1529
1529
1529
1529
1529
1529
1529
1529
1529
1529
1529
1529
0
0
0
0
0
0
0
0
0
0
0
0
0
0
rcvd
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Loop Detection
In the example shown in Figure 2 on page 7, a loop has been created between Port Channels 91 and
92 through misconfiguration of the attached network devices, linking Port Channel 91 and 92 together
on VLAN 918. The ELD protocol detects and breaks the loop. The sequence of events is as follows:
1. A Layer 2 interface is configured between Switch 1 and Switch 2 for VLAN 918.
2. Tagged VLAN 918 ELD frames from Port Channel 91 are forwarded from Switch 1 to Switch 2
(MCAST)
3. Tagged VLAN 918 ELD frames from Port Channel 92 are forwarded from Switch 2 to Switch 1
(MCAST)
4. Switch 2 floods the ELD frame from Port Channel 91 out all VLAN 918 interfaces, including the LAG
connected to Port Channel 92.
5. Switch 1 floods the ELD frame from Port Channel 92 out all VLAN 918 interfaces, including the LAG
connected to Port Channel 91.
6. Rbridge 1 Port Channel 92 receives ELD frame from Port Channel 91. ELD shuts Port Channel 92
on Rbridge 1 after comparing the priority in the ELD framesto interface priority. The default priorities
16
are used (128 on both), and in case of a tie, the lower interface number is given preference. As a
result, Port Channel 92 is disabled and Port Channel 91 remains up.
7. After step 6, one link remains up in Port Channel 92 on Rbridge 2. Steps 5 and 6 repeat on Rbridge
2. Note that this sequence depends on which Rbridge receives the first ELD frame. In the log
captures shown, the time stamps for the interface going down are the same as the ELD hello-interval
(100 ms) and the system console logs are shown with resolution in seconds.
8. ELD frames received on Port Channel 91 from Port Channel 92 do not trigger interface shutdown
because the received ELD frame has an equal port priority (default) and Port Channel 91 wins the tie
due to its lower interface number.
FIGURE 4 Loop Detection
17
18
rcvd
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
19
Protocol status:
Auto enable in:
Packet Statistics:
vlan
sent
1
1
2
1
3
1
24
1
31
1
50
1
60
1
81
1
136
1
901
1
915
1
918
1
919
1
924
1
925
1
926
1
927
1
928
1
932
1
947
1
1005
1
20
rcvd
0
0
0
0
0
0
0
0
0
0
0
2
0
0
0
0
0
0
0
0
0