Sub topic 5
Static bundling and its risks
This chapter assumes you know what a port channel is and how frames are hashed across member links. It also assumes you can read a trunk configuration and know why spanning tree exists. LACP negotiation is covered in the next chapter.
What static bundling is
Static bundling, also called unconditional aggregation, forces ports into a port channel with no negotiation. On a Cisco IOS style switch this is channel-group 1 mode on. The switch does not ask the neighbor anything. It assumes the other end has also bundled the same ports.
interface range GigabitEthernet0/1 - 2
switchport mode trunk
channel-group 1 mode onStatic mode is simple and works with any device that supports aggregation. Nothing needs to be negotiated, so the bundle forms as soon as the links are up.
Why it is risky
A static bundle has no way to check that the far end agrees. The switch trusts the configuration and nothing else. Three problems follow.
- Mismatch goes unnoticed. If one side is static and the other side has independent ports, the bundled side treats the links as one interface. The other side treats them as separate links.
- Loops can form. The unbundled side sees the same MAC addresses arrive on several ports. It can flood frames out of one port and receive them on another. MAC addresses flap between ports, and the network can become unstable.
- Miswiring is not detected. If a cable is moved to a different switch or a different port, the bundle still forms and traffic is hashed onto that link.
Static mode also cannot detect a link that is up at the physical layer but not passing frames properly. A device that stops processing traffic, or a link with a one-way fault, can stay in the bundle. Frames hashed to that member are lost until someone removes it.
Comparing static and LACP
| Property | Static (`mode on`) | LACP (`mode active` or `passive`) |
|---|---|---|
| Negotiation with neighbor | None | LACPDUs exchanged |
| Detects configuration mismatch | No | Yes, the port stays out of the bundle |
| Detects a failed or silent member | Only by link-down | Also by missing LACPDUs |
| Interoperability | Any device with aggregation | Standards-based (IEEE 802.1AX) |
Verifying a static bundle
Run show etherchannel summary. A static bundle shows the protocol column as -, because no protocol is running. Members should carry the P flag, meaning bundled in the port channel. A show lacp neighbor command returns nothing for these ports, since no LACPDUs are exchanged.
When static is acceptable
Use static mode only when the other end cannot run LACP. Examples are some storage appliances and old devices. Check both ends against the same written plan, and test the cabling before you enable the bundle. Prefer LACP whenever both sides support it.
Exercise
Switch A has channel-group 1 mode on on two ports. Switch B has the two connected ports as ordinary trunks with no channel-group. What risk does this create, and what would remove it?
Show answer
Switch B treats the links as independent ports, so it sees the same MAC addresses on both and can flood frames back, which causes loops and MAC flapping. Using LACP on both ends removes the risk, because the bundle would not form on Switch A while Switch B sends no LACPDUs. Alternatively, configure static mode on both ends.