liveBook · Manning

Allowed vlan list

As explained in Acing the CCNA Exam: Volume 1 Fundamentals and Protocols

An allowed VLAN is a VLAN permitted to traverse a trunk interface.

An allowed VLAN list specifies which VLANs may traverse a trunk interface. Trunks allow all VLANs by default, but limiting the list to required VLANs reduces broadcast-domain flooding and is a practical security measure. section 12.3.2

Interpret the list in two stages:

  • A VLAN must be permitted by the trunk’s allowed list. section 12.3.2
  • The VLAN must also exist on the switch; nonexistent VLANs cannot forward traffic, even when the trunk allows all VLANs. section 12.3.2
  • Use add and remove to change the current list, all to permit every VLAN, none to permit no VLANs, and except to permit every VLAN except specified IDs. section 12.3.2

Restrict a trunk to required VLANs

On interface G0/0, configure only VLANs 10, 20, and 30: SW1(config-if)# switchport trunk allowed vlan 10,20,30 SW1(config-if)# do show interfaces trunk Gi0/0 10,20,30 The verification output confirms that only those VLANs are allowed. Broadcast and unknown-unicast frames from other VLANs are not flooded through this interface. section 12.3.2

How Acing the CCNA Exam: Volume 1 Fundamentals and Protocols covers it

How deep it goes
Explains defaults, active-VLAN constraints, command keywords, verification, and broadcast-flooding consequences.
Examples
Uses Cisco CLI examples for explicit lists, add/remove changes, all, none, except, and show interfaces trunk verification.
What it assumes
Assumes basic VLAN and trunk concepts while defining allowed lists, active VLANs, and filtering consequences.
What you can do after
Configure and verify which VLANs a trunk interface permits.
How it connects
Connects trunk interfaces with VLANs, broadcast domains, native VLANs, and EtherChannel configuration matching.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Acing the CCNA Exam: Volume 1 Fundamentals and Protocols. The section links point to the parts of the book it draws on.