cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
462
Views
5
Helpful
13
Replies

Configure Port-channel between to remote sites

ERTP1
Level 1
Level 1

I have a question about this — I’d like to know if it’s considered good practice or good design to configure a port-channel between two buildings that are interconnected by two dark fibers. One fiber has a distance of 10.5 kilometers (~6.5 miles) and the other route has a distance of 8.5 kilometers (~5.2 miles).

Currently, one route is connected using a pair of QSFP-40G-ER modules, and the other route uses a pair of SFP-10G-ER modules (this route is currently blocked by spanning-tree). Now I have another pair of QSFP-40G-ER modules and I’d like to set up a port-channel between the two sites. By the way, our CORE switches are Catalyst C9500-12Q (site A) & C9500-48Y4C (site B).

Is this considered a good practice? What are the advantages and disadvantages? Our two sites operate as an extended LAN due to business necessity.

13 Replies 13

Leo Laohoo
Hall of Fame
Hall of Fame

All physical links must have the same speed in order to be part of a port-channel/etherchannel. 

I agree with that. Now that I've gotten another pair of QSFP-40G-ERs, both fibers will have the same speed in the port-channel. Do you think distance can be a problem?

The distance should only be a factor for the actual fiber being used Single Mode vs Multi mode. As far as port channel configuration the distance is irrelevant.

 

-David

I understand. Given the distance, the dark fiber is single-mode.
My only concern is that I’ve never configured a port-channel for this kind of scenario before.
I have configured a point-to-point L3 connection with ECMP for traffic balancing before, but not an L2 port-channel.

Etherchannel has nothing to do with distance of the dark fibre. 

If both of the physical link are up, then enable Etherchannel.

 

  - @ERTP1   As already confirmed : distance is not an issue, but you should have the dark fiber(s) tested
                     at the fiber-link level, before a production connection can be taken for granted.

  M.



-- Let everything happen to you  
       Beauty and terror
      Just keep going    
       No feeling is final
Reiner Maria Rilke (1899)

They are already in production, one active and the other blocked by spanning-tree. My concern was 1) the long distance, and 2) the slight difference in distance between the two dark fibers (1.3 miles) that could cause some desynchronization/jitter. But if this isn't a problem, I'll proceed with the configuration.


@ERTP1 wrote:

They are already in production, one active and the other blocked by spanning-tree.


BTW, I believe conversion to Etherchannel will cause a STP service interruption.  Right now you have two STP viable paths to be replaced by another visible path (the Etherchannel).

Even if you start by converting the blocked link to Etherchannel, once it comes on-line, again, you'll have two STP viable paths, which depending on STP costing, will cause either an immediate STP usage of the Etherchannel path (blocking the non-Etherchannel link) or that will happen when you convert the remaining non-Etherchannel link to an Etherchannel member link.  When the latter is done, hopefully Etherchannel status will show both links working fine.

Also BTW, you've reviewed what's your optimal Etherchannel hashing algorithm choice, based on platform options?  (This assuming, you want to take advantage of using both links, concurrently.)

Are you running rapid-PVST?  If so, the service interruption should take much less time vs. PVST.

Joseph W. Doherty
Hall of Fame
Hall of Fame

As @Leo Laohoo notes in his initial reply, all member links need to be the same "bandwidth", but member link distance latency isn't an issue, or is it?

I suspect, Etherchannel, if it monitors latency across its member links, may consider a huge latency delta between member links as problematic.  (Possibly a sort of, if one link is so different, and worse than others, there must be something "faulty" with that link.  Or, basically, only a issue because it's just an unexpected difference.)

However, the distance delta is only about 1.3 miles, so the additional latency is about 10 microseconds (if my math is correct).  I would also suspect, this wouldn't be an issue, assuming member link latency is monitored.

BTW, a similar question was raised on these forums before: https://community.cisco.com/t5/switching/fibre-link-length-and-etherchannel/td-p/2472878

Also, my browser's AI summary is:

Using an Etherchannel (or LACP) with links that have significantly different latencies is generally not problematic for the core functionality of the link aggregation, as long as the links are of the same speed and duplex settings.  This is because Etherchannel uses a hashing algorithm to assign individual traffic flows to specific physical links within the bundle, ensuring that all frames belonging to the same flow are sent over the same physical link.  This prevents out-of-order packet delivery, which is critical for protocols like TCP.

The primary concern with differing latencies is the potential for increased latency on the longer path. However, the difference in latency due to physical length is typically minimal. For example, a 200-meter difference in fiber length adds only about 1 microsecond of additional latency.  Such a small difference is negligible for most real-world applications and is unlikely to cause issues at the TCP/IP stack level, as the stack can auto-adjust to changes in latency.

While the standard load-balancing mechanism ensures that a single session uses one link consistently, the overall performance of the Etherchannel is not degraded by latency differences. The throughput of the entire channel is determined by the combined bandwidth of the links, not by the latency of individual paths.  However, if one link is significantly longer and has higher attenuation (signal loss), it could potentially lead to errors or reduced performance, especially if the link is operating near its limits. In such cases, even if no errors are reported, the effective throughput might be limited by the weaker link.

It is important to note that while latency differences themselves are not a technical barrier, using Etherchannel over WAN links with different providers or paths can introduce other complications, such as difficulty in troubleshooting and potential issues with link state synchronization if one path fails.  In such scenarios, using ECMP (Equal-Cost Multi-Path) routing with a dynamic routing protocol is often a more reliable and manageable alternative.

In summary, minor differences in latency due to physical length are not a concern for Etherchannel operation, but significant differences in link quality or path characteristics (such as those caused by different providers) should be carefully evaluated to avoid potential performance or management issues.


@ERTP1 wrote:

I have a question about this — I’d like to know if it’s considered good practice or good design to configure a port-channel between two buildings that are interconnected by two dark fibers. One fiber has a distance of 10.5 kilometers (~6.5 miles) and the other route has a distance of 8.5 kilometers (~5.2 miles).

Is this considered a good practice? What are the advantages and disadvantages? Our two sites operate as an extended LAN due to business necessity.


Personally, I don't see doing this as either a good or bad practice.

As to advantages and disadvantages, well they're pretty much the typical Etherchannel advantages and disadvantages.  Are you well acquainted with those?  (You later wrote "I have configured a point-to-point L3 connection with ECMP for traffic balancing before, but not an L2 port-channel.", so possibly you're not?)

balaji.bandi
Hall of Fame
Hall of Fame

I have tested up to 10 km of 10 LR works. Is this dark fibre delivery from the provider or from our own cable?

If the provider knows what kind of presentation they are offering, you need to choose the right optics to work as expected.

As others mentioned, using the same SFP speed for both links is key to working as expected.

BB

=====Preenayamo Vasudevam=====

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

It's a dedicated dark fiber provided by the ISP and it's single mode, which is why I'm planning to use QSFP-40G-ER for both links.

The question here is: Does the Provide presentation support  ER? (contact SP and ask what presentation)

They might have MUX or termination equipment installed in your area (most vendors do). - check once again.

If you are installing a short distance with ER, due to the Light, the SFP will burn out soon because of the power requirements, which require a minimum distance.

 

 

BB

=====Preenayamo Vasudevam=====

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

 

   - @ERTP1    Checkout https://tmgmatrix.cisco.com/   for using compatible SFP's according to switch model(s)

   M.



-- Let everything happen to you  
       Beauty and terror
      Just keep going    
       No feeling is final
Reiner Maria Rilke (1899)