cli(trunk): a trunk pruned to nothing is a state a box takes, not a refusal #2420
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!2420
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "rev/1121-1212"
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?
switchport trunk allowed vlan remove 1-4094was refused with% that would leave the trunk allowing no VLANs: name what it should carry instead …— a sentence no box prints.removesubtracts from the list the port carries, the default is 1-4094, andnoneis a documented allowed-list value meaning an empty list, so the destination is a state the device has. Two field configurations prune a trunk exactly this way before adding the VLANs it should carry.The subtraction now commits:
remove 1-4094/remove 1-1001,1006-4094store the four pinned media defaults (1002-1005), which cannot come off a trunk;remove 10,20on a list of10,20stores the empty listnonestores, and the backup printsswitchport trunk allowed vlan none;except 1-4094reaches the same pinned remainder and is committed the same way.Evidence: Tagged only Management VLAN procedure (working
remove 1-4094config), SF350-48 thread (remove 1-4094thenadd 10,11,…), Catalyst 9400 VLAN guide (syntax, default all), 9300 command reference (none= empty list), and the TAC note on the pinned 1002-1005 block.research/trunk-allowed-remove-everything.mdrecords known/inferred/unresolved, including whether a box prints1002-1005ornoneafter the full removal, and a sibling(removed )wording defect for reserved-only removals left for its own run.Tests: 452 suites, 15331 assertions, 0 failed (
npm test).