Quick Start Guide
Get the Nokia BNG Lab up and running in your environment with this step-by-step deployment guide.Time to Deploy: Approximately 5-10 minutes depending on your system and whether Docker images need to be pulled.
Prerequisites
Before deploying the lab, ensure you have the following requirements:Required Software
Containerlab v0.50+
Install Containerlab following the official documentation.
Nokia SR-SIM License
- Contact Nokia to obtain
SR_SIM_license.txt - The license must support Nokia SR OS 25.10.R2
- Supports both SR-7 and IXR-ec platforms
Nokia SR OS Image
The lab requires the Nokia SR OS Simulator container image:If you don’t have this image, contact Nokia for access to SR OS container images.
System Requirements
| Resource | Minimum | Recommended |
|---|---|---|
| CPU Cores | 4 | 8+ |
| RAM | 8 GB | 16 GB |
| Disk Space | 20 GB | 40 GB |
| OS | Linux (Ubuntu 20.04+, RHEL 8+, Debian 11+) | Ubuntu 22.04 LTS |
The lab deploys 12 containers including 4 Nokia SR OS simulators, which are resource-intensive. Ensure adequate system resources.
Download the Lab
Choose one of the following methods to download the lab:Deployment Steps
Deploy the Laboratory
Deploy all containers using Containerlab:
Deployment Output Example
Deployment Output Example
Deployment Time: Initial deployment takes 5-10 minutes. Nokia SR OS containers need time to boot and load configurations.
Verify Deployment
Check that all containers are running:You should see all 13 containers in “Up” state:
- bng1, bng2 (BNG routers)
- switch, olt (Access network)
- tx (Transport)
- ont1, ont2 (Subscribers)
- radius (Authentication)
- gnmic, prometheus, grafana (Telemetry)
- iperf, pc1 (Testing)
Verify Services
Once deployed, verify that all services are accessible:SSH Access to Network Devices
ONT Subscriber Devices
Telemetry Stack
| Service | URL | Credentials | Purpose |
|---|---|---|---|
| Grafana | http://localhost:3030 | admin / admin | Dashboards and visualization |
| Prometheus | http://localhost:9090 | (none) | Metrics database and queries |
| gNMIc | - | - | Telemetry collector (no web UI) |
Access Grafana
Open your browser to http://localhost:3030
- Username:
admin - Password:
admin
Verify Prometheus Targets
Open http://localhost:9090/targetsEnsure the
gnmic target is UP and scraping metrics successfully.RADIUS Server
Service Access Summary
All services are exposed on
localhost using port mapping. This allows easy access from your host machine without complex networking.Complete Port Reference
| Service | Protocol | Port | Credentials | Purpose |
|---|---|---|---|---|
| BNG1 | SSH | 56661 | admin / lab123 | BNG1 management |
| BNG1 | gNMI | 56662 | admin / lab123 | BNG1 telemetry |
| BNG1 | NETCONF | 56663 | admin / lab123 | BNG1 automation |
| BNG2 | SSH | 56664 | admin / lab123 | BNG2 management |
| BNG2 | gNMI | 56665 | admin / lab123 | BNG2 telemetry |
| BNG2 | NETCONF | 56666 | admin / lab123 | BNG2 automation |
| Switch | SSH | 56667 | admin / lab123 | Switch management |
| Switch | gNMI | 56668 | admin / lab123 | Switch telemetry |
| OLT | SSH | 56678 | admin / lab123 | OLT management |
| OLT | gNMI | 56671 | admin / lab123 | OLT telemetry |
| ONT1 | SSH | 56673 | user / test | Subscriber 1 access |
| ONT1 | HTTP | 8081 | - | ONT1 web interface |
| ONT2 | SSH | 56674 | user / test | Subscriber 2 access |
| ONT2 | HTTP | 8082 | - | ONT2 web interface |
| iPerf | SSH | 56675 | - | Traffic testing |
| TX | SSH | 56676 | admin / NokiaSrl1! | Transport switch |
| PC1 | SSH | 56677 | - | End-user device |
| Grafana | HTTP | 3030 | admin / admin | Monitoring dashboards |
| Prometheus | HTTP | 9090 | - | Metrics queries |
Management Network
All containers are connected to the management network:Health Checks
Perform these checks to ensure the lab is fully operational:Check Subscriber Sessions
Check Subscriber Sessions
Verify RADIUS Authentication
Verify RADIUS Authentication
Test Connectivity
Test Connectivity
Validate Telemetry Pipeline
Validate Telemetry Pipeline
Common Operations
Stop the Lab
Restart the Lab
Save Runtime Configuration
View Container Logs
Execute Commands in Containers
Troubleshooting
Containers fail to start
Containers fail to start
Symptoms: Some containers show “Exited” statusSolutions:
- Check Docker resources:
docker system df - Verify license file exists:
ls -lh configs/license/SR_SIM_license.txt - Review container logs:
docker logs clab-lab-<container-name> - Ensure all images are pulled:
docker images | grep nokia
Cannot SSH to Nokia devices
Cannot SSH to Nokia devices
Symptoms: Connection refused or timeout when SSHing to BNG/Switch/OLTSolutions:
- Wait 2-3 minutes for SR OS to fully boot
- Check container is running:
docker ps | grep bng1 - Verify port mapping:
docker port clab-lab-bng1 - Test connection:
nc -zv localhost 56661
No subscriber sessions appear
No subscriber sessions appear
Symptoms:
show subscriber-mgmt subscribers returns emptySolutions:- Verify RADIUS server is running:
docker ps | grep radius - Check ONT connection type environment variables
- Trigger DHCP on ONT:
ssh -p 56673 user@localhost "sudo dhclient eth1.150" - Review RADIUS logs:
docker logs clab-lab-radius - Check BNG RADIUS policy:
show subscriber-mgmt authentication-policy
Grafana shows no data
Grafana shows no data
Symptoms: Dashboards are empty or show “No Data”Solutions:
- Verify Prometheus is scraping: http://localhost:9090/targets
- Check gNMIc logs:
docker logs clab-lab-gnmic - Ensure gNMI is enabled on devices:
show system grpc - Verify network connectivity:
docker exec clab-lab-gnmic ping 10.77.1.2
License errors in logs
License errors in logs
Symptoms: Container logs show license validation errorsSolutions:
- Verify license file format (must be text, not PDF)
- Check license expiration date
- Ensure license supports SR OS 25.10.R2
- Confirm license path in lab.yml matches actual file location
- Contact Nokia for valid license
Next Steps
Now that your lab is deployed and operational:Explore Configuration
Deep dive into BNG configuration and subscriber policies
Monitor Telemetry
Learn how to use Grafana dashboards and create custom metrics
Architecture Overview
Understand the network topology and design
Operations Guide
Access services and troubleshoot issues
For detailed configuration examples, subscriber management workflows, and advanced scenarios, continue to the Configuration Guide.