EtherChannel and Port Security Practice: Will It Form?

Read both ends of a link and predict the Layer 2 result: does the EtherChannel form, what does port security do with the frame, and does DTP make a trunk. Tap an answer to check it; a wrong one names the slip.

LACP modes: active, passive. PAgP modes: desirable, auto (Cisco's own protocol; CCNA 200-301 names LACP only). on uses no protocol. Both ends' ports match in speed, duplex and VLANs.

SW1 config is what was typed on the port. The list shows each secure MAC in its VLAN, how it was learned and its port, then the source MAC of the next frame in.

Both switches are Cisco Catalyst switches in the same VTP domain, so DTP can negotiate. Access or trunk is the result on each end.

Answer to see the rule.

Practise the exams

EtherChannel and port security questions show up in CCNA and ENCOR. Start with the free real exam questions, then get the full pack.

CCNA 200-3011,395 real exam questions · US$39
Free: 349 questionsGet the full pack
CCNP ENCOR 350-4011,066 real exam questions · US$39
Free: 266 questionsGet the full pack

Layer 2 FAQ

Which EtherChannel mode pairs form a channel?

With LACP, active forms with active or passive, but two passive ends do not, because neither starts the negotiation. With PAgP, desirable forms with desirable or auto, but two auto ends do not. on forms only with on. A PAgP mode never forms with an LACP mode, because PAgP and LACP channel groups cannot interoperate.

Why does on not form with active or desirable?

on forces the ports into the channel without negotiation, and ports in on mode do not exchange PAgP or LACP packets. Cisco states that a usable EtherChannel exists only when both ends of the link are in on mode, so on facing active, passive, desirable or auto gives no channel.

Is PAgP on the CCNA exam?

The CCNA 200-301 exam topics name LACP only: v2.0 topic 2.1.c is "Layer 2/Layer 3 LACP port-channel/EtherChannel" and v1.1 topic 2.4 is "Configure and verify (Layer 2/Layer 3) EtherChannel (LACP)". PAgP is Cisco's own protocol and is still supported on Catalyst switches, so the drill includes it as extra practice.

What is the difference between protect, restrict and shutdown?

All three drop the frame from the MAC that caused the violation. protect drops it silently: no notification and no counter. restrict also sends an SNMP trap, logs a syslog message and increments the violation counter, and the port stays up. shutdown error-disables the port at once and the port LED turns off. shutdown is the default.

What are the port security defaults?

Port security is disabled on a port. Once it is enabled, the maximum is one secure MAC address, the violation mode is shutdown and sticky learning is off. Port security cannot be enabled on a port in the default dynamic auto mode, so set switchport mode access or trunk first.

Do sticky and static MAC addresses count toward the maximum?

Yes. Static, dynamic and sticky addresses are all secure MAC addresses. Below the maximum, new addresses are learned dynamically, or as sticky addresses in the running config when sticky learning is on. Save the configuration to keep sticky addresses after a restart.

Is it a violation when a secure MAC moves to another port?

Yes. An address learned or configured on one secure interface and then seen on another secure interface in the same VLAN is a violation, even if the second port is below its maximum.

Does shutdown mode log a syslog message?

The command reference and the configuration steps say that in shutdown mode an SNMP trap is sent, a syslog message is logged and the violation counter increments. The summary table in the same Port Security chapter lists only the counter and the port shutting down for that mode. The drill follows the command reference; the answer to pick, err-disabled, is the same either way.

How do I bring an err-disabled port back?

Enter errdisable recovery cause psecure-violation in global configuration mode, or enter shutdown and then no shutdown on the interface.

Which DTP mode pairs make a trunk?

dynamic desirable trunks with a trunk, desirable or auto neighbor. dynamic auto trunks only with a trunk or desirable neighbor, so two auto ends stay access, and dynamic auto is the default mode. trunk always trunks and access never does, so trunk facing access leaves one end trunking and the other not. switchport nonegotiate stops DTP frames, so the neighbor must be set to trunk by hand. DTP only negotiates between switches in the same VTP domain.

Which exam topics does this cover?

CCNA 200-301 v2.0 topics 2.1.b (Layer 2 802.1Q trunk interfaces), 2.1.c (LACP port-channel/EtherChannel) and 4.7.e (port security); v1.1 topics 2.2 (trunk ports), 2.4 (EtherChannel, LACP) and 5.7 (Layer 2 security features, including port security). ENCOR 350-401 v1.2 topics 3.1.a (static and dynamic 802.1q trunking protocols) and 3.1.b (static and dynamic EtherChannels).

Sources

Checked 20 November 2026 against Cisco's Catalyst 9300 IOS XE 17.18 configuration guides and command reference.

More free tools

All free tools