No code yet and no test device. The README maps LANCOM's four operating systems (LCOS, LCOS SX, LCOS LX, LCOS FX) to planned entry points and napalm-device-types role bases. docs/lcos-sx3.md covers the first target (GS-23xx on LCOS SX 3.34): CLI model, getter-to-command map from the GS-2300 CLI reference, and the open get_config question (TFTP-only export). docs/fixtures.md lists the output to record from a real device. Refs NetOrk/netork#1094
27 lines
1.3 KiB
Markdown
27 lines
1.3 KiB
Markdown
# LCOS (routers, gateways)
|
|
|
|
Not started. No test device.
|
|
|
|
## What is known
|
|
|
|
- LCOS is the OS of LANCOM's routers and VPN gateways (e.g. the 17xx series) and of older
|
|
access points. It is likely the LANCOM OS most often met in German SMB networks.
|
|
- Access over SSH (also Telnet) to a CLI that navigates one tree (commands such as `ls`,
|
|
`cd`, `set`; exact set to be confirmed against the reference manual). The tree has a
|
|
**Setup** branch (configuration) and a **Status** branch (runtime state).
|
|
- The **LCOS Menu Reference** documents every node of that tree, per LCOS version. That is
|
|
enough to find the paths for each getter, e.g. the status tables for interfaces, ARP,
|
|
DHCP leases, VPN peers and firewall sessions. It does not show the column layout of
|
|
`ls` output, which needs recorded output.
|
|
- `readscript` prints the configuration as a script of `set` commands, which fits
|
|
`get_config`. Oxidized uses `sysinfo` and `readscript`.
|
|
- No REST API for LCOS was found.
|
|
- Check that a used device still gets LCOS 10.x before buying. Reportedly the LCOS reset
|
|
button can be configured to be ignored (not verified), so ask the seller to confirm a
|
|
factory reset is possible.
|
|
|
|
## Role
|
|
|
|
`FirewallDriver` for the business routers (NAT/VPN, firewall rules, DHCP server, health
|
|
metrics), `ResidentialGatewayDriver` if a model is used as a plain internet gateway.
|