cli(acl): a standard access-list line pads its action to seven columns #2462
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!2462
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "rev/1121-1812"
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?
Question. On a
show access-listsline, how many columns does the action occupy?Verdict. A standard ACE uses a seven-column action field:
permit/deny. Extended lines are not padded (deny ip). The console used one space for both, so a standard list put every deny one column left of its permits.Evidence. A Cisco Press certification chapter prints a standard list and an extended list on the same page (
10 deny 192.168.11.0, wildcard bits 0.0.0.255 log (5 matches)vs10 deny ip 192.168.10.0 0.0.0.255 host 209.165.200.225 (4 matches)), and the raw ntc-templates captures show the same split. Single-space samples are HTML pages where the run collapses. Six sources, and the one fixture line that disagrees, are inresearch/show-access-lists-action-column.md.Change.
displayBody()pads the action to 7 columns; extended lines untouched. Newtest/show-access-lists-action-column.test.js(15 checks); three existing suites widened.Gates.
node scripts/syntax-check.jsOK (544 files);npm test464 suites, 15649 assertions, 0 failed.