show ip arp / interface / access-lists / vrrp refuse the spelling IOS taught, and show ip itself refuses #1447
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
jaylouisw/packetforge#1447
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?
Thirty years of IOS put
show ip arp,show ip interface,show ip access-listsandshow ip vrrpin operators' fingers. Every one of them is refused here, on a console that has each view under another name — andshow ipalone orshow ip ?is refused too, so there is no way to learn from the console whatshow ipcan be followed by.What should be true
show ip arp <address>gives the useful refusal that says the whole cache is listed;show ip interface briefis a view of its own and keeps its own door — the obvious way to write the alias (mapinterfacetointerfaceswherever it appears) swallows it intoshow interfaces brief, which is not a view at all, so the alias is keyed on arity;show ipandshow ip ?list whatshow ipcan be followed by;show ip route <prefix>,show ip ospf neighbor,show ip nat translations,show ip dhcp binding,show ip bgp summary— is untouched.show interfaces briefhas the same problem from the other side and joins the view-keyword table (% \brief` is a view, not a port: … `show ip interface brief` is the one-line-per-port view`).Evidence:
test/show-ip-spellings.test.js, 70 checks. Revertingengine/cli.jsfails 20; removing the arity guard fails 2. Neighbours green:show-argument-refusal77,show-interfaces-port38,show-interfaces-view-keywords71,help-completeness3,show-arp28,show-access-lists23,show-vrrp-election27,state-payload-complete16.