Four config commands are one-way doors, and no vlan reports work it did not do #1277
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
jaylouisw/packetforge#1277
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?
Four config commands can be typed, are printed by
show running-config, and cannot be taken back from theconsole.
no vlanis the mirror image: it reports success whether or not it did anything.And the other way round:
Why it matters
show running-configis the backup, andtest/config-roundtrip.test.jsalready holds it to two rules: itreplays, and it is complete. A backup you cannot edit back fails the job the other two rules exist for —
there is no way to undo a mistake in the console at all, short of rewriting the device.
no vlanis worse than missing because it lies. It also removes a VLAN that ports still carry, after whichshow running-configstops printingvlan 42whileshow vlanstill lists VLAN 42 from the member ports:two descriptions of one switch that disagree, which is the same class as #1232, #1256 and #1262.
What "done" looks like
noform above is accepted;show running-configbyte for byte to what it was before the command;no ip access-group 103 inwhile 102 is applied refuses and names 102 rather than clearing whatever wasbound;
no vlan 20refuses while ports carry it, naming them, so the config and the VLAN table cannot disagree;no hostnameputs the device's previous name back, so the canvas label and the config stay in step (#21).noform, andno vlanstops lying (#1277) #1278