skip to content

On an airport's baggage-handling network, why do RADIUS and TACACS+ usually both run rather than one replacing the other?

level: seniorimportance: should knowfreq 38%

answer

  1. two problems, one box
  2. who gets on, against who may change it
  3. one decision per device, or one per command
  4. the audit obligation usually settles it
  5. both means two secrets and two estates

basics

~20 s

They answer different questions on the same switches. RADIUS admits scanners and access points with one decision per device; TACACS+ governs which command each engineer may type on the switch itself, and records every one.

solid answer

~40 s

The switches carry two unrelated AAA problems. Thousands of handheld scanners and access points need to get onto the network: one short decision per device, answered with attributes describing the session, revisited later only by a server-initiated change or disconnect. A few dozen engineers need to log in to the switches themselves, where the questions are 'may this operator run this command' and 'who changed this box at 03:00' — which needs authorization and accounting as their own per-action exchanges. The four axes all point the same way for each case: the merged, datagram, one-decision protocol fits admission, and the split, connection-oriented, per-command protocol fits device administration. So this is not a winner-takes-all comparison; the interesting question is which decision belongs in which protocol, and what running both costs you.

go deeper

for a junior

Recall that the two protocols serve two different jobs: getting a device onto the network, and controlling what a person may do on the network equipment itself. Knowing they usually coexist is the point.

for a middle

Explain which protocol properties suit which job — a merged one-shot decision for high-volume admission, separate per-action exchanges for administration — rather than ranking the two protocols against each other.

for a senior

Show that you have operated it: name what a single-protocol estate loses concretely, and price the second protocol honestly in secrets, server estates, unreachable-server behaviour and record streams to correlate.

for a principal

Drive it from the obligations. Decide what you must be able to prove about actions on devices, then choose how many control planes you are willing to fund and keep available, including the case where a plane is unreachable at three in the morning.

## Two problems on the same switches Picture the network behind an airport's baggage handling: a few hundred switches in plant rooms and along the belt lines, with handheld scanners and access points hanging off them, and a small team of network engineers who maintain them. Two completely different access questions land on the same hardware. - **Network access.** A scanner powers up and needs to be on the network. The decision is per device, taken once, at high volume, and the answer is a description of the session — which segment, which filter, how long. - **Device administration.** An engineer opens the switch's command-line interface at three in the morning to change a port. The decision is per person, low volume, long-lived, and the interesting questions are which actions are permitted and what is recorded. They share nothing but the box they happen on. ## Why the axes point different ways Each axis in the comparison is decided by the shape of the decision, not by a preference: | Axis | Admission of a device | Administration of the device | |---|---|---| | Volume and duration | very many, very short | few, long and interactive | | Number of decisions | one per device | potentially one per command | | What the answer is | attributes describing a session | permit or refuse this action | | What must be recorded | that a session happened, and its usage | what was typed, by whom, when | | Natural transport | a datagram and a retry | a connection carrying a conversation | | Protection needed on the wire | the credential | the credential and what was typed | Read down the two columns and the protocol choice writes itself, which is the real content of this comparison. ## What collapsing onto one protocol costs **Device administration on the admission protocol.** You keep central authentication — that part works — but authorization arrives once, as attributes on the accept. What happens after login is then decided by the device's own mapping of that attribute onto what it will run, with no central per-action decision; and the audit trail records that a session occurred rather than what was done inside it. For an estate whose regulator asks 'who changed this switch, and to what', that is the whole requirement missing. **Admission on the device-administration protocol.** You would be opening a connection-oriented exchange for every supplicant on the network, on a protocol with no equivalent of the network-access side's carriage of authentication methods and no server-initiated way to change a live session. The volume is wrong, the mechanisms are absent, and the thing you gain — per-action decisions — has no meaning for a scanner that makes no commands. ## What running both actually costs This is the half candidates skip, and it is the half a senior interviewer is listening for: - **Two shared secrets on every device**, and two rotation exercises, on a fleet where touching every box is a project. - **Two server estates** to keep reachable, each with its own timeouts, its own ordering of servers and its own behaviour when nothing answers. - **Two failure modes.** A reachability failure on the admission side keeps scanners off the network; one on the administration side can keep the engineers off the switches, which is why local fallback is designed before the rollout rather than after the outage. - **Two record streams** to correlate when an investigation asks what happened on a device and who was on the network at the time. - **Two policy surfaces** that drift apart, maintained by people who often are not the same people. ## What actually decides it Start from the questions you must be able to answer, not from the protocols: 1. Do humans reach a device's command line at all? If every change goes through an automated configuration pipeline, the device-administration case shrinks to that pipeline's own credential and the record of what it pushed. 2. Must you show *what* was done, or only *that* access occurred? An audit obligation about actions is the single strongest argument for the per-command protocol, and it is usually the one that settles it. 3. How many devices, and how often do they join? Volume is what makes the one-decision protocol right on the access side and would make the other one wrong there. 4. What happens when the server is unreachable? Answer it separately for each plane, because the acceptable answers differ: refusing admission to a scanner and locking every engineer out of every switch are not comparable outcomes. The honest conclusion is the one the question is fishing for: an estate runs both, deliberately, and the skill is knowing which decision belongs in which and what the second protocol costs to operate.

  • What do you give up if device administration is moved onto the admission protocol to keep one protocol in the estate?
    The per-action decision and the per-action record. Authorization arrives once as attributes on the accept, so what an operator may do after login is decided by the device's own mapping of that attribute, and the trail shows that a session happened rather than what was typed inside it.
  • What does running both protocols actually cost the team?
    Two shared secrets on every device and two rotation exercises; two server estates with their own timeouts, ordering and unreachable-server behaviour; two record streams to correlate during an investigation; and two policy surfaces that drift, usually maintained by different people.
  • Does the comparison change for an estate where no human logs in to a device?
    Substantially. If every change is pushed by an automated configuration pipeline and no operator reaches a command line, the device-administration case largely evaporates and so does the argument for a second protocol. What remains is that pipeline's own credential on each device and the record of what it pushed.

saying these in an interview costs you the question

  • Says one protocol replaced the other because it is newer
  • Claims either protocol serves both jobs with no loss
  • Treats admitting a device and administering it as one decision
  • Assumes running both costs only a second server
  • Says the choice is vendor preference rather than decision shape
  • Ignores what happens on each plane when no server answers