Protocols Used in OSS, NMS & EMS - Telecom Management Interfaces
🎯 Learning Objective: Understand the key protocols used in OSS/NMS/EMS systems. Learn how CLI, NETCONF, gNMI, SNMP, TL1, CORBA, SOAP/XML, and RESTCONF work, along with essential routing protocols like OSPF and BGP for network reachability.
Real-World Protocol Scenarios
Example 1: The 5G Network Surge (gNMI in Action)
During a large stadium event, hundreds of thousands of fans simultaneously use 5G to stream video. Traditional SNMP polling every 5 minutes would miss the real-time congestion.
- Protocol: gNMI streaming telemetry pushes PRB (Physical Resource Block) utilization data every 500ms.
- OSS Action: Analytics detects a sustained spike and triggers an automated scale-out of core network resources.
- Result: Fans enjoy smooth streaming, and the operator avoids SLA penalties.
Example 2: The Undersea Cable Cut (BGP & TL1 in Action)
An earthquake cuts an undersea internet cable connecting two continents.
- Protocols: BGP detects the loss and withdrawal of thousands of routes, causing widespread routing instability. TL1 reports physical "Loss of Signal" from optical transport gear.
- NMS Action: Correlates BGP route flaps with TL1 alarms to pinpoint the exact cable segment that failed.
- Result: Engineers are dispatched to the correct landing station within minutes rather than troubleshooting routers globally.
Where These Protocols Are Used
| Layer | Typical Protocols | Purpose |
|---|---|---|
| Routing & Control | OSPF (Open Shortest Path First - IGP), IS-IS (Intermediate System to Intermediate System - IGP), BGP (Border Gateway Protocol - EGP) | "How do packets find their way across the network?" |
| Device / NE | CLI, SNMP, NETCONF, gNMI, TL1 | "How do we talk directly to the equipment?" |
| EMS / NMS | SNMP, TL1, NETCONF, gNMI | "How do we collect alarms and performance data?" |
| OSS Integration | SOAP/XML, REST APIs, TMF Open APIs | "How do we talk to billing and customer systems?" |
| Cloud-Native OSS | gRPC, Kafka, REST, OpenTelemetry | "How do we stream data in real-time for automation?" |
Routing protocols are the street maps (how trucks find the delivery address). Management protocols are the building maintenance crew (checking the furnace, fixing the lights). OSS Integration protocols are the customer service desk (talking to the customer about their bill).
In real telecom networks, OSS platforms usually do not communicate directly with every network device individually. Vendor EMS/NMS systems often collect alarms, telemetry, and configuration data first, then normalize and expose the information northbound to OSS platforms using standard APIs, mediation layers, or streaming systems.
Routing Protocols - OSPF & BGP
Why do OSS engineers care about routing protocols? Because if the "map" breaks, customers can't reach the internet. OSS monitors these protocols to detect outages before customers complain.
OSPF (The Local Map)
Used inside a company's network. Like Google Maps finding the fastest route across town.
BGP (The Global GPS)
Used between different networks (e.g., Airtel vs Jio). Like Google Maps showing the route across the whole country.
A "BGP Down" alarm is the highest-priority alarm in many NOCs. It can mean an entire data center has lost connectivity to the internet, potentially costing millions per hour.
CLI - Command Line Interface
CLI is like a direct conversation with the router. You type a command, the device executes it, and shows you the result. It's the "manual transmission" of network management - powerful, but requires a skilled driver.
Request
$ ssh admin@192.168.1.100
router> enable router# show interfaces GigabitEthernet0/1 router# configure terminal router(config)# interface GigabitEthernet0/1 router(config-if)# description Link_to_Mumbai_PE router(config-if)# no shutdown
Response
router# show interfaces GigabitEthernet0/1
GigabitEthernet0/1 is up, line protocol is up Hardware: Gigabit Ethernet Description: Link_to_Mumbai_PE Internet address: 10.1.1.1/30 MTU 1500 bytes, BW 1000000 Kbit/sec 5 min input rate 12000 bits/sec
✅ Works on every device, great for troubleshooting
❌ Can't scale to 1000 routers, error-prone, no standard format
NETCONF - Network Configuration Protocol
NETCONF is like filling out a standardized government form instead of writing a letter. It uses a structured format (XML) so computers can read it reliably. It also has a "draft mode" (candidate config) to test changes before applying them live.
Request (get-config)
<rpc>
<get-config>
<source><running/></source>
<filter>
<interface>GigabitEthernet0/1</interface>
</filter>
</get-config>
</rpc>
Transaction Flow
// edit-config → validate (optional) → commit
1. edit-config (make changes in draft) 2. validate (check for errors) 3. commit (apply to live network)
✅ Safe (transactional), standard, works across vendors
❌ Heavy XML format, complex to learn
gNMI - Modern Streaming Telemetry
gNMI is like a live stock ticker instead of checking the price every hour. The device pushes data continuously, so the OSS sees problems instantly.
Subscribe Request
{
"subscribe": {
"subscription": [{
"path": {"elem": [{"name": "interfaces"},{"name":"counters"}]},
"sample_interval": 1000000000 // every 1 second
}],
"mode": "STREAM"
}
}
Stream Response
{
"update": {
"timestamp": 1704787200000,
"update": [{
"path": "counters/in-octets",
"val": {"uintVal": 987654321}
}]
}
}
✅ Real-time, efficient, the standard for 5G networks
❌ Requires modern devices, complex to set up
SNMP - Simple Network Management Protocol
SNMP is the traditional monitoring protocol used in telecom and enterprise networks. The OSS can poll devices for counters and status information, while devices can also send unsolicited traps or informs when important events occur.
Get Request
SNMP Version: 2c Community: public Request ID: 12345 Variable Bindings: OID: ifHCInOctets.1 OID: ifHCOutOctets.1
Trap (Unsolicited Alarm)
// Device initiates this
PDU Type: TRAP snmpTrapOID.0 = linkDown ifIndex.1 = 1 ifDescr.1 = "GigabitEthernet0/1"
✅ Works everywhere, simple traps for alerts
❌ Missing data between polls, security is weak (v1/v2c)
TL1 - Transaction Language 1
TL1 is the language of optical transport networks (fiber). It's text-based and can send autonomous alarms. Think of it as the "Morse code" of optical networking - old but still in use.
Request
RTRV-EQPT::SHELF-1:1234; ENT-CRS-VT1::SRC-1-1-1-1,DST-2-2-2-2:4567;
Response & Alarm
M 1234 COMPLD "SHELF-1:TYPE=OPTICAL,STATUS=IS-NR" ;
// Autonomous Alarm
A 7890 REPT ALM "SHELF-1:CR,LOS,SA,,,";
✅ Efficient, devices send alarms without being asked
❌ Only used in optical networks, complex syntax
CORBA & SOAP/XML - Legacy Integration
CORBA and SOAP/XML were the "glue" that connected OSS to BSS before modern APIs. They are heavy and complex, but many telecoms still rely on them.
SOAP Request
<soapenv:Envelope>
<soapenv:Body>
<getSubscriberInfoRequest>
<msisdn>9876543210</msisdn>
</getSubscriberInfoRequest>
</soapenv:Body>
</soapenv:Envelope>
SOAP Response
<soapenv:Body>
<getSubscriberInfoResponse>
<status>ACTIVE</status>
<balance>250.00</balance>
</getSubscriberInfoResponse>
</soapenv:Body>
✅ Human-readable XML, standard in legacy systems
❌ Very heavy, slow, being replaced by REST APIs
RESTCONF - Web-Friendly Configuration
RESTCONF is a modern, web-friendly interface for managing devices using HTTP and YANG-based data models. It is commonly used alongside NETCONF in automation-focused environments.
GET Request
GET /restconf/data/interfaces/interface=Gig0/1 Host: router.example.com Accept: application/yang-data+json
Response & PATCH
// GET Response
{"interface": {
"name": "Gig0/1",
"enabled": true
}}
// PATCH to update
PATCH /restconf/data/...
{"interface": {"enabled": false}}
✅ Easy for web developers, uses JSON
❌ Less mature than NETCONF, PATCH support varies
Modern OSS: Streaming & Event-Driven Architecture
Modern OSS platforms don't just collect data; they react instantly using event-driven systems like Apache Kafka and observability pipelines (OpenTelemetry).
Modern OSS combines device-facing protocols (gNMI/NETCONF) with API-first integration (TMF Open APIs) and streaming buses (Kafka) to create fully autonomous networks.
Protocol Comparison Table
| Protocol | Transport | Data Format | Best For |
|---|---|---|---|
| OSPF/BGP | IP | Routing Updates | Making sure packets find their path |
| CLI | SSH/Telnet | Text | Manual troubleshooting |
| NETCONF | SSH | XML | Safe, transactional configuration changes |
| gNMI | gRPC over HTTP/2 | Protobuf | Real-time streaming telemetry (5G) |
| SNMP | UDP | ASN.1 | Legacy monitoring and traps |
| TL1 | TCP/Serial | Text | Optical transport networks |
| CORBA / SOAP | HTTP / IIOP | XML / IDL | Legacy OSS/BSS integration (SOAP and CORBA are different technologies but are grouped together here because both were widely used in legacy OSS/BSS integrations before REST APIs became common. ) |
| RESTCONF | HTTP(S) | JSON/XML | Web-friendly configuration |
How Protocols Have Evolved
Legacy (1990s-2000s)
CLI, SNMP v1/v2c, TL1, CORBA
Transition (2005-2015)
NETCONF, SOAP/XML, SNMP v3
Modern (2015-Present)
gNMI, RESTCONF, Streaming, TMF Open APIs
Key Terms You Must Know
Routing protocols that keep the internet connected
Direct text commands to devices (like typing in a terminal)
Structured configuration with YANG models
Real-time streaming telemetry for 5G
The workhorse protocol still used everywhere
The language of optical fiber networks
Web-like configuration using JSON over HTTP
The data model language that powers modern automation
The technology behind gNMI high-speed streaming
Standard YANG models for multi-vendor networks
Common Interview Questions
Q1. Why is BGP monitoring so critical in an NOC?
BGP connects different networks. If BGP goes down, an entire data center could be cut off from the internet, impacting thousands of customers.
Q2. When would you use gNMI instead of SNMP?
When you need real-time data (every second) like in 5G networks to detect congestion before customers complain. SNMP polling every 5 minutes would miss the spike.
Q3. Why does NETCONF have a "candidate" configuration?
To test changes safely before applying them to the live network, preventing accidental outages from typos or incorrect commands.
Q4. Is the industry moving away from SNMP?
Not entirely. SNMP is still widely deployed. But modern networks are adding gNMI for high-speed, real-time telemetry alongside existing SNMP polling.
📌 Key Takeaways:
- OSPF/BGP = Routing protocols that keep the network connected
- CLI = Great for manual work, not for automation
- NETCONF = Safe, transactional configuration changes
- gNMI = Real-time streaming telemetry, the future of 5G monitoring
- SNMP = The legacy workhorse, still everywhere
- TL1 = The language of optical transport
- RESTCONF = Web-style configuration management
- Modern OSS = Combines gNMI for telemetry + Kafka for streaming + TMF APIs for business integration