In our post Your AI Is Only as Secure as the Fiber Between Your Data Centers, we made the case for encrypting every link that leaves a site. With OcNOS 7.1.0 now generally available, this post explains how MACsec works in OcNOS and describes three deployment options: a single physical link, a link aggregation group (LAG), and 400G ZR/ZR+ coherent optics.
The challenge: the links you do not own
Data center interconnect (DCI) links carry some of an operator's most valuable traffic. AI sites that work as one cluster exchange checkpoints and training data, storage systems replicate between sites, and customer services carry traffic from the data center into the WAN. Much of that traffic crosses fiber, wavelengths and carrier networks that someone else owns and operates.
On those links, a fiber tap can copy traffic without causing an outage anyone would notice, and an attacker on the path can alter or replay frames. Encryption closes that exposure, but only if it meets two conditions:
- It runs at the speed of the link. Replication and AI traffic need their full bandwidth, so encryption cannot become the bottleneck.
- It fits the network as built. Link aggregation, routing and the services running above must keep working without redesign.
A separate encryption appliance at each site requires rack space and power, adds another system to manage, and must keep pace with every new 400G link.
The OcNOS solution: encrypt on the router that terminates the link
OcNOS 7.1.0 places encryption on the router that already terminates the link at the trust boundary. MACsec+ encrypts DC-to-DC links at line rate on the UfiSpace S9610-46DX and S9610-36D, two open routers that run the same OcNOS software and operating model as the rest of the network. Encryption runs in the port hardware, at the speed of the link.
How MACsec protects a link
MACsec (IEEE 802.1AE) secures Ethernet frames hop by hop, between two directly connected ports. The sending router encrypts each frame and adds an integrity check value; the receiving router verifies the value, then decrypts the frame before forwarding it. On the protected link, this gives three properties:
- Confidentiality: a tap on the fiber sees only encrypted frames.
- Integrity and origin authentication: a frame changed in transit or sent by a device that does not hold the key fails verification and is dropped.
- Replay protection: each protected frame carries a packet number, so a recorded frame sent again is rejected.
Because MACsec operates below IP, routing, MPLS and EVPN services run over the encrypted link unchanged, while traffic inside each site stays in the clear. The MACsec Key Agreement protocol (MKA) uses a connectivity association key (CAK) to establish and maintain the secure connectivity association between the peers and to distribute the keys that encrypt traffic; the link uses the GCM-AES-XPN-256 cipher suite.

Use case 1: a physical link from the data center to the WAN
The simplest deployment uses one physical link between two border routers, such as a wavelength between data centers or a link from a data center into the WAN. Each router runs MACsec on the port facing the other site, encrypting traffic as it leaves one site and decrypting it as it enters the other.
On the S9610-46DX and S9610-36D, the same router can also stitch data center VXLAN EVPN services into MPLS EVPN services in the WAN, a capability added in OcNOS 7.1.0. One open node stitches the service and encrypts the outgoing link, so you do not need a separate gateway and a separate encryption appliance at each site.
Use case 2: a LAG between sites
When one link is not enough, operators bundle several links into a LAG for capacity and resilience. MACsec in OcNOS runs on single ports, static LAGs and LACP-based LAGs. Each active member link has its own MACsec secure association, with its own keys and encryption, so the bundle keeps behaving like a bundle. If a member fails, traffic moves to the remaining members, and each of them is still encrypted.
Use case 3: 400G ZR/ZR+ coherent links for metro and long-haul DCI
As AI moves from scale-out to scale-across, sites farther apart are linked across metro and regional distances. Those links increasingly use 400G ZR and OpenZR+ digital coherent optics (DCO) plugged directly into the router's QSFP-DD ports, rather than a separate optical transponder.
OcNOS runs MACsec on these coherent links. The router encrypts each frame in hardware, and the coherent module carries the encrypted stream over dark fiber or a carrier DWDM network. 400G ZR delivers point-to-point unamplified connectivity up to about 120 km, while 400G OpenZR+ with high transmit power (up to 0 dBm) supports multi-span amplified DWDM and ROADM networks spanning over 1,000 km. With encryption and coherent optics in the same open router, there is no separate transponder to add. ZR/ZR+ links can also be bundled into an encrypted LAG, with an independent secure association on each link, as in use case 2.
Getting started
MACsec is generally available in OcNOS 7.1.0 on the UfiSpace S9610-46DX and S9610-36D. Read what else is new on the OcNOS 7.1 page, or contact us to plan MACsec for your DCI links and data center to WAN connections.
Marian Polojan is a Senior Hardware Product Manager at IP Infusion.