cli(arp): the Interface column spells the name out, as the hardware does #2352
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!2352
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "rev/1121-0212"
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 question
One narrow, observable thing: does the Interface column of
show arp/show ip arpprint the interface's whole name, or the abbreviation?Every primary capture of this table spells it out -
Ethernet0/0(Cisco TAC command reference),GigabitEthernet0/0/6(IOS XE 16.7 ARP guide),GigabitEthernet0/0/2(the ASR1001-X FAQ this repo already cites),FastEthernet0/3/0/6(CRS command reference), andVlan1on switches, where an abbreviation would beVl1. Nothing on cisco.com abbreviates in this table. The engine printed the stored faceplate name (Gi0/0), so one box saidGigabitEthernet0/0inshow ip interface briefandGi0/0one command later.Evidence
research/show-arp-interface-spelling.mdcarries the captures, the one contradicting sample (a blog whose rows are retyped - it also printsAge(min)without the space), and the reason the abbreviation lives in other tables: the same vendor-collector page that printsshow ip arp→ARPA GigabitEthernet0/1printsshow mac address-table→Gi0/1.What changed
engine/cli.js: the Interface cell, the box's own local rows and a VRRP group's row printifaceName.displayName(name)- the same function the brief table uses (now in the smallifaceNamealias). The conflict paragraph after the table names the port the same way, so one output cannot spell one interface two ways. Stored names are untouched, sointerface GigabitEthernet0/0typed from a row still resolves.displayName(recorded)- still proving it is the port the engine learned the binding on - and three checks pin the literal spelling (GigabitEthernet0,GigabitEthernet0.10,GigabitEthernet9/9for a stored name that no longer resolves).docs/CLI.mdsample rows + the new Interface bullet;CHANGELOG.mdUnreleased/Fixed.Gates
node scripts/syntax-check.jsOK (510 files).npm test: 430 suites, 14369 assertions, 0 failed.Still unresolved
Whether any platform abbreviates (no cisco.com capture does; NX-OS has a different five-column table), and how a name wider than the terminal is handled - neither is witnessed.
show-arpis 36 checks, not 35 #2412