howtonetwork.net

Cisco Certification Training

  • Products
  • CCNA
    • CCNA Videos
    • CCNA Lectures
    • CCNA Practice Exams
    • Challenge Labs
      • Challenge Video Solutions
    • Cisco Commands
  • CCNP ROUTE
    • ROUTE Exams
  • CCNP SWITCH
    • SWITCH Exams
  • CCNP TSHOOT
  • Home
  • Join
  • Downloads
  • About Us
  • Whitepapers
  • Feature Articles
  • Helpdesk
  • FAQ
  • Free Training
You are here: Home / switchport trunk encapsulation dot1q

switchport trunk encapsulation dot1q

Command

Switchport Trunk Encapsulation dot1q

Use

Enables dot1q trunking encapsulation on the interface.

Syntax

Switch(config-if)#switchport trunk encapsulation dot1q

Example

First, here is the trunking information for SW3. Note fa0/19, which is set to ISL.

SW3(config-if)#do show int trunkPort Mode Encapsulation Status Native vlan
Fa0/19 auto isl 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 1-4094
Fa0/20 1-4094
Fa0/21 1-4094
Fa0/22 1-4094

Port Vlans allowed and active in management domain
Fa0/19 1,10-20,55,99,555
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
Fa0/22 none
SW3(config-if)#

Next, dot1q trunking is enabled on fa0/2 on SW3.

SW3(config)#int fa0/2
SW3(config-if)#switchport trunk encapsulation dot1q

Here is the trunking information after making the changes.

SW3(config-if)#do show int trunkPort 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 1-4094
Fa0/20 1-4094
Fa0/21 1-4094
Fa0/22 1-4094

Port Vlans allowed and active in management domain
Fa0/19 1,10-20,55,99,555
Fa0/20
03:12:24: %LINEPROTO-5-UPDOWN: Line1,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
protocol on Interface FastEthernet0/19, changed state to up

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

Get access to over 5 hours of IT webinar videos as well as regular study tips and ideas when you
join our mailing list

About This Site

We replaced this site some time ago with an upgraded version. Please feel free to enjoy the content and if you like what you see check out our brilliant new site:

howtonetwork.com

Keep In Touch

About Us

This is a free access website which has now been replaced by howtonetwork.com.

Navigation

  • Home
  • Join
  • Downloads
  • About Us
  • Whitepapers
  • Feature Articles
  • Helpdesk
  • FAQ
  • Free Training

Copyright

All content is protected by international copyright laws. Copyright Reality Press Ltd.

Copyright © 2023 · Dynamik Website Builder on Genesis Framework · WordPress · Log in