Concept and mechanism
A trunk change should retain existing VLANs that remain authorized. Confirm whether an operation appends to the list or replaces it, and observe results at both ends. Untagged frames are classified according to the local native VLAN; differences between ends can connect inappropriate contexts.
In EtherChannel, static on mode does not negotiate LACP. Align method and member properties before accepting aggregation. Hash distribution also does not guarantee one flow uses the sum of all links.
With stable member selection, a session can remain limited by that member’s capacity even while other links have headroom.
Guided application
STP protections address different assumptions. Root guard protects a boundary where a path to a superior root should not appear. BPDU guard handles BPDU reception on a port where the design did not allow it.
Before recovering an errored port, identify attached equipment and topology; removing protection to clear an alarm can reintroduce the cause. In a fictional batch example, four links do not accelerate one session and no errors exist. Measure hashing and per-flow requirements before requesting replacement of supposedly faulty hardware.
On OSPF broadcast networks, two DROTHER routers can remain 2-Way while becoming Full with DR and BDR. Expected state depends on role, so the same dashboard word does not always have the same operational meaning.
Trunk: intent, state and effective VLAN
Before changing a trunk, write its contract: partner, tagged VLANs, untagged-traffic treatment and services that must remain isolated. A hypervisor without DTP needs a compatible static contract at both ends. With two Cisco dynamic-auto ends, neither initiates negotiation; desirable on one side can initiate it.
Then distinguish an allowed VLAN, an existing active VLAN and a VLAN actually forwarding. In a fictional case, VLAN 120 is listed as allowed but missing from the local database. Broadening the list to every VLAN does not create the missing condition.
Compare both ends and retain per-VLAN state before and after. Do not use an up link as evidence that an application traverses the correct context.
Lab: PVID, membership and tagging
The original experiment uses a Linux bridge with vlan_filtering=1, three namespaces and no inter-VLAN routing. client-p receives untagged frames into VLAN 10; audit-p classifies them into VLAN 20; server-p carries both tagged to subinterfaces.
PVID determines untagged ingress classification, while untagged controls tag removal at egress. Membership determines where a VLAN is admitted and forwarded. These are different decisions.
Hosts have test addresses allowing explicit probes of both contexts. Removing membership 20 only from the server trunk breaks VLAN 20 service while retaining VLAN 10. Creating eth0.20 on the client does not override ingress policy: the probe passes only when membership 20 is added to the corresponding bridge port.
Accept recovery and denial in the same experiment
In the lab, changing client-p from PVID 10 to 20 loses the usual peer and permits reaching the previously isolated audit peer. The change did not create a router: it changed frame classification. Accept rollback only after it recovers original service and denies unintended access again.
The FDB learns the same client MAC separately in VLAN 10 and VLAN 20 when both contexts are explicitly authorized. Do not interpret those two entries alone as a loop. Both final runs passed 23 checks across eight phases, with 111 recorded commands per run and container removal.
The experiment establishes bounded Linux forwarding; it does not execute DTP, Cisco STP, LACP, a business application or an SLA. For handover, retain positive and negative probes alongside their corresponding configuration.
MST: consistent identity and coordinated changes
An MST region is identified by its name, revision and complete VLAN-to-instance map. Equal names and revisions do not compensate for a different map. Revision is a configuration value rather than a mechanism for distributing the latest map.
In a maintenance exercise, FUND/revision 7 places VLAN 110 in instance 1 on one switch and instance 2 on the other. An observed boundary link is consistent with that mismatch. Compare maps before changing the root or restarting equipment.
Changing VLAN distribution can alter paths for several applications together, so the window needs dependencies and coordinated rollback. Also record which VLANs share an instance: the spanning-tree decision unit is not necessarily a separate tree for every VLAN.
Root and cost: resolve the decision in the correct order
Compare bridge-identifier components in protocol order. Within the same context, a lower configured priority can win despite a higher MAC; MAC is not universally the first decision. Then, when choosing a path toward the same root, include local cost and advertised cost.
If A advertises 20000 and its local port costs 20000, total cost is 40000; if B advertises 30000 and its local port costs 2000, total cost is 32000. B offers the lower-cost path in this example. Proceed to subsequent tie-breaks only when earlier criteria tie.
In production design, document the intended root per instance and compare the effective path with gateway placement. Do not randomly change priorities merely to eliminate a blocked port: that block may be preventing a loop.
Edge ports, rapid transition and guards
PortFast, BPDU guard and root guard address different conditions. PortFast accelerates transition on a suitable endpoint connection; it neither aggregates uplinks nor inherently supplies BPDU guard. BPDU guard can errdisable a port receiving BPDUs.
Root guard can hold a port root-inconsistent while superior information arrives and recover when that condition ceases. The operational procedure depends on the observed state. On an inter-switch uplink, rapid transition requires suitable synchronization conditions, including proposal/agreement where applicable.
Receiving 802.1D BPDUs can lead to timed transitions. Do not promise convergence solely because the local mode says RSTP. Explicitly filtering BPDUs to silence alarms can remove information needed for loop prevention; first correct topology and the port role.
EtherChannel: negotiate and retain compatible members
Two passive LACP participants can wait indefinitely for an initiator. Making one side active resolves that specific condition provided cabling and parameters are compatible. A suspended member requires comparison against bundle state: speed, duplex and trunk parameters, including native VLAN and allowed list.
In an exercise, existing members use native 110 and the new member uses native 120. Changing the hash does not correct the mismatch. A static on bundle should not be treated as negotiated LACP; both ends need to interpret the cables consistently.
If EtherChannel guard detects one bundled end and one independent end, retain protection while correcting topology. First validate cabling and configuration at both ends; then recover ports in a controlled way and rehearse member loss before accepting the bundle.
Hash, min-links and accepted capacity
The nominal sum of members does not define each flow’s capacity or guarantee even distribution. Hundreds of sessions can present the same router destination-MAC and concentrate on one member when that is the hash’s only field. Select fields that vary in actual traffic and measure before and after; do not promise perfect distribution. min-links adds an operational floor: with three members and a minimum of two, losing two can make the port-channel inactive although one cable remains healthy.
That behavior can be preferable to retaining a path that no longer supports critical load. Project acceptance should include distribution, surviving capacity, priority services and recovery. This lesson’s Cisco examples are documentary exercises; the Linux VLAN lab does not establish execution of these aggregation mechanisms.
Exercise files
Exercise package ccnp-infrastructure-contracts, version 2026-10. Extract into a new directory and follow README.en.md. The commands’ content/labs paths are available from the extracted directory. Python 3 and Docker. Includes the recipe content/labs/ccnp-gre/Dockerfile. After building the image below, inspect its Id and change only IMAGE in content/labs/ccnp-infrastructure-contracts/run.py to that Id. The author’s historical local Id is not a downloadable reference. Verify the package before this intentional edit; record the new program hash and image in new evidence. The container has external networking disabled and NET_ADMIN, NET_RAW and SYS_ADMIN for internal namespaces; host interfaces are not modified.
Download ccnp-infrastructure-contracts (ZIP)
SHA-256 (ZIP)
0efdd41f1069195a5f4364b47d02bb7919063c152eed851cea1a4a9919d070e0
# Isolated Linux lab, not Cisco configuration:
# run.py creates and removes its own Docker topology.
python3 content/labs/ccnp-infrastructure-contracts/run.py /tmp/vlan-evidence.json
# Observe each phase: bridge -j vlan show; bridge -j fdb show br br0
# Acceptance: allowed service passes, unintended access fails, rollback restores both.A session stays on one healthy EtherChannel member; that does not prove bundle failure.
Common pitfalls
Link up as valid aggregation; guard as false positive; aggregate bandwidth as session throughput; 2-Way as universal fault.
Related topics: Architecture and surviving capacity · Virtualization, VRFs, and overlays · Routing and IP services
Compare observed state with expected role and mechanism.
References
- EtherChannels · IOS XE 17.18.x Catalyst 9300
- Configuring VLAN Trunks · Catalyst 9300 IOS XE 17.18.x; chapter updated 2025-07-31
- Ethernet Bridging · Living upstream documentation inspected 2026-10-08; executed kernel and iproute2 versions recorded in lab evidence
- Configuring Multiple Spanning-Tree Protocol · Catalyst 9300 IOS XE 17.18.x
- Configuring Optional Spanning-Tree Features · Catalyst 9300 IOS XE 17.18.x