show ip arp / interface / access-lists / vrrp refuse the spelling IOS taught, and show ip itself refuses #1447

Closed
opened 2026-11-12 00:47:50 +00:00 by jaylouisw · 0 comments
Owner

Thirty years of IOS put show ip arp, show ip interface, show ip access-lists and show ip vrrp in operators' fingers. Every one of them is refused here, on a console that has each view under another name — and show ip alone or show ip ? is refused too, so there is no way to learn from the console what show ip can be followed by.

s1> show ip arp
% Invalid show command: ip arp
s1> show arp                                        <- the view was here the whole time
Protocol  Address          Age (min)  Hardware Addr     Interface
Internet  10.7.0.2         -          02:00:00:00:02:00 eth0

s1> show ip
% Invalid show command: ip

What should be true

  1. a spelling whose view exists under another name reaches that view, printing exactly what it prints — an alias, not a second implementation, so the two cannot drift apart;
  2. an argument is carried through, so show ip arp <address> gives the useful refusal that says the whole cache is listed;
  3. show ip interface brief is a view of its own and keeps its own door — the obvious way to write the alias (map interface to interfaces wherever it appears) swallows it into show interfaces brief, which is not a view at all, so the alias is keyed on arity;
  4. a spelling with no equivalent names the commands that do answer the question, and every command it names must run;
  5. show ip and show ip ? list what show ip can be followed by;
  6. every longer form — show ip route <prefix>, show ip ospf neighbor, show ip nat translations, show ip dhcp binding, show ip bgp summary — is untouched.

show interfaces brief has 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. Reverting engine/cli.js fails 20; removing the arity guard fails 2. Neighbours green: show-argument-refusal 77, show-interfaces-port 38, show-interfaces-view-keywords 71, help-completeness 3, show-arp 28, show-access-lists 23, show-vrrp-election 27, state-payload-complete 16.

Thirty years of IOS put `show ip arp`, `show ip interface`, `show ip access-lists` and `show ip vrrp` in operators' fingers. Every one of them is refused here, on a console that has each view under another name — and `show ip` alone or `show ip ?` is refused too, so there is no way to learn from the console what `show ip` can be followed by. ``` s1> show ip arp % Invalid show command: ip arp s1> show arp <- the view was here the whole time Protocol Address Age (min) Hardware Addr Interface Internet 10.7.0.2 - 02:00:00:00:02:00 eth0 s1> show ip % Invalid show command: ip ``` ### What should be true 1. a spelling whose view exists under another name reaches that view, printing **exactly** what it prints — an alias, not a second implementation, so the two cannot drift apart; 2. an argument is carried through, so `show ip arp <address>` gives the useful refusal that says the whole cache is listed; 3. `show ip interface brief` is a view of its own and keeps its own door — the obvious way to write the alias (map `interface` to `interfaces` wherever it appears) swallows it into `show interfaces brief`, which is not a view at all, so the alias is keyed on arity; 4. a spelling with no equivalent names the commands that **do** answer the question, and every command it names must run; 5. `show ip` and `show ip ?` list what `show ip` can be followed by; 6. every longer form — `show ip route <prefix>`, `show ip ospf neighbor`, `show ip nat translations`, `show ip dhcp binding`, `show ip bgp summary` — is untouched. `show interfaces brief` has 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. Reverting `engine/cli.js` fails 20; removing the arity guard fails 2. Neighbours green: `show-argument-refusal` 77, `show-interfaces-port` 38, `show-interfaces-view-keywords` 71, `help-completeness` 3, `show-arp` 28, `show-access-lists` 23, `show-vrrp-election` 27, `state-payload-complete` 16.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
jaylouisw/packetforge#1447
No description provided.