research(cli): an interface description has four published maxima, so none is enforced #2041
No reviewers
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
jaylouisw/packetforge!2041
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "rev/1118-2142"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Question
How long may an interface
descriptionbe, and what does an IOS-like box do past the limit - refuse, truncate, or store it? The console stores whatever is typed (engine/cli.js:2320), prints it afterdesc:inshow interfacesand as a line inshow running-config, and had no rule either way.Verdict: unresolved, no engine behaviour changed
The published maximum for this one command is four different numbers:
descriptiondescription (interface configuration)description (interface configuration)The only behavioural witness (a Cisco Community thread, solved) is an acceptance: about 200 words pasted into a 12.2 1700 "with no issues". Refusal is therefore contradicted by the one transcript, and truncation is indistinguishable from no enforcement in it. Which figure belongs to this family is also not settled - 238 comes from a router command reference, 200 from an SD-WAN-qualified book.
So the note is the deliverable (
research/interface-description-length.md), plus a comment at the store site saying why no ceiling is invented. A 240-character refusal on this evidence would be a guess between two numbers.Contrast
research/vlan-name-length.mdwas implementable: three independent references said 1-32 and the Name column ofshow vlanis 32 dashes wide, so the field and its print were one over-determined fact. Here nothing in the output is bounded by the value - the description is a trailing free text field, not a cell - so there is no printed evidence to lean on either.Measurement of today
Generic switch, 300-character description: stored as 300 characters, echoed in full by the receipt, by
show interfacesand byshow running-config(a 314-column line). No column is pushed out of place.Tests
node scripts/syntax-check.js425 files OK;node scripts/check-control-bytes.jsclean; fullnpm test- 350 suites, 12133 assertions, 0 failed (179.6 s). The engine change is a comment only.What remains unresolved
description ?prints on a real box (the accepted answer says it states the limit; the text was never posted).engine/device.js:1583) cannot disagree.What would settle all of it: one console capture on a named image of
description <300 chars>, thenshow interfaces <port> description,show running-config interface <port>anddescription ?.