console server
termKept in this browser · My desk
A device whose serial ports are cabled to the console ports of nearby network equipment and whose network port is on the management network, so that administrators can reach each console remotely.
Console servers, also called terminal servers or console concentrators, are the classic out-of-band tool: one per rack or site, each serial line wired to a router's, switch's or firewall's console, reached over SSH (older setups: reverse Telnet to TCP port 2000 plus the line number). They work when the production network is broken, which also makes them dangerous: whoever reaches the console server reaches every console behind it, including password recovery. Give them their own power, uplink and local fallback login, and never expose them by Telnet.
What it is. A console server, terminal server or console concentrator is an appliance, or a router with asynchronous serial modules, whose many serial ports connect, usually through RJ-45 rollover or octal cables, to the console ports of the devices around it. Its Ethernet port sits on a management network. An administrator connects to the console server and from there opens a session to the console of the device on a given line, exactly as if sitting in front of it with a laptop and a serial cable.
Why it exists. RFC 3871 (September 2004) makes the serial console a requirement for large operators: complete configuration and management through an interface "that functions independently from the forwarding and IP control planes", modelled on RS-232, because it keeps working when routing, interfaces, the IP stack or the operating system do not. A console that can only be reached in person is useless at three in the morning in a distant city; the console server is what makes it reachable. RFC 4778 (January 2007), surveying ISPs, describes the standard pattern: "OOB management is done via a terminal server at each location. SSH access is used to get to the terminal server from where sessions to the devices are initiated. Dial-in access is deployed as a backup", using dial-back, encrypting or one-time-password modems, with the AAA server for out-of-band access often physically separate from the in-band one.
How it is addressed. On Cisco access servers each asynchronous line has a number, and the classic access method is reverse Telnet to a TCP port derived from it: "Port numbers can be obtained by adding 2000 to the line number", so line 5 answers on 2005. A session is suspended back to the console server with Ctrl+Shift+6 then x. Current configurations, including Cisco's own example, use SSH on the access lines. RFC 4778's dial-in modems were the backup path of their day; the role is the same for any second way into the console server that does not share the site's own connection.
Settings that matter. The serial side must match the devices: almost always 9600 baud, 8 data bits, no parity, 1 stop bit, no flow control (Juniper documents 9600 baud as the Junos console default). The console server must be able to send a serial break, since breaking into the boot loader is how routers are recovered. Session logging on the console server records what happened on each console, which is often the only record of a boot failure. And the devices should log out a console session when the line drops (Junos's log-out-on-disconnect), or the next user inherits a privileged session.
What goes wrong. RFC 3871 warns that connecting consoles to terminal servers "increases the potential security exposure of mechanisms available only via RS232 ports": a password recovery mechanism reachable only on the console becomes remotely reachable, and so "strong attention should be given to policies, procedures, access mechanisms and physical security". Common failures: console servers reachable by Telnet from the office network; shared admin passwords; authentication only through a TACACS+ or RADIUS (Remote Authentication Dial-In User Service) server that is itself in-band, so the console server locks everyone out during the outage (RFC 3871 asks for an authentication mechanism "which does not require functional IP or depend on external services"); a console server powered and uplinked through the same equipment it is meant to rescue; and cables moved without updating the line map.
Current guidance. CISA and five partner agencies, in December 2024, asked operators for an out-of-band network physically separate from production, from which alone devices are managed, that "does not allow lateral management connections between devices", reached from dedicated administrative workstations, with local accounts used "only for emergencies" and passwords changed after each use.
Neighbours. The console port itself speaks UART framing over RS-232 and is wired with a rollover cable; the console server is the core of out-of-band management; a bastion host plays the same gatekeeping role for in-band administrative access.
Also known as: terminal server, console concentrator, serial console server, reverse telnet, comm server
Sources
- IETF, RFC 4778, Operational Security Current Practices in Internet Service Provider Environments, M. Kaeo, January 2007 (read 2026-11-23): console access always via an OOB network; a terminal server at each location reached by SSH; dial-in backup with dial-back or OTP modems; separate AAA for OOB
- IETF, RFC 3871, Operational Security Requirements for Large ISP IP Network Infrastructure, G. Jones (ed.), September 2004 (read 2026-11-23): RS232 console requirement; terminal servers increase exposure of console-only mechanisms such as password recovery; fallback authentication; encrypt OOB as defence in depth
- Cisco, Configure Terminal Server through Menu Options, document 200462, 21 July 2025 (read 2026-11-23 through a WebFetch summary; direct copy refused): port number = 2000 + line number; Ctrl+Shift+6 then x; transport input ssh in the example
- CISA, NSA, FBI, ASD's ACSC, CCCS and NCSC-NZ, Enhanced Visibility and Hardening Guidance for Communications Infrastructure, 4 December 2024 (read 2026-11-23): physically separate OOB network, no lateral management connections, dedicated administrative workstations, emergency-only local accounts
- Juniper Networks, Configuring Junos OS to Set Console and Auxiliary Port Properties (read 2026-11-23): 9600 baud default, insecure console, log-out-on-disconnect