Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Community Member

Native VLAN on Interface vs. Subinterface for dot1Q trunking

A while back, I tried configuring a 2620 (IOS 12.1(13)) FastEthernet Interface 0/0 with the native VLAN 1 on F0/0.1 and another VLAN 16 on F0/0.16 using dot1Q encapsulation. The configuration took, but then I couldn't ping from hosts on the VLAN1. So I moved VLAN 1 to F0/0 (the interface itself rather than the subinterface), where it was implicit, and everything worked fine. Here is the configuration that worked:

interface FastEthernet0/0

ip address 172.16.45.1 255.255.255.0

ip helper-address 172.16.31.24

duplex auto

speed auto

!

interface FastEthernet0/0.16

encapsulation dot1Q 16

ip address 172.16.145.17 255.255.255.248

!

Here is my question. I am now configuring a 7206VXR with IOS 12.2(2)T. Does anyone know if the native VLAN needs to be on the Interface itself for the 7206 rather than the subinterface? Does anyone know why it was required on the 2620?

Thanks.

1 REPLY
Community Member

Re: Native VLAN on Interface vs. Subinterface for dot1Q trunking

I use the native vlan on my subinterface on a cisco 2621. The command I am using is "encapsulation dot1q 1 native"

I also use it on my 7513 with the difference being isl instead of dot1q

"encapsulation isl 1"

Pradeep

533
Views
0
Helpful
1
Replies
CreatePlease to create content