Skip to content

Import from CSV

To bring many subscribers at once — from a billing, a spreadsheet, or the router you are replacing — fill CSV files in the Super Router’s own format and import them. The router reads only this format: you export your data as these columns, it checks every line, and nothing changes until you say so.

One file per kind, UTF-8, a header line with the column names, then one line per item. Commas separate the columns (a spreadsheet’s semicolons are accepted too); a value with a comma is put in quotes. Only the columns marked required must be there; the others may be left out or empty.

Import in this order: plans, networks, clients, services.

Column Required Meaning
name yes Letters, digits, _ and -, up to 40. A plan that exists is updated.
down_mbps, up_mbps yes Download and upload, Mbit/s.
comment Free text.
name,down_mbps,up_mbps,comment
plan_100_100,100,100,Home 100

The subscriber networks: a VLAN, the router’s address on it (the subscribers’ gateway), served by DHCP.

Column Required Meaning
vlan yes 1–4094.
parent yes The router’s port or bond it is on (bond0).
gateway yes The router’s address with the prefix: 10.21.0.1/22.
name A label.
protocol 802.1q (default) or 802.1ad (an S-VLAN).
enabled yes (default) or no: made switched off and not served — for taking over from another router, switched on when that one lets go of the network.
vlan,parent,gateway,name,protocol,enabled
21,bond0,10.21.0.1/22,Flat OLT 1,802.1q,yes

Subscribers by MAC address, each with its fixed IPv4 address.

Column Required Meaning
mac yes AA:BB:CC:00:00:05.
ip yes On one of the router’s networks (not its network, gateway or broadcast address).
name The subscriber’s name (kept as the comment).
plan A plan that exists (import plans.csv first).
shaper Where the plan’s speed is limited: olt (default) or router. See Plans and shaping.
ipv6 A fixed IPv6 address, on the same interface.
expires The end date (YYYY-MM-DD): suspended on that day.
suspended yes or no (default).
comment Free text.
mac,ip,name,plan,shaper,ipv6,expires,suspended,comment
AA:BB:CC:00:00:05,10.21.0.5,Juan Perez,plan_100_100,olt,,2027-01-31,no,

A whole file is imported with one DHCP reload; if DHCP refuses it, nothing is kept.

Subscribers with their ONT: each line registers the ONT on the OLT, makes its service-port and gives it its address, as dtvsol service add does. The ONUs must be connected and not registered yet.

Column Required Meaning
name yes The customer.
sn yes The ONT’s serial: 16 hex digits (48575443AC9FD29A) or the vendor form (HWTCAC9FD29A).
olt yes A registered OLT.
pon yes The PON port, frame/slot/port (0/1/3).
plan yes A plan that exists.
ref Your billing’s reference (unique).
contract The contract number.
user_vlan The VLAN the ONU sends its traffic in, when not the default.
ipv6, iptv yes or no.
expires The end date.
comment Free text.
name,sn,olt,pon,plan,ref,contract,user_vlan,ipv6,iptv,expires,comment
Maria Lopez,48575443AC9FD29A,olt-1,0/1/3,plan_100_100,CUST-1001,C-0001,,no,no,,
Terminal window
dtvsol import template clients > clients.csv # an empty file with the header and an example
dtvsol import clients clients.csv # check every line: nothing changes
dtvsol import clients clients.csv --apply # import (all or nothing)
dtvsol import clients clients.csv --apply --skip-errors # import the good lines, list the rest

The check lists every line with a problem and why: a MAC or address that is not valid, an address on none of the router’s networks, a MAC or address already used — on the router or earlier in the file — a plan that does not exist, an OLT that is not registered, a serial that is already a service.

The monitor’s Settings → Import page does the same: choose the kind, download its template, pick your file, Check, then Import.

This site was written with the help of AI and checked by our team.