The inspector header says "28 ports · 28 up" on a switch with nothing plugged in #1299
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
jaylouisw/packetforge#1299
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
The inspector's interface header counts
enabledand calls the result up.On a switch with nothing plugged in:
Three surfaces, two answers — and the wrong one is the summary: the single line people read. It also counts as
"up":
down (peer shut down)) — the top cause of "the link is up but nothingpasses", because the local end is enabled and the panel says so;
down (link down));28 ports · 27 upon adevice with one shut port and nothing plugged in tells you neither that 27 are dead nor that one is
administratively down.
Measured before the fix, on a PoE switch (
CX 6000), panel vsshow ip interface brief:The rule already exists and every other surface uses it:
PFFaceplate.portState()/portVerdict()(#1238).The header was the one place that re-derived the answer.
What it must say instead
portVerdict()the rows, the faceplate, the tooltip and the status bar use;cannot disagree;
down (no cable),down (peer shut down),down (link down),administratively down), not a second vocabulary;web/faceplate.jsfailed to load) the header mustsay
unknown (no state rule loaded)— not fall back toenabled, which is the guess that caused this.show ip route(#1301) #1302