docs: add LCOS SX 4 (GS-3152X) as first-target candidate

The GS-3152X runs LCOS SX 4.30 (end of life 2028-08). netmiko already has
a transport for it, show running-config exists (SX 3 can only export its
config to TFTP), and its Cisco-like CLI is closer to the current SX 5
switches. docs/lcos-sx4.md maps the getters to commands from the SX 4.30
CLI reference; fixtures.md gets the matching capture list.

Refs NetOrk/netork#1094
This commit is contained in:
Christian Manivong committed 2026-10-13 00:35:11 +02:00
1 parent 83fba8646d
commit 4c4805bae3
5 files changed
+131 -4

No files matched your search

+79
View File
@@ -0,0 +1,79 @@
# LCOS SX 4 (GS-3xxx)
Candidate first target alongside [LCOS SX 3](lcos-sx3.md), because SX 4 is closer to the
switches LANCOM sells today.
## Devices
From LANCOM's lifecycle tables (checked 2026-10-13):
| Model | Firmware | End of sale | End of life | Successor |
|---|---|---|---|---|
| GS-3152X | LCOS SX 4.30 | 2023-08 | 2028-08 | GS-3628X |
| GS-3152XP | LCOS SX 4.30 | 2023-03 | 2028-03 | GS-3652XP |
| GS-3152XSP | LCOS SX 4.30 | 2023-08 | 2028-08 | GS-3652XUP |
All three are past end of sale with no further major releases. The GS-3152X has 48 ×
1 GbE, 4 × SFP+ (10 GbE) and "layer 3 lite" (static routing, DHCP server). Other GS-3xxx
models and their SX versions: see the lifecycle tables.
## Why SX 4 over SX 3
- **Transport exists.** netmiko ships `lancom_lcossx4` (`LancomLCOSSX4SSH`, based on
`CiscoSSHConnection`, `logout` to exit, `copy running-config startup-config` to save).
- **Cisco-like CLI**, like SX 5. Parsers written for SX 4 have a fair chance to carry over
to the current SX 5 switches. SX 3's menu-sectioned CLI does not.
- **`show running-config` exists**, so `get_config` does not need the TFTP export that
SX 3 forces.
- **Layer 3 lite** adds ARP, routes and DHCP server leases to what a driver can read.
Trade-offs: SX 4 reaches end of life in 2028-08, two years before SX 3. A 48-port switch is
large for a desk; check fan noise and power draw before buying (not checked).
## Documentation
**LCOS SX 4.30 CLI Reference** (LANCOM, 2024-05, 250 pages; a 4.20 edition exists too).
It lists every command with syntax, parameters and 207 examples with output. Examples are
from lab devices (e.g. `MAC Address : 02-00-c1-…`, uptime from 1970-01-01), so parsers
must still be tested on recorded output.
Commands accept output modifiers `| begin|exclude|include <line>`. Ports are addressed as
`GigabitEthernet <port_type_list>` (e.g. `1/1-48`) and `10GigabitEthernet <port_type_list>`
for the SFP+ ports.
## Getter map
| Getter | Command |
|---|---|
| `get_facts` | `show version` (MAC, system name/contact/location, uptime, bootloader, active image) |
| `get_interfaces` | `show interface * status`, `show interface * description`, `show interface * capabilities` |
| `get_interfaces_counters` | `show interface * statistics` (optional `bytes`, `discards`, `errors`, `packets`, `up`/`down` filters) |
| `get_interfaces_ip` | `show ip interface brief`, `show ipv6 interface brief`, `show interface vlan` |
| `get_arp_table` | `show ip arp` |
| `get_route_to` / routes | `show ip route` |
| `get_mac_address_table` | `show mac address-table` (also `… vlan`, `… interface`, `… count`) |
| `get_lldp_neighbors`, `get_lldp_neighbors_detail` | `show lldp neighbors` |
| `get_vlans` | `show vlan`, `show interface * switchport` |
| `get_environment` | `show process load` (CPU), `show thermal-protect`, `show green-ethernet fan`, `show system cpu status` |
| `get_snmp_information` | `show snmp`, `show snmp community` |
| `get_ntp_servers`, `get_ntp_stats` | `show ntp status` |
| `get_users` | user accounts from `show running-config`; `show users` lists terminal sessions |
| `get_config` | `show running-config` (`all-defaults` for the full set); startup config to be checked |
| DHCP server (role method) | `show ip dhcp server binding`, `show ip dhcp pool` |
| PoE (role method) | `show poe`, `show poe interface` |
| Link aggregation | `show aggregation`, `show lacp` |
| Spanning tree | `show spanning-tree` |
| Logs | `show logging` |
| Transceivers | `show interface * transceiver` |
| Licenses | `show licenses` |
## Open questions
1. Numbering of the SFP+ ports on the GS-3152X (`10GigabitEthernet 1/1-4` or continuing
after the copper ports).
2. Whether `show running-config` is complete enough to restore from, or whether the startup
config differs in format.
3. How close SX 5 output is. The SX 5.20 reference is online, so this can be compared
before buying an SX 5 device.
4. Role base: `SwitchDriver`. Layer 3 lite (DHCP server, static routes) may justify more
mixins later, decided in napalm-device-types, not here.