website pop up marketing switchport trunk allowed vlan
Cisco CCNA | CCNP Certification Training Site. Cisco tips and tools for exam success. logo video

switchport trunk allowed vlan

Printer-Friendly Format


Switchport Trunk Allowed Vlan


Restricts the VLANs that can travel between a trunk on the switch.


Switch(config-if)#switchport trunk allowed vlan <vlan #>


In this example, allowed VLAN is set for int fa0/19 on SW3.

SW3(config)#int fa0/19
SW3(config-if)#switchport trunk allowed vlan 2

Here's the trunk information for SW3 after the changes. Notice the 'Port Vlans allowed on trunk for fa0/19' section.

SW3(config-if)#do show int trunk
Port Mode Encapsulation Status Native vlan
Fa0/19 auto 802.1q trunking 1
Fa0/20 auto n-802.1q trunking 1
Fa0/21 auto n-802.1q trunking 1
Fa0/22 auto n-802.1q trunking 1

Port Vlans allowed on trunk
Fa0/19 2
Fa0/20 1-4094
Fa0/21 1-4094
Fa0/22 1-4094

Port Vlans allowed and active in management domain
Fa0/19 none
Fa0/20 1,10-20,55,99,555
Fa0/21 1,10-20,55,99,555
Fa0/22 1,10-20,55,99,555

Port Vlans in spanning tree forwarding state and not pruned
Fa0/19 none
Fa0/20 none
Fa0/21 1,10-11

Port Vlans in spanning tree forwarding state and not pruned
Fa0/22 none

Back to commands department

Printer-Friendly Format

This site and/or material is not sponsored by, endorsed by, or affiliated with Cisco Systems, Inc. and/or its affiliates. Cisco®, Cisco Systems®, CCDA™, CCNA™, CCDP™, CCNP™, CCIE™, or CCSI™ are trademarks or registered trademarks of Cisco Systems, Inc. and/or its affiliates in the United States and certain other countries.

Home | Search | Contact Us | Tell a Friend | Text Size

2006-2013 All Rights Reserved. Reproduction without permission prohibited.
Reality Press, Midsummer Court, 314 Midsummer Blvd.,Milton Keynes, MK92UB, UK

This site is powered by MemberGate Membership Site Software