ip address: a word after the mask is refused by name, not applied as a replacement #1874
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!1874
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "rev/1117-1700"
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?
ip address 10.0.0.2 255.255.255.0 secondaryon a port holding 10.0.0.1/24 replaced the primary and answeredIP address set. A box adds a second address and leaves the primary where it was - Cisco'sip addressreference gives the syntaxip address ip-address mask [secondary]and its worked example prints the primary beside twosecondarylines; any other word is a parse error. The refusal now namessecondary(one address per port is all this model holds) and names any other word, writing nothing.ip address dhcp 5andno ip address foowere silent the same way and are refused with it.Evidence and the open questions (the caret line,
secondary vrf,no ip address <a> <m> secondary) are inresearch/ip-address-trailing-word.md.Tests: new
test/ip-address-trailing-word.test.js(30 assertions), the sweep intest/no-command-swallows-a-word.test.jsgains theip addresscase,docs/CLI.mdgains the rule, and twodocs/BGP-POLICY.mdanchors are re-aimed at_help()after the insert shifted them. Full suite: 320 suites, 11,147 assertions, 0 failed.79284f72cb78bbd3c6ef