Part of IP Infusion's guide to 세그먼트 라우팅.
Migrating from LDP to Segment Routing is one of the most common infrastructure projects facing service provider network teams. The good news: OcNOS supports a phased migration model where LDP and SR-MPLS coexist on the same network simultaneously, so operators can migrate one node at a time without service disruption or maintenance windows.
Why Migrate from LDP to SR?
| 기능 | LDP | SR-MPLS |
|---|---|---|
| Signaling protocol | Separate LDP sessions | None; the IGP distributes SIDs |
| Transit router state | Per-prefix label binding | Stateless; only node SIDs |
| Traffic engineering | Not supported | SR-TE and Flex-Algo |
| 빠른 재라우팅 | LFA only (~60-80%) | TI-LFA (100%) |
| IGP synchronization | Complex (LDP-IGP sync) | Native; no sync needed |
| Operational complexity | High (two protocol stacks) | Low (IGP only) |
Migration Strategy: Three Phases

Phase 1: Enable SR with LDP Coexistence
In Phase 1, Segment Routing is enabled on the IS-IS domain while LDP continues to operate. Both protocols distribute labels simultaneously. Traffic continues to use LDP labels, so this phase is purely additive and carries zero risk.
! OcNOS Phase 1: enable IS-IS SR alongside existing LDP
!
! Step 1: assign a node SID on the loopback (new config, no traffic impact)
interface loopback1
ip address 10.10.100.1/32
prefix-sid index 101
!
! Step 2: enable Segment Routing under the IS-IS instance (non-disruptive)
router isis OCNOS
is-type level-2-only
metric-style wide
net 49.0001.0000.0000.1111.00
passive-interface loopback1
segment-routing mpls
!
commit
!
! LDP stays fully operational. Both LDP and SR labels are now distributed.
! Verify SR is active alongside LDP:
show isis topology
show mpls forwarding-table ! Code i = SR-ISIS FTN, L = LDP FTN
show mpls ilm-table
Phase 2: Prefer SR Labels (Traffic Cutover)
Phase 2 switches traffic from LDP labels to SR labels using the mpls sr-prefer knob under the global segment-routing context. LDP sessions remain active as a fallback during validation. This is the actual traffic migration step, and it can be applied per node and rolled back immediately if needed.
! OcNOS Phase 2: prefer SR labels, keep LDP as fallback
!
segment-routing
mpls sr-prefer
!
commit
!
! Traffic now uses SR labels; LDP stays installed as a fallback.
! Verify SR is selected (Code i> = SR-ISIS FTN selected, LDP FTN retained):
show mpls forwarding-table
!
! Confirm end-to-end SR reachability across the core:
ping mpls isis-sr ipv4 10.10.100.5/32 detail
!
! LDP is still available as a fallback:
ping mpls ldp 10.10.100.5/32 detail
Phase 3: Decommission LDP
Once every node is preferring SR and traffic has been validated on SR labels, LDP can be removed. In OcNOS this is done per interface with disable-ldp ipv4; there is no global LDP-IGP sync knob to unwind. With SR now the sole label protocol, you can layer on SR-TE and Flex-Algo (see the Flex-Algo guide).
! OcNOS Phase 3: decommission LDP (SR-only operation)
!
! Disable LDP on each LDP-enabled interface (repeat across the core):
configure terminal
interface xe4
disable-ldp ipv4
!
interface xe6
disable-ldp ipv4
!
commit
!
! The box clears the LDP sessions, for example:
! LDP : CRITI : [LDP_SESSION_DOWN_2]: Clearing up session on interface xe4 with peer 10.10.100.2
!
! Final verification (only SR labels remain; FTN-ECMP LDP: Disabled):
show mpls forwarding-table
ping mpls isis-sr ipv4 10.10.100.1/32 detail
Rollback Procedure
If validation surfaces a problem during Phase 2, revert the label preference. Because LDP labels are still installed, traffic falls straight back to LDP.
! OcNOS: roll back Phase 2 (revert to LDP preference)
!
segment-routing
no mpls sr-prefer
!
commit
!
! Traffic immediately reverts to LDP labels. Verify:
show mpls forwarding-table
- Segment Routing Explained: SR-MPLS Fundamentals
- ISIS-SR with TI-LFA: Fast Reroute Guide
- Flex-Algo in OcNOS
- OcNOS-SP Product Page
- IP Infusion 문의
IP Infusion Engineering Team
더 깊이 살펴보십시오. 자료를 소장하십시오.
제품 데이터시트와 이 페이지보다 한층 더 깊이 있는 간결한 기술 다운로드 자료입니다.
OcNOS-SP 데이터시트
OcNOS-SP 전체 사양: 액세스, 셀 사이트, 애그리게이션 기능 세트, 소프트웨어 SKU, 지원 하드웨어 플랫폼, 솔루션 주문 가이드.
Datasheet 받기OcNOS로 SR-MPLS 업그레이드
오픈 하드웨어 위에서 SR-MPLS를 OcNOS로 마이그레이션하기: Flex-Algo, TI-LFA, 그리고 검증된 Cisco 대체 전환 경로를 다룹니다.
브리프 받기클라우드 & 서비스 공급자 WAN 전송
open hardware에서의 클라우드 및 service provider용 WAN 트랜스포트: SR-MPLS, EVPN, 규모가 검증된 포워딩.
브리프 받기OcNOS-SP 데이터시트
간단한 양식입니다. 제출하면 PDF가 즉시 새 탭에서 열립니다.
✓ 새 탭에서 PDF를 여는 중입니다…
열리지 않았다면 아래 링크를 이용해 주십시오.
OcNOS로 SR-MPLS 업그레이드
간단한 양식입니다. 제출하면 PDF가 즉시 새 탭에서 열립니다.
✓ 새 탭에서 PDF를 여는 중입니다…
열리지 않았다면 아래 링크를 이용해 주십시오.
클라우드 & 서비스 공급자 WAN 전송
간단한 양식입니다. 제출하면 PDF가 즉시 새 탭에서 열립니다.
✓ 새 탭에서 PDF를 여는 중입니다…
열리지 않았다면 아래 링크를 이용해 주십시오.